diff options
| author | Elliott Hughes <enh@google.com> | 2014-01-27 16:28:31 -0800 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2014-01-27 16:36:56 -0800 |
| commit | 431166d99519f6794f10c48694913d2fe864b841 (patch) | |
| tree | 7c148908e51c210646a28f890da96897e6000138 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp | |
| parent | 652dd5196df87bdeef7bff452f1a4857a96e3133 (diff) | |
Fix 32-bit mmap/mmap64 handling of negative offsets.
We don't actually need to worry about sign extension if we reject
negative values ourselves. Previously it was possible to come up
with negative but aligned values that we would pass to the kernel;
in the case of mmap (as opposed to mmap64) we'd incorrectly turn
those into large positive offsets.
Change-Id: I2aa583e0f892d59bb77429aea8730b72db32dcb0
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions
