#95992# uninitialized nBofLevel caused overread of sheets

This commit is contained in:
Daniel Rentz 2001-12-14 14:58:38 +00:00
parent 09c9c6fd99
commit 4db9100b46

View file

@ -2,9 +2,9 @@
*
* $RCSfile: read.cxx,v $
*
* $Revision: 1.24 $
* $Revision: 1.25 $
*
* last change: $Author: dr $ $Date: 2001-11-30 16:08:11 $
* last change: $Author: dr $ $Date: 2001-12-14 15:58:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -154,7 +154,7 @@ FltError ImportExcel::Read( void )
FltError eLastErr = eERR_OK;
UINT16 nOpcode;
UINT16 nBofLevel;
UINT16 nBofLevel = 0;
BOOL bBiff4Workbook = FALSE;
DBG_ASSERT( &aIn != NULL, "-ImportExcel::Read(): Kein Stream - wie dass?!" );
@ -1027,7 +1027,7 @@ FltError ImportExcel8::Read( void )
CreateTmpCtrlStorage();
UINT16 nOpcode; // aktueller Opcode
UINT16 nBofLevel;
UINT16 nBofLevel = 0;
const BOOL bWithDrawLayer = pD->GetDrawLayer() != NULL;