summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorjofrn <jofernau@amd.com>2024-04-30 22:57:24 -0400
committerGitHub <noreply@github.com>2024-04-30 22:57:24 -0400
commitef1dbcd60f81dafd777355ffd675e1bb73358d77 (patch)
tree5334cd8c1dd9279fdd25a785323220e370deeb8d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent63a29693011048b472205022319c6769b244a5ba (diff)
[Windows] Restrict searchpath of dbghelp.dll to System32 (#90520)
LoadLibraryW will lookup dlls in user directories if its search path is left unrestricted. This is a security vulnerability as one can name a shared library the same as that of a system dll in order to run arbitrary code when the shared library is loaded from the path in a user directory. This change modifies it to only search within sys32 when loading dbghelp.dll.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions