Hello, Which version of PoDoFo do you use?
I am asking because the current SVN contains already similar code in
PdfTokenizer::ReadString:
if( m_vecBuffer.size() )
rVariant = PdfString( &(m_vecBuffer[0]), m_vecBuffer.size() );
else
rVariant = PdfString("");
Is the same change as you suggested? I commitedan additional change so that
encryption is only done if data is available. Maybe this helps, too.
best regards,
Dom
Am Montag, 7. April 2008 schrieb Ihab Sultan:
> Hello,
> It seems that adding the following if-statement is a solution to this
> problem:
>
> if(m_vecBuffer.size() >0)
> rVariant = PdfString( &(m_vecBuffer[0]), m_vecBuffer.size() );
>
> can you please check if that makes sense? if it does, you might want to
> modify the file under current SVN.
>
> Thanks.
>
>
> From: [EMAIL PROTECTED]: [EMAIL PROTECTED]:
> Mon, 7 Apr 2008 12:49:29 -0500Subject: [Podofo-users] PoDoFo crash while
> opening a file
>
>
> Hi all, I've ran into problem using PoDoFo to uncompress a PDF file. A
> crash happened while reading stream object number 53 (which is supposed to
> be an Image) on windows OS. here is what the stack looked like:
>
> Going green? See the top 12 foods to eat organic.
> _________________________________________________________________
> More immediate than e-mail? Get instant access with Windows Live Messenger.
> http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refres
>h_instantaccess_042008
--
**********************************************************************
Dominik Seichter - [EMAIL PROTECTED]
KRename - http://www.krename.net - Powerful batch renamer for KDE
KBarcode - http://www.kbarcode.net - Barcode and label printing
PoDoFo - http://podofo.sf.net - PDF generation and parsing library
SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game, for KDE
Alan - http://alan.sf.net - A Turing Machine in Java
**********************************************************************
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
