diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-04-04 17:26:41 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-04-04 17:26:41 -0400 |
commit | b761bd19aa1ae0f95dd2146397b7f39b44a471b6 (patch) | |
tree | f12ebb65db40559baa4472c55ef83ddbbcf33349 /src/stdio/fileno.c | |
parent | 98c5583ad5d633166e28034c0a3544ad48b532b6 (diff) | |
download | musl-b761bd19aa1ae0f95dd2146397b7f39b44a471b6.tar.gz |
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).
Diffstat (limited to 'src/stdio/fileno.c')
0 files changed, 0 insertions, 0 deletions