[Podofo-users] Memory leak in PdfImage::LoadFromPngData and PdfImage::LoadFromPngHandle

2019-11-05 Thread Michal Sudolsky
If function png_read_image encounters error it will call longjmp and will jump to place where was called setjmp. In such case pBuffer and pRows will never be deallocated. Cut of code from mentioned functions: ``` // Read the file if( setjmp(png_jmpbuf(pPng)) ) {

Re: [Podofo-users] Releasing 0.9.7 ?

2019-11-05 Thread Matthew Brincke
> On 29 October 2019 at 13:24 Mattia Rizzolo wrote: > > Hello, Hello Mattia, hello all, > I believe it's high time for a new PoDoFo release. > It has been slightly more than one year since the last one was done. > Alright, there are still a few CVEs and other bugs opened, but many > have been

Re: [Podofo-users] PoDoFo fonts cmaps "override"

2019-11-05 Thread Pietro Paolini
Hi zyx, I think I am one commit behind the server's trunk. I can't tell of any bug as the mechanics are not clear to me well enough to understand how I am supposed to do what I want to do. I will try the suggestion Clayton gave me (and thanks A LOT for that) and report back if I found any