--- yoda/techmodel/TrkAlarmReader.cpp 2006/05/30 19:10:03 6.2 +++ yoda/techmodel/TrkAlarmReader.cpp 2006/09/29 10:19:29 6.3 @@ -39,6 +39,7 @@ void TrkAlarmReader::RunEvent(int EventNumber, long int length) throw (WrongCRCException){ char subData[length]; + memset(subData, 0, length*sizeof(char)); InputFile->read(subData, sizeof(subData)); trkAlarm->TrigMask = (subData[0]&0xc0) >> 6;