Re: Fix for 686907, /typecheck in --get--

Ray Johnston <[email protected]>
Newsgroups gmane.comp.printing.ghostscript.patches
Message-ID <[email protected]>
Alex,

This should be committed to the HEAD branch. Please do so.

Regards,
Ray
_______________________________________________________________________

Alex Cherepanov wrote:

> Process encryption dictionary after reading all parts of xref.
> Fix bug 686907 from customer 1060 in gs 8.00.
> 
> This is a version of the fix for GS 8.00 as requested by the customer.
> Should it go to gs8_00 branch or only to the customer ?
> 
> 
> ------------------------------------------------------------------------
> 
> Index: gs/lib/pdf_main.ps
> ===================================================================
> RCS file: /cvs/ghostscript/gs/lib/pdf_main.ps,v
> retrieving revision 1.63
> diff -b -u -r1.63 pdf_main.ps
> --- gs/lib/pdf_main.ps	5 Nov 2002 20:56:02 -0000	1.63
> +++ gs/lib/pdf_main.ps	14 Aug 2003 05:28:24 -0000
> @@ -312,12 +312,11 @@
>     initPDFobjects
>  	% Read the last cross-reference table.
>     readxref /Trailer exch def
> -   Trailer /Encrypt known
> -    { pdf_process_Encrypt	% signal error
> -    }
> -   if
>  	% Read any previous cross-reference tables.
>     Trailer { /Prev knownoget not { exit } if readxref } loop
> +   Trailer /Encrypt known {
> +     pdf_process_Encrypt	% signal error
> +   } if
>     currentdict end
>   } bind def
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.