diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-11 20:34:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-11 20:43:07 +0100 |
commit | b2b7d591bd447de612b01a58406a25f3a3a8d91c (patch) | |
tree | 371a6546144afff3f0547db6d6b901180a897ebd /lotuswordpro | |
parent | e31a1b736a3c51351f9216246307916ba6c6d3a6 (diff) |
CID#738545 uninitialized scalar
Change-Id: I111ce1b7c8d6dc8e19b2f13a1897a66dec0417f8
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/tocread.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/tocread.cxx b/lotuswordpro/source/filter/tocread.cxx index 2a6f289ed793..c27909cf0683 100644 --- a/lotuswordpro/source/filter/tocread.cxx +++ b/lotuswordpro/source/filter/tocread.cxx @@ -141,7 +141,7 @@ CBenTOCReader::SearchForLabel(BenByte * pLabel) unsigned long CurrOffset = Length - BEN_LABEL_SIZE + BEN_MAGIC_BYTES_SIZE - 1; - char Buffer[LABEL_READ_BUFFER_SIZE]; + char Buffer[LABEL_READ_BUFFER_SIZE] = {0}; unsigned long BufferStartOffset = Length; // Init to big value |