Page 1 of 1

Re: [Nagios-devel] possible bug in common/objects.c (1.0b6 and CVS)

Posted: Fri Oct 25, 2002 4:48 pm
by Guest
Thanks - this was a nastly little bugger. Patch is in CVS.


On 25 Oct 2002 at 19:28, [email protected] wrote:

> There is a possible bug in common/objects.c. At the beginning of the
> function 'is_escalated_contact_for_host' is a for-loop of all
> hostescalations. At the beginng of the for-loop I miss a check, if the
> hostescalation belongs to the host 'hst' or not:
>
> /* see if the escalation belongs to 'hst' */
> if(temp_hostescalation->host_name "is not equal" hst)
> continue;
>
> One consequence of this missing check is, that every contact, which is
> member of a contactgroup used in any hostescalation, can see all hosts and
> all services in the web-interface (this is driving me crazy for 3 days).
>
> -vol
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Influence the future
> of Java(TM) technology. Join the Java Community
> Process(SM) (JCP(SM)) program now.
> http://ads.sourceforge.net/cgi-bin/redi ... sunm0004en
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>



Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]