[gs-cvs] gs/lib
Ray Johnston
ray at casper.ghostscript.com
Tue Mar 5 23:54:25 PST 2002
Update of /cvs/ghostscript/gs/lib
In directory casper:/tmp/cvs-serv15003/lib
Modified Files:
pdf_base.ps
Log Message:
Fix: Another place where Adobe Acrobat Reader tolerates badly formed PDF
files -- in this case streams with incorrect Length. Issue pdfformaterror
and continue. Buggy file from Artifex customer #671.
Index: pdf_base.ps
===================================================================
RCS file: /cvs/ghostscript/gs/lib/pdf_base.ps,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- pdf_base.ps 21 Feb 2002 21:49:28 -0000 1.17
+++ pdf_base.ps 6 Mar 2002 07:54:23 -0000 1.18
@@ -491,7 +491,9 @@
1 index exch /File exch put
} ifelse
PDFsource token pop
- /endstream ne { /stream cvx /syntaxerror signalerror } if
+ /endstream ne {
+ ( **** PDF format error: stream Length incorrect.\n) pdfformaterror
+ } if
cvx
} bind def
/endstream {
More information about the gs-cvs
mailing list