diff options
author | Moonchild <moonchild@palemoon.org> | 2022-01-14 20:02:32 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-03 01:06:03 +0200 |
commit | 41d154cc2081d0eab94f891f6675f55b0ebdf7b2 (patch) | |
tree | b790052412104765b51df4bcbd07edcacfe46c59 | |
parent | fd271dc3541cf7aed5f15ce6c58aaa0c627183f1 (diff) | |
download | uxp-41d154cc2081d0eab94f891f6675f55b0ebdf7b2.tar.gz |
[win system] Update the list of delayed-loaded dlls
Primarily for those who custom-install and somehow mess up directory permissions
exposing themselves to dll injection attacks.
-rw-r--r-- | mozglue/build/moz.build | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mozglue/build/moz.build b/mozglue/build/moz.build index de7feb76a7..9197eda1bc 100644 --- a/mozglue/build/moz.build +++ b/mozglue/build/moz.build @@ -18,7 +18,13 @@ if CONFIG['MOZ_ASAN']: if CONFIG['OS_TARGET'] == 'WINNT': DEFFILE = 'mozglue.def' # We'll break the DLL blocklist if we immediately load user32.dll - DELAYLOAD_DLLS += ['user32.dll'] + # For the same reason, we delayload these other DLLs to avoid eager + # dependencies on user32.dll. + DELAYLOAD_DLLS += [ + 'dbghelp.dll', + 'user32.dll', + 'version.dll', + ] if not CONFIG['JS_STANDALONE']: |