realloc(): try to protect a block in the path of a growing object syslinux-3.62-pre13
authorH. Peter Anvin <hpa@zytor.com>
Fri, 22 Feb 2008 02:17:49 +0000 (18:17 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 22 Feb 2008 02:17:49 +0000 (18:17 -0800)
commit2b20b079f22f236eed97b920672f57821c5974ba
tree87842fb5e268aed2118e925c09fef07001bcd371
parentce6265e0c4577aa7871e337cec549b0d844706ce
realloc(): try to protect a block in the path of a growing object

When we realloc() a block larger, try to protect the free block
following it from being immediately allocated by something else by
placing it at the end of the freelist instead of the beginning.
com32/lib/realloc.c