diff options
| author | Steven Wu <stevenwu@apple.com> | 2017-02-20 18:33:40 +0000 |
|---|---|---|
| committer | Steven Wu <stevenwu@apple.com> | 2017-02-20 18:33:40 +0000 |
| commit | abfea288671bdad695d80f8e055ae6cc4d3b093c (patch) | |
| tree | dd6f6a59484d56be69ba1af82f6b0599517cbf0c /llvm/lib/Transforms/Utils/CloneModule.cpp | |
| parent | 51c0128310776a21dc5650d84f2a2f9a9ea62675 (diff) | |
| download | bcm5719-llvm-abfea288671bdad695d80f8e055ae6cc4d3b093c.tar.gz bcm5719-llvm-abfea288671bdad695d80f8e055ae6cc4d3b093c.zip | |
Fix use-after-free found by ASAN
DenseMap::lookup returns copy of the value in the map. Returning the
address of the temporary return value will cause use-after-free.
llvm-svn: 295675
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions

