summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2020-04-01 16:59:57 -0700
committerChristopher Ferris <cferris@google.com>2020-04-20 16:50:48 -0700
commita3b70fac95aa79d91ec21282fb6e7ff53286e2c4 (patch)
tree2ae0b0d7c33c828a1e6cffaafc3975bfe739c3d0 /libc/malloc_debug/malloc_debug.cpp
parentede1fd19e27331d145fdae71ce8ef22b21e47681 (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: Ran bionic unit tests with jemalloc and scudo. Change-Id: Iff45bd950d2eb33ff56dc700a2d739b5b578e090 Merged-In: Iff45bd950d2eb33ff56dc700a2d739b5b578e090 (cherry picked from commit f322483b3f8a6e05db5c3fc7974601032a03ba0a)
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions