diff options
| author | jofrn <jofernau@amd.com> | 2024-04-30 22:57:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-30 22:57:24 -0400 |
| commit | ef1dbcd60f81dafd777355ffd675e1bb73358d77 (patch) | |
| tree | 5334cd8c1dd9279fdd25a785323220e370deeb8d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 63a29693011048b472205022319c6769b244a5ba (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
