delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/14/07:45:18

From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Q: How to check validity of a pointer?
Date: 14 Jan 1998 12:19:00 GMT
Organization: The National Capital FreeNet
Lines: 12
Message-ID: <69iafk$a2d@freenet-news.carleton.ca>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980114132256 DOT 8730P-100000 AT is>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet2.carleton.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp



There is one situation where realloc and friends could either crash, or
return a bogus non-NULL pointer; and that is a corrupt arena resulting
from an earlier bad pointer write.

--
    .*.  Friendship, companionship, love, and having fun are the reasons for
 -()  <  life. All else; sex, money, fame, etc.; are just to get/express these.
    `*'  Send any and all mail with attachments to the hotmail address please.
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca pgd73 AT hotmail DOT com

- Raw text -


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