summaryrefslogtreecommitdiff
path: root/xpdf
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2011-01-25 09:58:16 +0100
committerVladimir Glazunov <vg@openoffice.org>2011-01-25 09:58:16 +0100
commitb0a1b6457d6cbc4130f34fd6254457acbe56d6c9 (patch)
treec842de7d1b7c07a27d146df48c9f7b4223224a85 /xpdf
parentf1c483c9e1c464ae7f848fa85903390e00a0dba9 (diff)
parent715e22beeac1d0a02b99f50d38081ae56b8b22c0 (diff)
#i10000# #i10000# changes from OOO330 m20
Diffstat (limited to 'xpdf')
-rw-r--r--xpdf/xpdf-3.02.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/xpdf/xpdf-3.02.patch b/xpdf/xpdf-3.02.patch
index 341ad73132a2..9477f7a31d4a 100644
--- a/xpdf/xpdf-3.02.patch
+++ b/xpdf/xpdf-3.02.patch
@@ -1870,3 +1870,32 @@
}
objStr->getObject(e->gen, num, obj);
break;
+--- misc/xpdf-3.02/fofi/FoFiType1.cc 2007-02-27 23:05:51.000000000 +0100
++++ misc/build/xpdf-3.02/fofi/FoFiType1.cc 2011-01-04 13:41:06.871136746 +0100
+@@ -224,7 +224,7 @@
+ code = code * 8 + (*p2 - '0');
+ }
+ }
+- if (code < 256) {
++ if (code < 256 && code >= 0) {
+ for (p = p2; *p == ' ' || *p == '\t'; ++p) ;
+ if (*p == '/') {
+ ++p;
+--- misc/xpdf-3.02/xpdf/Gfx.cc 2007-02-27 23:05:52.000000000 +0100
++++ misc/build/xpdf-3.02/xpdf/Gfx.cc 2011-01-04 13:41:19.847501431 +0100
+@@ -441,6 +441,7 @@
+ void *abortCheckCbkDataA) {
+ int i;
+
++ parser = NULL;
+ xref = xrefA;
+ subPage = gFalse;
+ printCommands = globalParams->getPrintCommands();
+@@ -483,6 +484,7 @@
+ void *abortCheckCbkDataA) {
+ int i;
+
++ parser = NULL;
+ xref = xrefA;
+ subPage = gTrue;
+ printCommands = globalParams->getPrintCommands();