bin/52691: str[n][case]cmp may cause segmentation violationwith NULL pointers passed

Seva Gluschenko gvs at rinet.ru
Tue May 27 01:14:45 PDT 2003


Message of Dag-Erling Smorgrav at May 26 13:53 ...

DS> Synopsis: str[n][case]cmp may cause segmentation violation with NULL pointers passed
DS>
DS> State-Changed-From-To: open->closed
DS> State-Changed-By: des
DS> State-Changed-When: Mon May 26 13:53:02 PDT 2003
DS> State-Changed-Why:
DS> The bug is in the application that passes NULL to strcmp.

Well, sir, can you please quote me some ISO C89 or another standard
which allows str*cmp not to care about NULL pointers?

DS> http://www.freebsd.org/cgi/query-pr.cgi?pr=52691

SY, Seva Gluschenko, just stranger on The Road.
Demos-Internet NOC	| GVS-RIPE | GVS3-RIPN


More information about the freebsd-bugs mailing list