diff options
author | Christopher Ferris <cferris@google.com> | 2020-04-01 16:59:57 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2020-04-02 05:48:05 +0000 |
commit | f322483b3f8a6e05db5c3fc7974601032a03ba0a (patch) | |
tree | 5b0d9d54a23c6b257493341d676b1b97d37c7ad4 /libc/kernel/tools/cpp.py | |
parent | df3dc8039d350c17b88e1a91a5ff443f4cb890cc (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
Diffstat (limited to 'libc/kernel/tools/cpp.py')
0 files changed, 0 insertions, 0 deletions