www.delorie.com/djgpp/bugs/show.cgi   search  
Bug 000344

When Created: 10/05/2001 15:17:32
Against DJGPP version: 2.03
By whom: felix_shmidel@hotmail.com
Abstract: realloc places garbage in some location of non-related memory block.
At the end of the realloc function there is call to the free function, the free function calls to the merge function with the parameter "a" (BEFORE(block)) and it happened that "a" points to valid address in non-related memory block. So when the merge function placed some value in a->size, it caused bug.

Solution added: 10/05/2001 17:09:09
By whom: felix_shmidel@hotmail.com
Actually it is not a bug of DJGPP, but rather my bug, because I overwrite
some memory location that play important role for memory allocation method.
So I withdraw this bug.

Fixed in version on 10/08/2001 09:26:39
By whom: felix_shmidel@hotmail.com



  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2010   by DJ Delorie     Updated Jul 2010