summaryrefslogtreecommitdiff
path: root/external/poppler
diff options
context:
space:
mode:
Diffstat (limited to 'external/poppler')
-rw-r--r--external/poppler/UnpackedTarball_poppler.mk1
-rw-r--r--external/poppler/ubsan.patch.010
2 files changed, 11 insertions, 0 deletions
diff --git a/external/poppler/UnpackedTarball_poppler.mk b/external/poppler/UnpackedTarball_poppler.mk
index 3f9c9f857357..b79c1019c45c 100644
--- a/external/poppler/UnpackedTarball_poppler.mk
+++ b/external/poppler/UnpackedTarball_poppler.mk
@@ -18,6 +18,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,poppler,\
external/poppler/poppler-nochecknew.patch.1 \
external/poppler/poppler-vs2013.patch.1 \
external/poppler/poppler-0.26.4-std-max.patch.1 \
+ external/poppler/ubsan.patch.0 \
))
# vim: set noet sw=4 ts=4:
diff --git a/external/poppler/ubsan.patch.0 b/external/poppler/ubsan.patch.0
new file mode 100644
index 000000000000..2db8c5a78028
--- /dev/null
+++ b/external/poppler/ubsan.patch.0
@@ -0,0 +1,10 @@
+--- poppler/XRef.cc
++++ poppler/XRef.cc
+@@ -293,6 +293,7 @@
+ xRefStream = gFalse;
+ scannedSpecialFlags = gFalse;
+ encrypted = gFalse;
++ encAlgorithm = cryptRC4;
+ permFlags = defPermFlags;
+ ownerPasswordOk = gFalse;
+ rootNum = -1;