[poppler] poppler/PSOutputDev.cc

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jan 6 23:11:47 UTC 2021


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

New commits:
commit 562770a741b9613b4e015b60e60d6ced1ac8926b
Author: Albert Astals Cid <aacid at kde.org>
Date:   Thu Jan 7 00:04:25 2021 +0100

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

diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc
index 7e83c94c..de73c15b 100644
--- a/poppler/PSOutputDev.cc
+++ b/poppler/PSOutputDev.cc
@@ -7098,6 +7098,7 @@ void PSOutputDev::type3D1(GfxState *state, double wx, double wy, double llx, dou
     t3LLY = lly;
     t3URX = urx;
     t3URY = ury;
+    delete t3String;
     t3String = new GooString();
     writePS("q\n");
     t3FillColorOnly = true;


More information about the poppler mailing list