diff options
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 |