Hi,

I even get a crash with the PDF you posted. The probem is (again) our buggy 
AES implementation.
I would suggest to disable AES support to not run into more serious problems 
(or to fix AES :) )

Regards,
        Dominik

On Wednesday, March 02, 2011 05:06:35 pm MILLAUD Benjamin wrote:
> Hi,
> 
> I’m using podofo to parse an Intel manual
> (http://www.intel.com/Assets/PDF/manual/253666.pdf ), and I get an error
> when using it, I’m under linux using gcc:
> 
> DEBUG: The PDF file is encrypted.
> DEBUG: Authentication with empty password: 1.
> 
> PoDoFo encounter an error. Error: 14 ePdfError_NoNumber
>         Error Description: A number was expected but not found.
>         Callstack:
>         #0 Error Source:
> /build/buildd/libpodofo0.8.0-0.8.0+svn20100512/src/PdfParser.cpp:209
> Information: Unable to load objects from file.
>         #1 Error Source:
> /build/buildd/libpodofo0.8.0-0.8.0+svn20100512/src/PdfParser.cpp:918
> Information: Error while loading object 0 0 Offset = 763529 Index = 682
> 
>         #2 Error Source:
> /build/buildd/libpodofo0.8.0-0.8.0+svn20100512/src/PdfParserObject.cpp:96
> Information: Object and generation number cannot be read. #3 Error Source:
> /build/buildd/libpodofo0.8.0-0.8.0+svn20100512/src/PdfTokenizer.cpp:315
> Information: ��
> 
> The pdf seems to be encrypted, how could I know the key/password ? I think
> I'm using the library in a good way, but may be I'm wrong ...
> 
>     PdfVecObjects pdfVecObjects;
> 
>     PdfParser pdfParser(&pdfVecObjects, "/tmp/test.pdf");
> 
>     if (pdfParser.GetEncrypt() != NULL)
>     {
>         ...
>     }
>     else
>     {
>        ...
>     }
> 
> 
> I also tried viewing the content of this pdf using PodofoBrowser and I also
> get an error, could you help me finding out how to solve this problem (it
> might not come from podofo library). I think Intel might have obfuscated
> their pdf content or something like this. (I’m not an expert about the pdf
> format, I just know the basics)
> 
> From the console:
> DEBUG: Reading Subrefsection: 0 37716
> DEBUG: Reading Subrefsection: 37716 1208
> DEBUG: Reading Subrefsection: 0 37716
> DEBUG: Reading Subrefsection: 0 37716
> Flate Decoding Error from ZLib: -3
> 
> 
> [cid:[email protected]]
> 
> Thank you for your time.

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to