summaryrefslogtreecommitdiff
path: root/src/string/wcscmp.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-04 17:26:41 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-04 17:26:41 -0400
commitb761bd19aa1ae0f95dd2146397b7f39b44a471b6 (patch)
treef12ebb65db40559baa4472c55ef83ddbbcf33349 /src/string/wcscmp.c
parent98c5583ad5d633166e28034c0a3544ad48b532b6 (diff)
downloadmusl-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/string/wcscmp.c')
0 files changed, 0 insertions, 0 deletions