[PATCH] strsep does not handle 1 byte strings correctly

Ethan Galstad nagios at nagios.org
Sun Nov 2 19:35:35 CET 2008


William Preston wrote:
> 
> 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

Thanks!



- Ethan Galstad

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




More information about the Developers mailing list