[all-commits] [llvm/llvm-project] 966fac: [clang][Tooling] Fix potential UB in ExpandRespons...
Sam McCall via All-commits
all-commits at lists.llvm.org
Mon Dec 9 03:24:39 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 966fac1941ea99e076a7654d229b27e1e6e4ad17
https://github.com/llvm/llvm-project/commit/966fac1941ea99e076a7654d229b27e1e6e4ad17
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2019-12-09 (Mon, 09 Dec 2019)
Changed paths:
M clang/lib/Tooling/ExpandResponseFilesCompilationDatabase.cpp
Log Message:
-----------
[clang][Tooling] Fix potential UB in ExpandResponseFilesCompilationDatabase
Summary:
`vector::assign` will cause UB at here.
fixes: https://github.com/clangd/clangd/issues/223
Reviewers: kadircet, sammccall, hokein
Reviewed By: sammccall
Subscribers: merge_guards_bot, ilya-biryukov, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71172
More information about the All-commits
mailing list