diff options
author | Mitch Phillips <mitchp@google.com> | 2019-11-14 16:02:09 -0800 |
---|---|---|
committer | Mitch Phillips <mitchp@google.com> | 2019-11-14 16:02:09 -0800 |
commit | 1d2aadc0363979410f3b0644a98065d729d0f286 (patch) | |
tree | e19e2b248ebc8a8a3537881b7fb1747c9ca20d57 /libc/malloc_debug/tests/malloc_debug_system_tests.cpp | |
parent | 6dc945babd33f67bef7ed545e737b05b5a087d2a (diff) |
Init fork handler after __libc_init_malloc.
pthread_atfork may call malloc() during its once-init. This causes
problems with allocators (GWP-ASan) that require explicit initialisation
before calls to malloc().
Bug: 135634846
Test: atest bionic
Change-Id: I1810a00465db99d5aa34fa6f74dea5908a628d3a
Diffstat (limited to 'libc/malloc_debug/tests/malloc_debug_system_tests.cpp')
0 files changed, 0 insertions, 0 deletions