diff options
author | Reid Kleckner <rnk@google.com> | 2015-11-20 19:08:30 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2015-11-20 19:08:30 +0000 |
commit | 19ff5602da953d81ac79e7c2dc712464b2c4b6b0 (patch) | |
tree | df3246809ced363aa69612b716c3c9aedfd56a81 /lldb/packages/Python/lldbsuite/test/functionalities/asan/TestReportData.py | |
parent | 0502e98c8a8deafd69e9558675439b357dcb9aaa (diff) | |
download | bcm5719-llvm-19ff5602da953d81ac79e7c2dc712464b2c4b6b0.tar.gz bcm5719-llvm-19ff5602da953d81ac79e7c2dc712464b2c4b6b0.zip |
Thread Safety Analysis: Fix DenseMap iterator invalidation UAF
Rather than storing BeforeInfo in the DenseMap by value, this stores a
unique_ptr to it, so that we can keep a pointer to it live across
subsequent DenseMap insertions.
This change also removes the unique_ptr wrapper around BeforeVect
because now we're indirecting at a higher level.
llvm-svn: 253694
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/asan/TestReportData.py')
0 files changed, 0 insertions, 0 deletions