From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Viro To: 9fans@cse.psu.edu Subject: Re: [9fans] libc/strcmp bug? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Sat, 10 Aug 2002 00:46:35 -0400 Topicbox-Message-UUID: d9f04ef0-eaca-11e9-9e20-41e7f4b1d025 On Fri, 9 Aug 2002, Skip Tavakkolian wrote: > I believe there is a bug in /sys/src/libc/port/strcmp.c, because it > does not check for null pointers getting passed in before > dereferencing them. Not a libc bug. Making sure that arguments of strcmp() are non-NULL is responsibility of caller.