mirror of https://git.musl-libc.org/git/musl
Browse Source
CHUNK_SIZE macro was defined incorrectly and shaving off at least one significant bit in the size of mmapped chunks, resulting in the test for oldlen==newlen always failing and incurring a syscall. fortunately i don't think this issue caused any other observable behavior; the definition worked correctly for all non-mmapped chunks where its correctness matters more, since their lengths are always multiples of the alignment.rs-1.0
1 changed files with 2 additions and 4 deletions
Loading…
Reference in new issue