Mail Archives: djgpp/1998/09/14/22:02:34
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: strcmp and nulls, one more time, Sam
|
Date: | Mon, 14 Sep 1998 18:01:32 +0300
|
Organization: | NetVision LTD.
|
Lines: | 9
|
Message-ID: | <Pine.SUN.3.91.980914180057.29227F-100000@is>
|
References: | <35F9EDC2 DOT 248CBBFF AT montana DOT com>
|
NNTP-Posting-Host: | is.elta.co.il
|
Mime-Version: | 1.0
|
In-Reply-To: | <35F9EDC2.248CBBFF@montana.com>
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
On Fri, 11 Sep 1998, bowman wrote:
> 1. strcmp against a null will fail, causing a segfault under cwsdpmi,
> perhaps not if using the Win95 dpmi.
IMHO, it's a bug in that package. It shouldn't assume that a library
implementation handles NULL pointers gracefully. (Windows 95 just
ignores null pointer dereferences, as we all know.)
- Raw text -