kern/78256: strstr could be more robust

Dan Allen danallen46 at airwired.net
Wed Mar 9 16:23:14 GMT 2005


On Mar 9, 2005, at 7:18 AM, Gleb Smirnoff wrote:

> Synopsis: strstr could be more robust
>
> State-Changed-From-To: open->closed
> State-Changed-By: glebius
> State-Changed-When: Wed Mar 9 14:18:01 GMT 2005
> State-Changed-Why:
> Not a bug, sorry. See also bin/52691.
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=78256

Why are you so reluctant to add one test to improve robustness?  Since 
it is not specified one way or the other in the standard, it will not 
break compatibility with the standard.  So it is not a bug technically 
- you still could with a single line of C code improve the robustness 
of the system.  Not doing so seems shortsighted.

Dan



More information about the freebsd-bugs mailing list