aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorAugusto Noronha <anoronha@apple.com>2025-10-08 15:35:24 -0700
committerGitHub <noreply@github.com>2025-10-08 15:35:24 -0700
commit397181d5c191cf2f7ba3b4408383da6e5a149052 (patch)
treeb7764eb692e0ae6f9acbda95ad9eb23bd092cf4e /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent4e6ee0b674cb84422d78e0cf0416754660f38972 (diff)
downloadllvm-397181d5c191cf2f7ba3b4408383da6e5a149052.zip
llvm-397181d5c191cf2f7ba3b4408383da6e5a149052.tar.gz
llvm-397181d5c191cf2f7ba3b4408383da6e5a149052.tar.bz2
[lldb] Fix use after free on ModuleList::RemoveSharedModuleIfOrphaned (#155331)
This fixes a potential use after free where ModuleList::RemoveSharedModuleIfOrphaned -> SharedModuleList::RemoveIfOrphaned -> SharedModuleList::RemoveFromMap would potentially dereference a freed pointer. This fixes it by not calling ModuleList::RemoveSharedModuleIfOrphaned at all if the pointer was just freed.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions