[all-commits] [llvm/llvm-project] 60e19f: [clangd] Fix use-after-free in HeaderIncluderCache
kadir çetinkaya via All-commits
all-commits at lists.llvm.org
Wed Oct 20 07:36:52 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 60e19f6752b7f19b022d8bdca0937c59b49811f9
https://github.com/llvm/llvm-project/commit/60e19f6752b7f19b022d8bdca0937c59b49811f9
Author: Kadir Cetinkaya <kadircet at google.com>
Date: 2021-10-20 (Wed, 20 Oct 2021)
Changed paths:
M clang-tools-extra/clangd/TUScheduler.cpp
M clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
Log Message:
-----------
[clangd] Fix use-after-free in HeaderIncluderCache
Includer cache could get into a bad state when a main file went bad and
added back afterwards. This patch adds a check to invalidate to prevent
that.
Differential Revision: https://reviews.llvm.org/D112130
More information about the All-commits
mailing list