[PATCH] strsep does not handle 1 byte strings correctly

William Preston nagios-devel at spidalinx.co.uk
Thu Oct 30 10:57:11 CET 2008


Hi list,

I've noticed a problem if a subgroup has a member list with trailing  
comma.
This means a string with only the separation character will be mis- 
parsed by
my_strsep.

It occasionally causes errors on reload like:
Contact '<random string>' in contact group '...' is not defined anywhere

Applies to CVS HEAD.


thanks,

William

-------------- next part --------------
A non-text attachment was scrubbed...
Name: strsep_patch.diff
Type: application/octet-stream
Size: 497 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20081030/67f0f6be/attachment.obj>
-------------- next part --------------


-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- 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