[Podofo-users] Unterminated string causes PdfInputDevice::PdfInputDevice to fail at random

2010-02-14 Thread Mark Rogers
The PdfInputDevice constructor in trunk may fail because the filename is copied to a buffer (pStr) which isn't null terminated. PdfInputDevice::PdfInputDevice( const wchar_t* pszFilename ) { this->Init(); if( !pszFilename ) { PODOFO_RAISE_ERROR( ePdfError_InvalidHandle );

Re: [Podofo-users] Unterminated string causes PdfInputDevice::PdfInputDevice to fail at random

2010-02-14 Thread Dominik Seichter
Hi Mark, Thanks for the bug fix. I commited it to SVN. Best regards, Dom Am Sonntag 14 Februar 2010 schrieb Mark Rogers: > The PdfInputDevice constructor in trunk may fail because the filename is > copied to a buffer (pStr) which isn't null terminated. > > PdfInputDevice::PdfInputDevic