From owner-freebsd-bugs@FreeBSD.ORG Tue May 27 01:14:44 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C46C037B404; Tue, 27 May 2003 01:14:44 -0700 (PDT) Received: from road.demos.su (road.demos.su [194.87.2.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5602643F93; Tue, 27 May 2003 01:14:43 -0700 (PDT) (envelope-from gvs@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by road.demos.su (8.12.8/8.12.8) with ESMTP id h4R8Kbwx033926; Tue, 27 May 2003 12:20:37 +0400 (MSD) (envelope-from gvs@rinet.ru) Date: Tue, 27 May 2003 12:20:37 +0400 (MSD) From: Seva Gluschenko X-X-Sender: gvs@road.demos.su To: Dag-Erling Smorgrav In-Reply-To: <200305262053.h4QKr3GB026031@freefall.freebsd.org> Message-ID: <20030527121942.W33922@road.demos.su> References: <200305262053.h4QKr3GB026031@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/52691: str[n][case]cmp may cause segmentation violationwith NULL pointers passed X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 08:14:45 -0000 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