[gs-cvs] rev 8820 - trunk/gs/lib

alexcher at ghostscript.com alexcher at ghostscript.com
Fri Jul 4 13:35:41 PDT 2008


Author: alexcher
Date: 2008-07-04 13:35:41 -0700 (Fri, 04 Jul 2008)
New Revision: 8820

Modified:
   trunk/gs/lib/pdf_font.ps
Log:
Fix a bug in the error recovery code that handles invalid font streams.
Bug 689936, customer 661.

DIFFERENCES:
None


Modified: trunk/gs/lib/pdf_font.ps
===================================================================
--- trunk/gs/lib/pdf_font.ps	2008-07-04 18:20:44 UTC (rev 8819)
+++ trunk/gs/lib/pdf_font.ps	2008-07-04 20:35:41 UTC (rev 8820)
@@ -1573,7 +1573,7 @@
         dup //null ne {
           PDFfile fileposition 
           1 index //true resolvestream dup
-          4 string readstring not { /bad_stream } if
+          4 string readstring pop
 	  exch closefile
           PDFfile 3 -1 roll setfileposition
           dup length 4 lt { pop /bad_stream } if



More information about the gs-cvs mailing list