Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2003 12:20:37 +0400 (MSD)
From:      Seva Gluschenko <gvs@rinet.ru>
To:        Dag-Erling Smorgrav <des@FreeBSD.org>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/52691: str[n][case]cmp may cause segmentation violationwith NULL pointers passed
Message-ID:  <20030527121942.W33922@road.demos.su>
In-Reply-To: <200305262053.h4QKr3GB026031@freefall.freebsd.org>
References:  <200305262053.h4QKr3GB026031@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030527121942.W33922>