summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2018-01-09 01:09:12 +0000
committerErich Keane <erich.keane@intel.com>2018-01-09 01:09:12 +0000
commitbc40c5c68ff662fbdf8feffce9f17047053b0ebf (patch)
treed4cab640340d601f5e3d1c802305398d2d10b683 /lldb/packages/Python/lldbsuite
parent7e10987b1249ab2c6bb70f66a65b4e61d29ff2a0 (diff)
downloadbcm5719-llvm-bc40c5c68ff662fbdf8feffce9f17047053b0ebf.tar.gz
bcm5719-llvm-bc40c5c68ff662fbdf8feffce9f17047053b0ebf.zip
Fix use-after-free found by address-san on -r322028.
r322028 attempted to remove something from the "Manglings" list when it was no longer valid, and did so with 'erase'. However, StringRefs to these were stored, so these became dangling references. This patch changes to using 'remove' instead of 'erase' to keep the strings valid. llvm-svn: 322052
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud