--- yoda/techmodel/CalAlarmReader.cpp 2006/02/07 17:11:09 6.0 +++ yoda/techmodel/CalAlarmReader.cpp 2006/09/29 10:19:16 6.1 @@ -42,6 +42,7 @@ */ void CalAlarmReader::RunEvent(int EventNumber, long int dataLength) throw (WrongCRCException){ char subData[dataLength]; + memset(subData, 0, dataLength*sizeof(char)); InputFile->read(subData, sizeof(subData)); calAlarm->calAlarmData = new TArrayC(dataLength, subData); }