[gs-cvs] rev 8652 - trunk/gs/lib
alexcher at ghostscript.com
alexcher at ghostscript.com
Sat Apr 19 21:51:21 PDT 2008
Author: alexcher
Date: 2008-04-19 21:51:21 -0700 (Sat, 19 Apr 2008)
New Revision: 8652
Modified:
trunk/gs/lib/pdf_base.ps
Log:
Skip bogus endobj operators inside the object stream.
Bug 689795, customer 870.
RIFFERENCES:
None
Modified: trunk/gs/lib/pdf_base.ps
===================================================================
--- trunk/gs/lib/pdf_base.ps 2008-04-19 18:26:31 UTC (rev 8651)
+++ trunk/gs/lib/pdf_base.ps 2008-04-20 04:51:21 UTC (rev 8652)
@@ -550,6 +550,10 @@
/resolveobjstreamopdict mark
valueopdict { } forall
(%%EOF) cvn { exit } bind
+ /endobj { % bug 689795
+ ( **** Warning: Objects in an object stream should not have 'endobj'.\n)
+ pdfformaterror
+ } bind
.dicttomark readonly def
% Note: This version of this function is not currently being used.
More information about the gs-cvs
mailing list