diff options
| author | Pavel Labath <pavel@labath.sk> | 2019-03-21 10:21:55 +0000 | 
|---|---|---|
| committer | Pavel Labath <pavel@labath.sk> | 2019-03-21 10:21:55 +0000 | 
| commit | 045b8544fd2c4e14f7e72e0df2bc681d823b0838 (patch) | |
| tree | ba4382bfbeb68c2a72ac25d28eb80baa17068243 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
| parent | 0a9541e9ed3fa44fcd36dbbb3fce4deb147d5688 (diff) | |
| download | llvm-045b8544fd2c4e14f7e72e0df2bc681d823b0838.zip llvm-045b8544fd2c4e14f7e72e0df2bc681d823b0838.tar.gz llvm-045b8544fd2c4e14f7e72e0df2bc681d823b0838.tar.bz2 | |
Fix two more issues with r356652
The first problem was a use-after-free in the tests (detected by asan
bots). The temporary array created for the "create" call is guaranteed
to live only until the end of the statement. The fix there is to store
the test data in a local variable to ensure it has the right lifetime
The second issue is broken BUILD_SHARED_LIBS build, which I fix by
adding the appropriate BinaryFormat dependency to the Object unit tests.
llvm-svn: 356655
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions
