delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/24/05:10:29

Date: Thu, 24 Jun 1999 12:07:43 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Dr. =?iso-8859-1?Q?Andr=E1s=20S=F3lyom?=" <solyom AT eik DOT bme DOT hu>
cc: djgpp AT delorie DOT com, Anders David Skarin <hobbit AT swipnet DOT se>
Subject: Re: My 3d-Engine acts as if on drugs
In-Reply-To: <3771E1D8.5BC596F@eik.bme.hu>
Message-ID: <Pine.SUN.3.91.990624120552.25071K-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 24 Jun 1999, Dr. =?iso-8859-1?Q?Andr=E1s=20S=F3lyom?= wrote:

> Most probably. But: Can it be caused by some compiler problems? I have a code
> that is working when compiled with DJGPP V2.1 and fails with GPFs when
> compiled with V2.2.

The version of malloc that comes with v2.02 is much less tolerant to code 
that overwrites the end of allocated buffers or frees an already free'd 
buffer, because it doesn't put slack space there.  A telltale sign of this 
is a GPF inside malloc or free.

- Raw text -


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