aboutsummaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorpyung.lee <pyung.lee@lge.com>2020-10-06 16:20:16 +0900
committerElliott Hughes <enh@google.com>2020-10-06 21:32:07 +0000
commit46dcc0785c61a79db9c19bc22b3b15073e885c60 (patch)
treec7b8df32ecbe993d59277b95ba0c73d71f088e92 /libc/malloc_debug/malloc_debug.cpp
parentc9608ab2e25c389f59582acad85d1bcc7d188fe7 (diff)
Fix possible issue with cfi_basic test.
It's possible for malloc to return a pointer that is not going to crash with __cfi_slowpath. It's possible to modify the cfi code to avoid this problem, but I'm not convinced that this will be any better at catching problems. So I'm just modifying the test so that it will eventually allocate a pointer that does not overlap. This previous version of the test failed on jemalloc svelte config, but there is nothing that would not result in a failure on scudo leading to a failure every once in a while. Bug: 142556796 Bug: 140079007 Test: cts -m CtsBionicTestCases Change-Id: Ibf12a286c411e0bdc9f81589f2f66fd0ccd7f07a (cherrypick of f322483b3f8a6e05db5c3fc7974601032a03ba0a)
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions