CID#738545 uninitialized scalar

Change-Id: I111ce1b7c8d6dc8e19b2f13a1897a66dec0417f8
This commit is contained in:
Caolán McNamara
2013-09-11 20:34:17 +01:00
parent e31a1b736a
commit b2b7d591bd

View File

@@ -141,7 +141,7 @@ CBenTOCReader::SearchForLabel(BenByte * pLabel)
unsigned long CurrOffset = Length - BEN_LABEL_SIZE + BEN_MAGIC_BYTES_SIZE - unsigned long CurrOffset = Length - BEN_LABEL_SIZE + BEN_MAGIC_BYTES_SIZE -
1; 1;
char Buffer[LABEL_READ_BUFFER_SIZE]; char Buffer[LABEL_READ_BUFFER_SIZE] = {0};
unsigned long BufferStartOffset = Length; // Init to big value unsigned long BufferStartOffset = Length; // Init to big value