From b2b7d591bd447de612b01a58406a25f3a3a8d91c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 11 Sep 2013 20:34:17 +0100 Subject: [PATCH] CID#738545 uninitialized scalar Change-Id: I111ce1b7c8d6dc8e19b2f13a1897a66dec0417f8 --- lotuswordpro/source/filter/tocread.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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