[poppler] poppler/GfxState.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Sat Nov 10 02:56:26 PST 2007
poppler/GfxState.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 551212e55127c7e46d9aff3318015fd9b5385687
Author: Brad Hards <bradh at frogmouth.net>
Date: Sat Nov 10 11:56:15 2007 +0100
Fix uninitialized variable access
Supported by Derek B. Noonburg
diff --git a/poppler/GfxState.cc b/poppler/GfxState.cc
index bd24a60..0c8d184 100644
--- a/poppler/GfxState.cc
+++ b/poppler/GfxState.cc
@@ -1531,8 +1531,8 @@ void GfxPatternColorSpace::getCMYK(GfxColor *color, GfxCMYK *cmyk) {
cmyk->k = 1;
}
-void GfxPatternColorSpace::getDefaultColor(GfxColor * /*color*/) {
- // not used
+void GfxPatternColorSpace::getDefaultColor(GfxColor *color) {
+ color->c[0]=0;
}
//------------------------------------------------------------------------
More information about the poppler
mailing list