Bug in xodtemplate.c

Andreas Schoder andi at schoder.priv.at
Fri Jun 24 11:59:49 CEST 2005


Hi,

I've found a Bug in the latest nagios release 23.12.2005. In
xodtemplate_register_servicegroup()  (/xdata/xodtemplate.c).  There is no check
if  this_servicegroup->members is NULL. This causes strtok to return nonsense.

A patch for the problem is attached.

kind regards
Andreas Schoder

-- 
"Handle so, dass die Maxime deines Willens jederzeit zugleich als Prinzip einer
allgemeinen Gesetzgebung gelten koennte." - Immanuel Kant, dt. Philosoph

/                                                                              \
       email: andi at schoder.priv.at        web: www.schoder.priv.at
\                                                                              /

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios.patch
Type: text/x-patch
Size: 652 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20050624/a32e30a5/attachment.bin>


More information about the Developers mailing list