Poppler doesn't render PDF page to QImage
When trying to render a PDF page to QImage from attached file with Poppler (file builded with libharu from two png (600dpi) images (saved with compression)), Poppler displays an error message: "Bogus memory allocation size" and returns empty QImage.
It seems that the size of the memory block allocated for drawing is incorrectly determined (more than 2 gigabytes), and this condition is triggered (since the size in int becomes negative).
The error is reproduced under Linux (x64 Manjaro-poppler 21.08) and under windows 10 (msys2-poppler 20.12.1-5) Acrobat reader or foxit reader successfully open this document
testpdf.pro Project files and pdf, to reproduce the error in the attachment.