[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

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

Post 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: olker.Aust@premiere.d
Locked