From dc522a114d24ad7c550c072d4f29f50a62260b77 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sat, 22 Oct 2016 10:16:56 +0200 Subject: upload poppler 0.48.0 Change-Id: I18c49505f71ab609e5cc0e4db759152c3c1d5825 --- external/poppler/UnpackedTarball_poppler.mk | 1 - external/poppler/poppler-0.46.0-unused-private-field.patch.1 | 11 ----------- external/poppler/ubsan.patch.0 | 11 ----------- 3 files changed, 23 deletions(-) delete mode 100644 external/poppler/poppler-0.46.0-unused-private-field.patch.1 (limited to 'external/poppler') diff --git a/external/poppler/UnpackedTarball_poppler.mk b/external/poppler/UnpackedTarball_poppler.mk index 4de2242a56dc..a0b6595ca0c6 100644 --- a/external/poppler/UnpackedTarball_poppler.mk +++ b/external/poppler/UnpackedTarball_poppler.mk @@ -17,7 +17,6 @@ $(eval $(call gb_UnpackedTarball_add_patches,poppler,\ external/poppler/poppler-mac-fake.patch.1 \ external/poppler/poppler-vs2013.patch.1 \ external/poppler/poppler-0.46.0-std-max.patch.1 \ - external/poppler/poppler-0.46.0-unused-private-field.patch.1 \ external/poppler/ubsan.patch.0 \ )) diff --git a/external/poppler/poppler-0.46.0-unused-private-field.patch.1 b/external/poppler/poppler-0.46.0-unused-private-field.patch.1 deleted file mode 100644 index e0765fc92251..000000000000 --- a/external/poppler/poppler-0.46.0-unused-private-field.patch.1 +++ /dev/null @@ -1,11 +0,0 @@ ---- a/goo/GooString.h -+++ b/goo/GooString.h -@@ -175,7 +175,7 @@ - // You can tweak the final object size for different time/space tradeoffs. - // In libc malloc(), rounding is 16 so it's best to choose a value that - // is a multiple of 16. -- class MemoryLayout { -+ struct MemoryLayout { - char c[sizeof(char*)]; - int i; - char* s; diff --git a/external/poppler/ubsan.patch.0 b/external/poppler/ubsan.patch.0 index a27f00f790d2..575cb47dc682 100644 --- a/external/poppler/ubsan.patch.0 +++ b/external/poppler/ubsan.patch.0 @@ -1,14 +1,3 @@ ---- goo/GooString.cc -+++ goo/GooString.cc -@@ -161,7 +161,7 @@ - // assert(s != s1) the roundedSize condition ensures this - if (newLength < length) { - memcpy(s1, s, newLength); -- } else { -+ } else if (length != 0) { - memcpy(s1, s, length); - } - if (s != sStatic) --- poppler/Form.cc +++ poppler/Form.cc @@ -463,12 +463,11 @@ -- cgit v1.2.3