summaryrefslogtreecommitdiff
path: root/mozglue
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-01-14 20:02:32 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-08 15:02:20 +0200
commit9fd02b65e17654e08d5e30c4336b32924991b825 (patch)
tree923f127d5d5ed1bddccb5c246ae5b4c0bbe3736e /mozglue
parente6a9d13e646260f7c895779dc79a9196aa333a18 (diff)
downloaduxp-9fd02b65e17654e08d5e30c4336b32924991b825.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.
Diffstat (limited to 'mozglue')
-rw-r--r--mozglue/build/moz.build8
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']: