Coverity
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 Feb 2011 10:43:09 +0000 (10:43 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 Feb 2011 10:43:09 +0000 (10:43 +0000)
EVE/EveDet/AliEveMUONTrack.cxx

index d157f97..ef0c2f2 100644 (file)
@@ -643,7 +643,7 @@ void AliEveMUONTrack::MakeMUONTriggerTrack(AliMUONTriggerTrack *mtrack)
 
   char form[1000];
 
-  sprintf(form,"MUONTriggerTrack %2d",mtrack->GetLoTrgNum());
+  snprintf(form,1000,"MUONTriggerTrack %2d",mtrack->GetLoTrgNum());
   SetName(form);
   SetLineStyle(1);