[Bug libc/5743] realloc() problem
drepper at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Mar 5 00:29:00 GMT 2008
------- Additional Comments From drepper at redhat dot com 2008-03-05 00:28 -------
The code is correct. oldsize is determined from chunksize and that value
contains the number of bytes needed for the leading two pointers which are not
touched. Your patch creates memory overflows.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sourceware.org/bugzilla/show_bug.cgi?id=5743
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Glibc-bugs
mailing list