[all-commits] [llvm/llvm-project] 0290a0: [clang][ASTImporter] Fix possible crash "given inc...
Balázs Kéri via All-commits
all-commits at lists.llvm.org
Fri Jun 21 03:52:04 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0290a0e64f0d235e0e6b38283f9a389c7ab977dc
https://github.com/llvm/llvm-project/commit/0290a0e64f0d235e0e6b38283f9a389c7ab977dc
Author: Balázs Kéri <balazs.keri at ericsson.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/lib/AST/ASTImporter.cpp
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list