diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-12-06 21:12:28 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-12-06 21:12:28 -0500 |
commit | 2ad9cf52eb9fea12a19bcf893828e1361a0b6546 (patch) | |
tree | ce8ba924d60ba567fb8db75b8bd17ab4c89cfeb1 /src/thread/powerpc/__set_thread_area.s | |
parent | 5c5e45e58bd0da2d74aea3e6631b240fedd707ef (diff) | |
download | musl-2ad9cf52eb9fea12a19bcf893828e1361a0b6546.tar.gz |
fix invalid read in aligned_alloc
in case of mmap-obtained chunks, end points past the end of the
mapping and reading it may fault. since the value is not needed until
after the conditional, move the access to prevent invalid reads.
Diffstat (limited to 'src/thread/powerpc/__set_thread_area.s')
0 files changed, 0 insertions, 0 deletions