delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/08/23:23:04

From: "DeHackEd" <notgiven AT out DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <19981007065343 DOT 24344 DOT qmail AT hotmail DOT com>
Subject: Re: Linear address 0 makes my day ;)
Lines: 18
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Message-ID: <ZidT1.1256$p46.9537096@tundra.ops.attcanada.net>
Date: Fri, 09 Oct 1998 01:04:57 GMT
NNTP-Posting-Host: 142.194.222.145
NNTP-Posting-Date: Fri, 09 Oct 1998 01:04:57 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

We would try to solve this bug, but I don't think Microsoft has released the
source for Windows anywhere (imagine if they did!). Windows is the one with the
bug, because using address 0 is SUPPOSE to be an error. Suppose malloc fails? It
is supposed to return 0. Why would you think using this is good. Using it causes
a crash so you know something is wrong.

CWSDPMI crashes your program because that's all it can really do. Using address
0 is a problem, so what it is it suppoes to do? Pop up a dialog box saying
Abort, Retry, Fail? (joke).
--
"DeHackEd"

My Email address in the header is fake (spammers). Email me at this address:

http://www.geocities.com/cgi-bin/homestead/mail.pl?dehacked



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019