blob: 270aa60a4876048f201e6c22bb8d5dd8085ad4c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- core/com/lowagie/text/pdf/PdfReader.java.orig 2012-01-27 11:27:08.000000000 +0100
+++ core/com/lowagie/text/pdf/PdfReader.java 2012-01-27 11:27:41.000000000 +0100
@@ -1464,7 +1464,7 @@
}
}
thisStream *= 2;
- if (thisStream < xref.length)
+ if (thisStream < xref.length && xref[thisStream] == 0 && xref[thisStream + 1] == 0)
xref[thisStream] = -1;
if (prev == -1)
|