The Samba-Bugzilla – Bug 2565
Last modified: 2005-08-24 10:22:38 UTC
When running the test suite the t_strstr binary segfaults. Looking at the source
it appears to printf the string returned from strstr_m, even though this value
could be NULL (looking at the strstr_m source code it returns NULL in lots of
It appears as though other things in the test suite expect it to return (null)
in this case, so I'll attach a patch which does exactly that.
Created attachment 1133 [details]
Check for NULL return from strstr_m
Checked in - thanks!
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.