This is an archive of the discontinued LLVM Phabricator instance.

scudo: Update TLS_SLOT_SANITIZER value.
ClosedPublic

Authored by pcc on Oct 18 2019, 12:28 PM.

Details

Summary

Android now allocates only 8 fixed TLS slots. Somehow we were getting away
with using a non-existent slot until now, but in some cases the TLS slots
were being placed at the end of a page, which led to a segfault at startup.

Diff Detail

Event Timeline

pcc created this revision.Oct 18 2019, 12:28 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 18 2019, 12:29 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
This revision is now accepted and ready to land.Oct 18 2019, 12:41 PM
This revision was automatically updated to reflect the committed changes.