--- yoda/techmodel/TrgInitReader.cpp 2006/02/07 17:11:10 6.0 +++ yoda/techmodel/TrgInitReader.cpp 2006/09/29 10:19:29 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:10 $ + * $Revision: 6.0 $ * * Implementation of the TrgInitReader class. */ @@ -45,6 +45,7 @@ */ void TrgInitReader::RunEvent(int EventNumber, long int dataLength) throw (WrongCRCException){ char subData[dataLength]; + memset(subData, 0, dataLength*sizeof(char)); InputFile->read(subData, sizeof(subData)); trgInit->trgInitData = new TArrayC(dataLength, subData); }