[all-commits] [llvm/llvm-project] f30fe1: scudo: Call setCurrentTSD(nullptr) when bringing d...
pcc via All-commits
all-commits at lists.llvm.org
Wed Nov 27 09:55:20 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f30fe16d4902617a33dac1ebca066a7cb7e0f2ec
https://github.com/llvm/llvm-project/commit/f30fe16d4902617a33dac1ebca066a7cb7e0f2ec
Author: Peter Collingbourne <peter at pcc.me.uk>
Date: 2019-11-27 (Wed, 27 Nov 2019)
Changed paths:
M compiler-rt/lib/scudo/standalone/tsd_shared.h
Log Message:
-----------
scudo: Call setCurrentTSD(nullptr) when bringing down the TSD registry in tests.
Otherwise, we will hit a use-after-free when testing multiple instances of
the same allocator on the same thread. This only recently became a problem
with D70552 which caused us to run both ScudoCombinedTest.BasicCombined and
ScudoCombinedTest.ReleaseToOS on the unit tests' main thread.
Differential Revision: https://reviews.llvm.org/D70760
More information about the All-commits
mailing list