summaryrefslogtreecommitdiff
path: root/tests/stdlib_test.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2021-03-05 13:31:41 -0800
committerPeter Collingbourne <pcc@google.com>2021-03-05 14:29:17 -0800
commit2659d7b6c221402b9fc58709fdab4d0790c47b4f (patch)
tree35a268ac00847c20d5f109a10f75a44703dfe695 /tests/stdlib_test.cpp
parent15ade069b10f7f5291e48c01db2da4852dae04b7 (diff)
Add some slack at the end of large allocations when target SDK level < S.
This works around buggy applications that read a few bytes past the end of their allocation, which would otherwise cause a segfault with the concurrent Scudo change that aligns large allocations to the right. Because the implementation of android_set_application_target_sdk_version() lives in the linker, we need to introduce a hook so that libc is notified when the target SDK version changes. Bug: 181344545 Change-Id: Id4be6645b94fad3f64ae48afd16c0154f1de448f
Diffstat (limited to 'tests/stdlib_test.cpp')
0 files changed, 0 insertions, 0 deletions