CID 22679: Out-of-bounds write (OVERRUN_STATIC)
authorsaiola <salvatore.aiola@cern.ch>
Mon, 24 Mar 2014 14:26:28 +0000 (10:26 -0400)
committersaiola <salvatore.aiola@cern.ch>
Mon, 24 Mar 2014 14:26:28 +0000 (10:26 -0400)
PWGJE/EMCALJetTasks/AliJetResponseMaker.cxx

index 5958743..2970061 100644 (file)
@@ -631,10 +631,10 @@ void AliJetResponseMaker::AllocateTHnSparse()
 {
   // Allocate THnSparse histograms.
 
-  TString title[20]= {""};
-  Int_t nbins[20]  = {0};
-  Double_t min[20] = {0.};
-  Double_t max[20] = {0.};
+  TString title[25]= {""};
+  Int_t nbins[25]  = {0};
+  Double_t min[25] = {0.};
+  Double_t max[25] = {0.};
   Int_t dim = 0;
 
   title[dim] = "#phi";