Page 1 of 1

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

Posted: Fri Oct 25, 2002 9:28 am
by Guest
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 post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]