[Nagiosplug-devel] check_dns coredump on solaris

Ton Voon tonvoon at mac.com
Thu Feb 19 19:54:11 CET 2004


Jason,

Thanks for the patch. I can't seem to get a coredump on the 1.4 
release. Can you try? (There look like problems with some of the usage2 
calls - I plan on fixing those soon)

Ton

On 5 Feb, 2004, at 00:56, Jason Martin wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Check_dns has a bug in that it coredumps if called w/invalid 
> arguments. It
> appears to be a result of a printf that assumes a 'optarg' will be
> provided, even when invalid arguments are passed. Attached is a unified
> diff that prevents the printf of a null pointer.
>
> check_dns (nagios-plugins 1.3.1) 1.8.2.3
> on
> SunOS comanche 5.9 Generic sun4u sparc SUNW,Ultra-60
> SunOS snaketales 5.8 Generic_108528-27 sun4u sparc SUNW,Ultra-60
> SunOS htvsim01 5.6 Generic_105181-16 sun4m sparc SUNW,SPARCstation-10
>
> Thanks,
> - -Jason Martin
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.3.3 (GNU/Linux)
> Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/
>
> iD8DBQFAIZTUl2ODWuqVSBMRAp0gAJ9aZeSb/hhgiEbPFS+Op95kGkKlsgCgl7Ld
> Pxm2fLxCC4czmrHm8cwWdXA=
> =nMLR
> -----END PGP SIGNATURE-----<check_dns-patch>





More information about the Devel mailing list