[Libreoffice-commits] core.git: filter/source
Caolán McNamara
caolanm at redhat.com
Fri Apr 11 07:29:08 PDT 2014
filter/source/graphicfilter/ipcx/ipcx.cxx | 12 ++++++++++++
1 file changed, 12 insertions(+)
New commits:
commit 60a0a093ca53a758c11ba88db0f057fceb96fe90
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Apr 11 15:25:13 2014 +0100
coverity#738637 Uninitialized scalar field
Change-Id: I9e8abf725c348c4d779d779e24e411609df64986
diff --git a/filter/source/graphicfilter/ipcx/ipcx.cxx b/filter/source/graphicfilter/ipcx/ipcx.cxx
index 5984987..23f5ee2 100644
--- a/filter/source/graphicfilter/ipcx/ipcx.cxx
+++ b/filter/source/graphicfilter/ipcx/ipcx.cxx
@@ -64,6 +64,18 @@ public:
PCXReader::PCXReader(SvStream &rStream)
: m_rPCX(rStream)
, pAcc(NULL)
+ , nVersion(0)
+ , nEncoding(0)
+ , nBitsPerPlanePix(0)
+ , nPlanes(0)
+ , nBytesPerPlaneLin(0)
+ , nPaletteInfo(0)
+ , nWidth(0)
+ , nHeight(0)
+ , nResX(0)
+ , nResY(0)
+ , nDestBitsPerPixel(0)
+ , nStatus(false)
{
pPalette = new sal_uInt8[ 768 ];
}
More information about the Libreoffice-commits
mailing list