[poppler] poppler/PSOutputDev.cc

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Jan 3 21:41:13 UTC 2021


 poppler/PSOutputDev.cc |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 43126be585e587f6f571a0170f0f63098b82d064
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sun Jan 3 22:33:30 2021 +0100

    PSOutputDev: Fix memory leak on broken files
    
    oss-fuzz/29201

diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc
index 19c1960f..9e88e32c 100644
--- a/poppler/PSOutputDev.cc
+++ b/poppler/PSOutputDev.cc
@@ -1541,6 +1541,7 @@ PSOutputDev::~PSOutputDev()
         delete cc;
     }
     gfree(psTitle);
+    delete t3String;
 }
 
 void PSOutputDev::writeHeader(int nPages, const PDFRectangle *mediaBox, const PDFRectangle *cropBox, int pageRotate, const char *title)


More information about the poppler mailing list