diff options
author | Adrian Prantl <aprantl@apple.com> | 2019-04-08 21:58:36 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2019-04-08 21:58:36 +0000 |
commit | 1a0c0ffa9db515b9129b1086cdcf308ff342a519 (patch) | |
tree | d526f3b8b0cd981d1314080118257061bcc53343 /lldb/packages/Python/lldbsuite/test/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py | |
parent | 941f247d30c447903107aa614ea46fb1e4019698 (diff) | |
download | bcm5719-llvm-1a0c0ffa9db515b9129b1086cdcf308ff342a519.tar.gz bcm5719-llvm-1a0c0ffa9db515b9129b1086cdcf308ff342a519.zip |
Fix a stack buffer overflow found by ASAN.
llvm::StringRef host_and_port is not guaranteed to be null-terminated.
Generally, it is not safe at all to convert a StringRef into a char *
by calling data() on it.
<rdar://problem/49698580>
llvm-svn: 357948
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py')
0 files changed, 0 insertions, 0 deletions