fix rare but nasty under-allocation bug in malloc with large requests
authorRich Felker <dalias@aerifal.cx>
Mon, 4 Apr 2011 21:26:41 +0000 (17:26 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 4 Apr 2011 21:26:41 +0000 (17:26 -0400)
the bug appeared only with requests roughly 2*sizeof(size_t) to
4*sizeof(size_t) bytes smaller than a multiple of the page size, and
only for requests large enough to be serviced by mmap instead of the
normal heap. it was only ever observed on 64-bit machines but
presumably could also affect 32-bit (albeit with a smaller window of
opportunity).


No differences found