]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliRunLoader.cxx
coverity warnings 15388 10083 10082 fixed
[u/mrichter/AliRoot.git] / STEER / AliRunLoader.cxx
index da30a46f9499f0714a035029a1857d7aad24d84c..3ebc988d3961d455db6a7873d8fe6d96100c0d50 100644 (file)
@@ -1827,7 +1827,7 @@ void AliRunLoader::GetListOfDetectors(const char * namelist,TObjArray& pointerar
    Int_t tmp;
    for(;;)
     {
-      tmp = sscanf(pdet,"%s",buff);//read the string from the input string pdet into buff
+      tmp = sscanf(pdet,"%9s",buff);//read the string from the input string pdet into buff
       if ( (buff[0] == 0) || (tmp == 0) ) break; //if not read
      
       pdet = strstr(pdet,buff) + strlen(buff);//move the input pointer about number of bytes (letters) read