From: cblume Date: Wed, 13 Feb 2002 16:58:37 +0000 (+0000) Subject: Bug fix reported by Jiri. Make atoi input zero terminated in StepManager() X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=593a9fc3aa41b086fb7cb442ac2541a5c04ffccd Bug fix reported by Jiri. Make atoi input zero terminated in StepManager() --- diff --git a/TRD/AliTRDv0.cxx b/TRD/AliTRDv0.cxx index 1dacc261a34..edbc1ce8e9f 100644 --- a/TRD/AliTRDv0.cxx +++ b/TRD/AliTRDv0.cxx @@ -15,6 +15,9 @@ /* $Log$ +Revision 1.19 2002/02/11 14:25:27 cblume +Geometry update, compressed hit structure + Revision 1.18 2000/11/30 17:38:08 cblume Changes to get in line with new STEER and EVGEN @@ -182,7 +185,8 @@ void AliTRDv0::StepManager() // Use pad plane as sensitive volume TString cIdSens = "L"; TString cIdCurrent; - Char_t cIdChamber[2]; + Char_t cIdChamber[3]; + cIdChamber[2] = 0; const Int_t kNplan = AliTRDgeometry::Nplan(); diff --git a/TRD/AliTRDv1.cxx b/TRD/AliTRDv1.cxx index 951f5692ca3..0de7758d7e0 100644 --- a/TRD/AliTRDv1.cxx +++ b/TRD/AliTRDv1.cxx @@ -15,6 +15,9 @@ /* $Log$ +Revision 1.31 2002/02/11 14:25:27 cblume +Geometry update, compressed hit structure + Revision 1.30 2001/05/21 16:45:47 hristov Last minute changes (C.Blume) @@ -522,7 +525,8 @@ void AliTRDv1::StepManager() TString cIdCurrent; TString cIdSensDr = "J"; TString cIdSensAm = "K"; - Char_t cIdChamber[2]; + Char_t cIdChamber[3]; + cIdChamber[2] = 0; TLorentzVector pos, mom;