[poppler] poppler/SplashOutputDev.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Thu May 24 16:23:19 UTC 2018


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

New commits:
commit 6b91d37a704fb2b6fa9529d859c366c331327ab9
Author: Albert Astals Cid <aacid at kde.org>
Date:   Thu May 24 18:22:00 2018 +0200

    SplashOutputDev: Fix memory leak on malformed files
    
    i.e. SplashOutputDev::endTextObject is not called after SplashOutputDev::drawChar
    
    fixes oss-fuzz/8508

diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc
index 140917d3..a7d035ce 100644
--- a/poppler/SplashOutputDev.cc
+++ b/poppler/SplashOutputDev.cc
@@ -1450,6 +1450,7 @@ SplashOutputDev::~SplashOutputDev() {
   if (bitmap) {
     delete bitmap;
   }
+  delete textClipPath;
 }
 
 void SplashOutputDev::startDoc(PDFDoc *docA) {


More information about the poppler mailing list