Hello all, > On 01 May 2018 at 00:54 Matthew Brincke <ma...@mailbox.org> wrote: > > > Hello Mark, hello all, > > On 20 April 2018 at 00:09 Mark Rogers <mark.rog...@powermapper.com> wrote: > > > > > > Hi > > > > > > This code from PdfString::Write has a buffer overflow – it checks > > buffer.GetSize() > 0 then sets nInputBufferLen=GetSize()-2 which is passed > > to new[nInputBufferLen] and memcpy > > I'd like to contribute a fix for this (UTC tomorrow, I need to sleep soon): > > if( pEncrypt && m_buffer.GetSize() && IsValid() ) >
because I'm going to properly test the fix, I won't commit it yet, sorry, I didn't have enough time for that. Best regards, mabri ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users