--- yoda/techmodel/NdInitReader.cpp 2006/02/07 17:11:09 6.0 +++ yoda/techmodel/NdInitReader.cpp 2006/09/29 10:19:24 6.1 @@ -1,7 +1,7 @@ /** @file * $Author: kusanagi $ - * $Date: 2006/02/07 10:43:06 $ - * $Revision: 5.3 $ + * $Date: 2006/02/07 17:11:09 $ + * $Revision: 6.0 $ * * Implementation of the NdInitReader class. */ @@ -47,6 +47,7 @@ */ void NdInitReader::RunEvent(int EventNumber, long int dataLength) throw (WrongCRCException){ char subData[dataLength]; + memset(subData, 0, dataLength*sizeof(char)); InputFile->read(subData, sizeof(subData)); ndInit->ndInitData = new TArrayC(dataLength, subData); }