[gs-bugs] [Bug 688958] Enrcypted PDF with 128-Bit AES (PDF 1.6) cannot be interpreted

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Sat Oct 25 10:36:04 PDT 2008


http://bugs.ghostscript.com/show_bug.cgi?id=688958





------- Additional Comments From marcos.woehrmann at artifex.com  2008-10-25 10:36 -------
Created an attachment (id=4540)
 --> (http://bugs.ghostscript.com/attachment.cgi?id=4540&action=view)
22169.pdf

This is another AES-128 encrypted file that Ghostscript cannot read.  

With the unpatched gshead (r9180) reads 22169.pdf with the following warning
repeated multiple times;

   **** Error reading a content stream. The page may be incomplete.

and produces blank pages.

With the patch from comment #6 applied the following error is produced:

GPL Ghostscript SVN PRE-RELEASE 8.64 (2008-08-02)
Copyright (C) 2008 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 15.
Page 1
Error: /undefined in --run--
Operand stack:
   --nostringval--   --dict:7/7(L)--   --dict:48/48(ro)(L)--   --nostringval-- 
 PageSpotColors   --dict:7/7(L)--   --dict:0/0(L)--   --dict:1/4(L)--	1127  
(\200t\345!\263\362,\251n>\034\272\2052j\307)	69   0	 --nostringval--  
Subtype   Form	 Length   576	OC   --nostringval--   PieceInfo  
--nostringval--   ADBE_CompoundType   --nostringval--	Private   Watermark  
LastModified   (\200t\345!\263\362,\251n>\034\272\2052j\307)  
(H\221@\016\275\330\022\000\020\000\000\000\275\330\022\000\261\376\235\3068zA\326\177\201A\356,\304\327\322\374\226E\213}\235\271\201\251\201Y\023V*J\273)
  --dict:6/6(L)--   Encryption
Execution stack:
   %interp_exit   .runexec2   --nostringval--	--nostringval--  
--nostringval--   2   %stopped_push   --nostringval--	--nostringval--  
--nostringval--   false   1   %stopped_push   1846   1	 3   %oparray_pop  
1845   1   3   %oparray_pop   1829   1	 3   %oparray_pop   --nostringval--  
--nostringval--   2   1   15   --nostringval--	 %for_pos_int_continue	
--nostringval--   --nostringval--   --nostringval--   --nostringval--  
--nostringval--   %loop_continue   --nostringval--   --dict:1/1(L)--  
--nostringval--   1   %dict_continue   --nostringval--	 --nostringval--  
--nostringval--   --nostringval--   false   1	%stopped_push	--nostringval--
  %loop_continue   --nostringval--   --nostringval--   --nostringval--	
--nostringval--
Dictionary stack:
   --dict:1142/1684(ro)(G)--   --dict:1/20(G)--   --dict:74/200(L)--  
--dict:74/200(L)--   --dict:106/127(ro)(G)--   --dict:278/300(ro)(G)--	
--dict:22/25(L)--   --dict:3/5(L)--
Current allocation mode is local
GPL Ghostscript SVN PRE-RELEASE 8.64: Unrecoverable error, exit code 1




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the gs-bugs mailing list