Fix overrun index in array, coverity rep
authorbogdan <vulpescu@clermont.in2p3.fr>
Tue, 13 Jan 2015 10:30:43 +0000 (11:30 +0100)
committerbogdan <vulpescu@clermont.in2p3.fr>
Tue, 13 Jan 2015 10:30:43 +0000 (11:30 +0100)
MUON/MUONtrigger/AliMUONLocalTriggerBoard.cxx

index 5566d95..295b1e3 100644 (file)
@@ -621,7 +621,7 @@ void AliMUONLocalTriggerBoard::TrigX(Int_t ch1q[16], Int_t ch2q[16], Int_t ch3q[
       printf("===============================================================\n");
       for (i=30; i>=0; i--) {
          printf("%i \t",i);
-         for (istrip=31; istrip>=0; istrip--) printf("%i",rearImage[i][istrip]);
+         for (istrip=30; istrip>=0; istrip--) printf("%i",rearImage[i][istrip]);
          printf("\n");   
       }
    }