--- yoda/techmodel/S4AlarmReader.cpp 2006/02/07 17:11:10 6.0 +++ yoda/techmodel/S4AlarmReader.cpp 2006/09/29 10:19:26 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 S4AlarmReader class. */ @@ -47,6 +47,7 @@ */ void S4AlarmReader::RunEvent(int EventNumber, long int dataLength) throw (WrongCRCException){ char subData[dataLength]; + memset(subData, 0, dataLength*sizeof(char)); InputFile->read(subData, sizeof(subData)); s4Alarm->s4AlarmData = new TArrayC(dataLength, subData); }