]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/util/AliHLTRecoParamComponent.cxx
bugfix AliHLTCompStatCollector: filling entry 'Level' of the component statistics...
[u/mrichter/AliRoot.git] / HLT / BASE / util / AliHLTRecoParamComponent.cxx
index 7993fde0d78a3d7dd38d23841ac2935f9f12ffb4..9819047179739596547fa0bc9319b95b6f33de4f 100644 (file)
@@ -1,11 +1,10 @@
 // $Id$
 
 //**************************************************************************
-//* This file is property of and copyright by the ALICE HLT Project        * 
+//* This file is property of and copyright by the ALICE                    * 
 //* ALICE Experiment at CERN, All rights reserved.                         *
 //*                                                                        *
 //* Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no>        *
-//*                  for The ALICE HLT Project.                            *
 //*                                                                        *
 //* Permission to use, copy, modify and distribute this software and its   *
 //* documentation strictly for non-commercial purposes is hereby granted   *
@@ -121,7 +120,7 @@ int AliHLTRecoParamComponent::ScanConfigurationArgument(int argc, const char** a
   if (argc == 1) {
     int argLen = strlen(argv[0]);
     char argument[argLen+1];
-    strcpy(argument, argv[0]);
+    strncpy(argument, argv[0], argLen+1);
     argument[argLen] = '\0';
     if (strstr(argument, "-configfile")) {
       strtok(argument, "=");