projects
/
musl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from:
2ad9cf5
)
fix invalid read in aligned_alloc
author
Rich Felker
<dalias@aerifal.cx>
Fri, 7 Dec 2012 02:12:28 +0000
(21:12 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 7 Dec 2012 02:12:28 +0000
(21:12 -0500)
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.
No differences found