--- yoda/techmodel/CalAlarmReader.cpp 2006/02/07 10:36:43 5.2 +++ yoda/techmodel/CalAlarmReader.cpp 2006/09/29 10:19:16 6.1 @@ -21,7 +21,7 @@ */ std::string CalAlarmReader::GetVersionInfo(void) const { return - "$Trailer: /opt/cvsmanager/yoda/techmodel/CalAlarmReader.cpp,v 1.1.1.1 2004/07/06 12:20:23 Maurizio Nagni Exp $\n"; + "$Trailer: /home/cvsmanager/yoda/techmodel/CalAlarmReader.cpp,v 1.1.1.1 2004/07/06 12:20:23 Maurizio Nagni Exp $\n"; } /** @@ -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); }