[poppler] splash/Splash.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Mon Jul 23 21:06:17 UTC 2018


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

New commits:
commit c1e90bb19003af9ddf7a1ea88399d9ce47db233f
Author: Albert Astals Cid <aacid at kde.org>
Date:   Mon Jul 23 23:05:14 2018 +0200

    Always initialize SplashPipe:cSrcVal
    
    Fixes Use-of-uninitialized-value in oss-fuzz/9560

diff --git a/splash/Splash.cc b/splash/Splash.cc
index 1cd7fb22..7c08a6f7 100644
--- a/splash/Splash.cc
+++ b/splash/Splash.cc
@@ -135,7 +135,7 @@ struct SplashPipe {
   Guchar aInput;
   GBool usesShape;
   SplashColorPtr cSrc;
-  SplashColor cSrcVal;
+  SplashColor cSrcVal = {};
 
   // non-isolated group alpha0
   Guchar *alpha0Ptr;


More information about the poppler mailing list