Nagios 1.2 coredump issue

Ethan Galstad nagios at nagios.org
Wed Feb 18 04:35:23 CET 2004


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: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click




More information about the Developers mailing list