Page 1 of 1

Re: [Nagios-devel] Nagios 1.2 coredump issue

Posted: Wed Feb 18, 2004 7:42 pm
by Guest
Thanks - will be in CVS shortly.

On 18 Feb 2004 at 12:01, Jason Martin wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Nagios 1.2 will coredump if it receives a cfg_dir option for a
> directory does not exist. This occurs because it does not
> return(ERROR) when the opendir returns NULL; instead continuing to
> attempt to readdir from that pointer.
>
> I've attached a patch that fixes this. It is already fixed in 2.0
> cvs.
>
> Thanks,
> - -Jason Martin
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.3.3 (GNU/Linux)
> Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/
>
> iD8DBQFAM8Srl2ODWuqVSBMRAhRGAKCGjqzfnTg/4G2m0fEq3SWyu/4WKwCfeePs
> fc5hkF8T+9C67V3mdJO5q3k=
> =TAIW
> -----END PGP SIGNATURE-----



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]