Clangd was storing reference to a possibly-dead string in compiled
config. This patch fixes the issue by copying suppression strings from
fragments into compiled Config.
Details
Details
- Reviewers
sammccall - Commits
- rG7f5abb637332: [clangd] Fix a use-after-free
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/clangd/ConfigCompile.cpp | ||
---|---|---|
385–386 | While were here, worth while to move Normalized into the lambda. |
While were here, worth while to move Normalized into the lambda.