diff options
author | Balázs Kéri <balazs.keri@ericsson.com> | 2024-06-21 12:51:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-21 12:51:43 +0200 |
commit | 0290a0e64f0d235e0e6b38283f9a389c7ab977dc (patch) | |
tree | cda7f11daf2ff8f31312673d6027808b87b4de4f /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 0ae6cfc5990b0b739166bd7db370125ca66494c2 (diff) | |
download | llvm-0290a0e64f0d235e0e6b38283f9a389c7ab977dc.zip llvm-0290a0e64f0d235e0e6b38283f9a389c7ab977dc.tar.gz llvm-0290a0e64f0d235e0e6b38283f9a389c7ab977dc.tar.bz2 |
[clang][ASTImporter] Fix possible crash "given incorrect InsertPos for specialization". (#89887)
In some situations a new `VarTemplateSpecializationDecl` (for the same
template) can be added during import of another one. The "insert
position" that is used to insert the current object into the list of
specializations is stored at start of the import and is used later. If
the list changes before the insertion the position is not valid any
more.
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions