diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-19 15:44:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-19 15:44:28 +0000 |
commit | 3037f4d98908f64157a5522e4ba09d0ecf22c2ab (patch) | |
tree | fb83cd9e7e84f87e889e8418ae9b8071ed833ac6 /vcl | |
parent | d1a8a119f267f0eda36dc28fece111a1b6c0b6ec (diff) |
coverity#708312 Uninitialized pointer field
Change-Id: I3bb28d1116e155f819b0e920a3c355b00e892c2a
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/filter/igif/decode.cxx | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/vcl/source/filter/igif/decode.cxx b/vcl/source/filter/igif/decode.cxx index 0dcd86d24df5..561bf5c4480a 100644 --- a/vcl/source/filter/igif/decode.cxx +++ b/vcl/source/filter/igif/decode.cxx @@ -27,12 +27,15 @@ struct GIFLZWTableEntry sal_uInt8 nData; }; -GIFLZWDecompressor::GIFLZWDecompressor( sal_uInt8 cDataSize ) : - nInputBitsBuf ( 0 ), - nOutBufDataLen ( 0 ), - nInputBitsBufSize ( 0 ), - bEOIFound ( false ), - nDataSize ( cDataSize ) +GIFLZWDecompressor::GIFLZWDecompressor(sal_uInt8 cDataSize) + : pBlockBuf(NULL) + , nInputBitsBuf(0) + , nOutBufDataLen(0) + , nInputBitsBufSize(0) + , bEOIFound(false) + , nDataSize(cDataSize) + , nBlockBufSize(0) + , nBlockBufPos(0) { pOutBuf = new sal_uInt8[ 4096 ]; |