[poppler] splash/Splash.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Thu May 24 21:49:58 UTC 2018
splash/Splash.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b228892adb01f978d5e6045e1e61741bca1950d2
Author: Albert Astals Cid <aacid at kde.org>
Date: Thu May 24 23:49:12 2018 +0200
Splash::blitImageClipped: initialize pixel
At least this way if the getPixels call we're not drawing random memory
and thus we get a stable render which helps with regtests
diff --git a/splash/Splash.cc b/splash/Splash.cc
index a95cc805..d493b22d 100644
--- a/splash/Splash.cc
+++ b/splash/Splash.cc
@@ -5187,7 +5187,7 @@ void Splash::blitImageClipped(SplashBitmap *src, GBool srcAlpha,
int xSrc, int ySrc, int xDest, int yDest,
int w, int h) {
SplashPipe pipe;
- SplashColor pixel;
+ SplashColor pixel = {};
Guchar *ap;
int x, y;
More information about the poppler
mailing list