[all-commits] [llvm/llvm-project] cc40da: [WindowsDriver] Improve VSInstallPath check for I...
Dimitry Andric via All-commits
all-commits at lists.llvm.org
Thu Dec 15 12:32:25 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cc40dacbd0b736522d0254fb5525cde22bd5f166
https://github.com/llvm/llvm-project/commit/cc40dacbd0b736522d0254fb5525cde22bd5f166
Author: Dimitry Andric <dimitry at andric.com>
Date: 2022-12-15 (Thu, 15 Dec 2022)
Changed paths:
M llvm/lib/WindowsDriver/MSVCPaths.cpp
Log Message:
-----------
[WindowsDriver] Improve VSInstallPath check for IDE subdirectory
This avoids potential memory allocation failures, if VSInstallPath is
not empty, but also does not contain the string "\Common7\IDE".
Fixes: https://github.com/llvm/llvm-project/issues/59434
Reviewed By: mstorsjo
Differential Revision: https://reviews.llvm.org/D140019
More information about the All-commits
mailing list