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

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

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

Post by Guest »

Thanks - this was a nastly little bugger. Patch is in CVS.


On 25 Oct 2002 at 19:28, Volker.Aust@premiere.de 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
> Nagios-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/lis ... gios-devel
>



Ethan Galstad,
Nagios Developer
---
Email: nagios@nagios.org
Website: http://www.nagios.org






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: nagios@nagios.org
Locked