[poppler] splash/Splash.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Mon Jun 25 17:22:16 UTC 2018


 splash/Splash.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5ef6a845d8872f5dbc5698260ab5e12391f01f76
Author: Albert Astals Cid <aacid at kde.org>
Date:   Mon Jun 25 19:21:37 2018 +0200

    Splash::arbitraryTransformImage: Fix uninitialized memory read
    
    fixes oss-fuzz/9066

diff --git a/splash/Splash.cc b/splash/Splash.cc
index c720f30c..31896066 100644
--- a/splash/Splash.cc
+++ b/splash/Splash.cc
@@ -3858,7 +3858,7 @@ SplashError Splash::arbitraryTransformImage(SplashImageSource src, SplashICCTran
   SplashBitmap *scaledImg;
   SplashClipResult clipRes, clipRes2;
   SplashPipe pipe;
-  SplashColor pixel;
+  SplashColor pixel = {};
   int scaledWidth, scaledHeight, t0, t1, th;
   SplashCoord r00, r01, r10, r11, det, ir00, ir01, ir10, ir11;
   SplashCoord vx[4], vy[4];


More information about the poppler mailing list