NdoUtils 1.4b8 : LONG_OUTPUT bug

erwan renier erwan.renier at laposte.net
Mon Oct 19 21:58:02 CEST 2009


Hi,

ndo2db child die with Nagios 3x :

in dbhandlers.c :
	null pointer exception on asprintf()

es[x] is null in :
	ndo2db_handle_hostcheckdata()
	ndo2db_handle_servicecheckdata()

( where es[x] is the LONG_OUTPUT char* )


The problem comes from ndomod.c, I join a diff file for the corrections.

NB :The corrections after line 2760 are not related , there is just
another bad copy/paste there, which have no effect.

Greetings.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndomod.c.diff
Type: text/x-patch
Size: 1088 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20091019/a48a1d3a/attachment.bin>
-------------- next part --------------
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list