commit | b761bd19aa1ae0f95dd2146397b7f39b44a471b6 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Mon Apr 04 17:26:41 2011 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Mon Apr 04 17:26:41 2011 -0400 |
tree | f12ebb65db40559baa4472c55ef83ddbbcf33349 | |
parent | 98c5583ad5d633166e28034c0a3544ad48b532b6 [diff] |
fix rare but nasty under-allocation bug in malloc with large requests 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).