Bug in xodtemplate.c

Ethan Galstad nagios at nagios.org
Fri Jun 24 22:53:50 CEST 2005


Thanks!  A patch will be in CVS shortly.

On 24 Jun 2005 at 11:59, Andreas Schoder wrote:

> 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 \  
>                                 /
> 
> 



Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click




More information about the Developers mailing list