]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - VZERO/VZEROda.cxx
Technical fix for report #63995: Missing array bounds check in AliRecoParam::GetDetRe...
[u/mrichter/AliRoot.git] / VZERO / VZEROda.cxx
index 551c004ea2ee051da2a6774eba478ebbe97c46b3..cda344a88a83a74c4dbc316ef01dff9aa31f7c5e 100755 (executable)
@@ -208,8 +208,8 @@ int main(int argc, char **argv) {
           AliRawReader *rawReader = new AliRawReaderDate((void*)event);
   
           AliVZERORawStream* rawStream  = new AliVZERORawStream(rawReader); 
-          if (rawStream.Next()) {      
-             for(Int_t i=0; i<64; i++) {
+          if (rawStream->Next()) {     
+           for(Int_t i=0; i<64; i++) {
                Int_t nFlag = 0;
                for(Int_t j=kClockMin; j <= kClockMax; j++) {  // Check flags on clock range used for pedestal calculation
                   if((rawStream->GetBBFlag(i,j)) || (rawStream->GetBGFlag(i,j))) nFlag++;