Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/pythia8-8.1.86/rootexamples/tree.cc
Examining data/pythia8-8.1.86/rootexamples/pythiaROOT.h
Examining data/pythia8-8.1.86/rootexamples/hist.cc
Examining data/pythia8-8.1.86/rootexamples/pythiaLinkdef.h
Examining data/pythia8-8.1.86/lhapdfdummy/LHAPDFDummy.cc
Examining data/pythia8-8.1.86/include/Pythia8/MultipartonInteractions.h
Examining data/pythia8-8.1.86/include/Pythia8/Merging.h
Examining data/pythia8-8.1.86/include/Pythia8/ResonanceDecays.h
Examining data/pythia8-8.1.86/include/Pythia8/Event.h
Examining data/pythia8-8.1.86/include/Pythia8/SigmaSUSY.h
Examining data/pythia8-8.1.86/include/Pythia8/BoseEinstein.h
Examining data/pythia8-8.1.86/include/Pythia8/SusyResonanceWidths.h
Examining data/pythia8-8.1.86/include/Pythia8/LHAFortran.h
Examining data/pythia8-8.1.86/include/Pythia8/SpaceShower.h
Examining data/pythia8-8.1.86/include/Pythia8/SigmaHiggs.h
Examining data/pythia8-8.1.86/include/Pythia8/HadronLevel.h
Examining data/pythia8-8.1.86/include/Pythia8/LHAPDFInterface.h
Examining data/pythia8-8.1.86/include/Pythia8/HelicityMatrixElements.h
Examining data/pythia8-8.1.86/include/Pythia8/BeamRemnants.h
Examining data/pythia8-8.1.86/include/Pythia8/StringFragmentation.h
Examining data/pythia8-8.1.86/include/Pythia8/SigmaTotal.h
Examining data/pythia8-8.1.86/include/Pythia8/WeakShowerMEs.h
Examining data/pythia8-8.1.86/include/Pythia8/SigmaCompositeness.h
Examining data/pythia8-8.1.86/include/Pythia8/HelicityBasics.h
Examining data/pythia8-8.1.86/include/Pythia8/MergingHooks.h
Examining data/pythia8-8.1.86/include/Pythia8/UserHooks.h
Examining data/pythia8-8.1.86/include/Pythia8/ProcessLevel.h
Examining data/pythia8-8.1.86/include/Pythia8/HadronScatter.h
Examining data/pythia8-8.1.86/include/Pythia8/BeamShape.h
Examining data/pythia8-8.1.86/include/Pythia8/Info.h
Examining data/pythia8-8.1.86/include/Pythia8/SigmaLeptoquark.h
Examining data/pythia8-8.1.86/include/Pythia8/SigmaProcess.h
Examining data/pythia8-8.1.86/include/Pythia8/SigmaEW.h
Examining data/pythia8-8.1.86/include/Pythia8/SigmaExtraDim.h
Examining data/pythia8-8.1.86/include/Pythia8/MiniStringFragmentation.h
Examining data/pythia8-8.1.86/include/Pythia8/FragmentationSystems.h
Examining data/pythia8-8.1.86/include/Pythia8/PythiaComplex.h
Examining data/pythia8-8.1.86/include/Pythia8/PartonLevel.h
Examining data/pythia8-8.1.86/include/Pythia8/PartonSystems.h
Examining data/pythia8-8.1.86/include/Pythia8/StandardModel.h
Examining data/pythia8-8.1.86/include/Pythia8/SigmaNewGaugeBosons.h
Examining data/pythia8-8.1.86/include/Pythia8/ParticleDecays.h
Examining data/pythia8-8.1.86/include/Pythia8/ProcessContainer.h
Examining data/pythia8-8.1.86/include/Pythia8/TauDecays.h
Examining data/pythia8-8.1.86/include/Pythia8/Basics.h
Examining data/pythia8-8.1.86/include/Pythia8/RHadrons.h
Examining data/pythia8-8.1.86/include/Pythia8/FastJet3.h
Examining data/pythia8-8.1.86/include/Pythia8/PartonDistributions.h
Examining data/pythia8-8.1.86/include/Pythia8/Pythia8ToHepMC.h
Examining data/pythia8-8.1.86/include/Pythia8/SigmaLeftRightSym.h
Examining data/pythia8-8.1.86/include/Pythia8/SLHAinterface.h
Examining data/pythia8-8.1.86/include/Pythia8/Settings.h
Examining data/pythia8-8.1.86/include/Pythia8/SigmaQCD.h
Examining data/pythia8-8.1.86/include/Pythia8/FJcore.h
Examining data/pythia8-8.1.86/include/Pythia8/Analysis.h
Examining data/pythia8-8.1.86/include/Pythia8/SigmaOnia.h
Examining data/pythia8-8.1.86/include/Pythia8/PhaseSpace.h
Examining data/pythia8-8.1.86/include/Pythia8/TimeShower.h
Examining data/pythia8-8.1.86/include/Pythia8/HiddenValleyFragmentation.h
Examining data/pythia8-8.1.86/include/Pythia8/FragmentationFlavZpT.h
Examining data/pythia8-8.1.86/include/Pythia8/ParticleData.h
Examining data/pythia8-8.1.86/include/Pythia8/PythiaStdlib.h
Examining data/pythia8-8.1.86/include/Pythia8/LesHouches.h
Examining data/pythia8-8.1.86/include/Pythia8/SusyLesHouches.h
Examining data/pythia8-8.1.86/include/Pythia8/SusyCouplings.h
Examining data/pythia8-8.1.86/include/Pythia8/SigmaGeneric.h
Examining data/pythia8-8.1.86/include/Pythia8/BeamParticle.h
Examining data/pythia8-8.1.86/include/Pythia8/History.h
Examining data/pythia8-8.1.86/include/Pythia8/ResonanceWidths.h
Examining data/pythia8-8.1.86/include/Pythia8/Pythia.h
Examining data/pythia8-8.1.86/examples/main46.cc
Examining data/pythia8-8.1.86/examples/main07.cc
Examining data/pythia8-8.1.86/examples/main14.cc
Examining data/pythia8-8.1.86/examples/CombineMatchingInput.h
Examining data/pythia8-8.1.86/examples/main82.cc
Examining data/pythia8-8.1.86/examples/JetMatching.h
Examining data/pythia8-8.1.86/examples/main52.cc
Examining data/pythia8-8.1.86/examples/main32.cc
Examining data/pythia8-8.1.86/examples/main31.cc
Examining data/pythia8-8.1.86/examples/main09.cc
Examining data/pythia8-8.1.86/examples/main86.cc
Examining data/pythia8-8.1.86/examples/main13.cc
Examining data/pythia8-8.1.86/examples/main15.cc
Examining data/pythia8-8.1.86/examples/main12.cc
Examining data/pythia8-8.1.86/examples/main06.cc
Examining data/pythia8-8.1.86/examples/main51.cc
Examining data/pythia8-8.1.86/examples/main88.cc
Examining data/pythia8-8.1.86/examples/main05.cc
Examining data/pythia8-8.1.86/examples/main19.cc
Examining data/pythia8-8.1.86/examples/main28.cc
Examining data/pythia8-8.1.86/examples/main72.cc
Examining data/pythia8-8.1.86/examples/main71.cc
Examining data/pythia8-8.1.86/examples/main53.cc
Examining data/pythia8-8.1.86/examples/main87.cc
Examining data/pythia8-8.1.86/examples/main20.cc
Examining data/pythia8-8.1.86/examples/main83.cc
Examining data/pythia8-8.1.86/examples/main61.cc
Examining data/pythia8-8.1.86/examples/main16.cc
Examining data/pythia8-8.1.86/examples/main25.cc
Examining data/pythia8-8.1.86/examples/main80.cc
Examining data/pythia8-8.1.86/examples/main02.cc
Examining data/pythia8-8.1.86/examples/main42.cc
Examining data/pythia8-8.1.86/examples/main01.cc
Examining data/pythia8-8.1.86/examples/main62.cc
Examining data/pythia8-8.1.86/examples/main11.cc
Examining data/pythia8-8.1.86/examples/main03.cc
Examining data/pythia8-8.1.86/examples/main81.cc
Examining data/pythia8-8.1.86/examples/main54.cc
Examining data/pythia8-8.1.86/examples/main24.cc
Examining data/pythia8-8.1.86/examples/main41.cc
Examining data/pythia8-8.1.86/examples/main04.cc
Examining data/pythia8-8.1.86/examples/main26.cc
Examining data/pythia8-8.1.86/examples/main10.cc
Examining data/pythia8-8.1.86/examples/main84.cc
Examining data/pythia8-8.1.86/examples/main27.cc
Examining data/pythia8-8.1.86/examples/main85.cc
Examining data/pythia8-8.1.86/examples/main18.cc
Examining data/pythia8-8.1.86/examples/main21.cc
Examining data/pythia8-8.1.86/examples/main17.cc
Examining data/pythia8-8.1.86/examples/GeneratorInput.h
Examining data/pythia8-8.1.86/examples/main22.cc
Examining data/pythia8-8.1.86/examples/main08.cc
Examining data/pythia8-8.1.86/examples/main23.cc
Examining data/pythia8-8.1.86/src/PartonSystems.cc
Examining data/pythia8-8.1.86/src/SLHAinterface.cc
Examining data/pythia8-8.1.86/src/SigmaOnia.cc
Examining data/pythia8-8.1.86/src/TauDecays.cc
Examining data/pythia8-8.1.86/src/LesHouches.cc
Examining data/pythia8-8.1.86/src/MiniStringFragmentation.cc
Examining data/pythia8-8.1.86/src/Info.cc
Examining data/pythia8-8.1.86/src/FJcore.cc
Examining data/pythia8-8.1.86/src/SigmaCompositeness.cc
Examining data/pythia8-8.1.86/src/HadronScatter.cc
Examining data/pythia8-8.1.86/src/BeamParticle.cc
Examining data/pythia8-8.1.86/src/StringFragmentation.cc
Examining data/pythia8-8.1.86/src/TimeShower.cc
Examining data/pythia8-8.1.86/src/WeakShowerMEs.cc
Examining data/pythia8-8.1.86/src/ResonanceDecays.cc
Examining data/pythia8-8.1.86/src/BeamShape.cc
Examining data/pythia8-8.1.86/src/BeamRemnants.cc
Examining data/pythia8-8.1.86/src/BoseEinstein.cc
Examining data/pythia8-8.1.86/src/HadronLevel.cc
Examining data/pythia8-8.1.86/src/SigmaGeneric.cc
Examining data/pythia8-8.1.86/src/Basics.cc
Examining data/pythia8-8.1.86/src/HelicityBasics.cc
Examining data/pythia8-8.1.86/src/ProcessContainer.cc
Examining data/pythia8-8.1.86/src/SusyResonanceWidths.cc
Examining data/pythia8-8.1.86/src/Merging.cc
Examining data/pythia8-8.1.86/src/Event.cc
Examining data/pythia8-8.1.86/src/UserHooks.cc
Examining data/pythia8-8.1.86/src/SigmaQCD.cc
Examining data/pythia8-8.1.86/src/SigmaNewGaugeBosons.cc
Examining data/pythia8-8.1.86/src/MultipartonInteractions.cc
Examining data/pythia8-8.1.86/src/HelicityMatrixElements.cc
Examining data/pythia8-8.1.86/src/Settings.cc
Examining data/pythia8-8.1.86/src/History.cc
Examining data/pythia8-8.1.86/src/FragmentationSystems.cc
Examining data/pythia8-8.1.86/src/SigmaHiggs.cc
Examining data/pythia8-8.1.86/src/SigmaTotal.cc
Examining data/pythia8-8.1.86/src/PartonDistributions.cc
Examining data/pythia8-8.1.86/src/ResonanceWidths.cc
Examining data/pythia8-8.1.86/src/Pythia.cc
Examining data/pythia8-8.1.86/src/SigmaProcess.cc
Examining data/pythia8-8.1.86/src/ProcessLevel.cc
Examining data/pythia8-8.1.86/src/HiddenValleyFragmentation.cc
Examining data/pythia8-8.1.86/src/PythiaStdlib.cc
Examining data/pythia8-8.1.86/src/MergingHooks.cc
Examining data/pythia8-8.1.86/src/SigmaLeptoquark.cc
Examining data/pythia8-8.1.86/src/ParticleDecays.cc
Examining data/pythia8-8.1.86/src/RHadrons.cc
Examining data/pythia8-8.1.86/src/SusyLesHouches.cc
Examining data/pythia8-8.1.86/src/PartonLevel.cc
Examining data/pythia8-8.1.86/src/StandardModel.cc
Examining data/pythia8-8.1.86/src/ParticleData.cc
Examining data/pythia8-8.1.86/src/SigmaEW.cc
Examining data/pythia8-8.1.86/src/SpaceShower.cc
Examining data/pythia8-8.1.86/src/SigmaExtraDim.cc
Examining data/pythia8-8.1.86/src/PhaseSpace.cc
Examining data/pythia8-8.1.86/src/Analysis.cc
Examining data/pythia8-8.1.86/src/SigmaSUSY.cc
Examining data/pythia8-8.1.86/src/SigmaLeftRightSym.cc
Examining data/pythia8-8.1.86/src/FragmentationFlavZpT.cc
Examining data/pythia8-8.1.86/src/SusyCouplings.cc
Examining data/pythia8-8.1.86/pythia8tohepmc/Pythia8ToHepMC.cc

FINAL RESULTS:

data/pythia8-8.1.86/examples/main85.cc:96:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(access( (iPathTree+in.str()+".gz").c_str(), F_OK) != -1) in << ".gz";
data/pythia8-8.1.86/examples/main85.cc:158:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(access( (iPathTree+in.str()+".gz").c_str(), F_OK) != -1) in << ".gz";
data/pythia8-8.1.86/examples/main86.cc:97:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(access( (iPathTree+in.str()+".gz").c_str(), F_OK) != -1) in << ".gz";
data/pythia8-8.1.86/examples/main86.cc:159:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(access( (iPathTree+in.str()+".gz").c_str(), F_OK) != -1) in << ".gz";
data/pythia8-8.1.86/examples/main86.cc:243:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(access( (iPathSubt+in.str()+".gz").c_str(), F_OK) != -1) in << ".gz";
data/pythia8-8.1.86/examples/main87.cc:104:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(access( (iPathTree+in.str()+".gz").c_str(), F_OK) != -1) in << ".gz";
data/pythia8-8.1.86/examples/main87.cc:162:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(access( (iPathLoop+in.str()+".gz").c_str(), F_OK) != -1) in << ".gz";
data/pythia8-8.1.86/examples/main87.cc:256:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(access( (iPathTree+in.str()+".gz").c_str(), F_OK) != -1) in << ".gz";
data/pythia8-8.1.86/examples/main87.cc:348:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(access( (iPathLoop+in.str()+".gz").c_str(), F_OK) != -1) in << ".gz";
data/pythia8-8.1.86/examples/main87.cc:442:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(access( (iPathSubt+in.str()+".gz").c_str(), F_OK) != -1) in << ".gz";
data/pythia8-8.1.86/examples/main88.cc:106:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(access( (iPathTree+in.str()+".gz").c_str(), F_OK) != -1) in << ".gz";
data/pythia8-8.1.86/examples/main88.cc:165:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(access( (iPathLoop+in.str()+".gz").c_str(), F_OK) != -1) in << ".gz";
data/pythia8-8.1.86/examples/main88.cc:242:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(access( (iPathTree+in.str()+".gz").c_str(), F_OK) != -1) in << ".gz";
data/pythia8-8.1.86/examples/main88.cc:334:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(access( (iPathLoop+in.str()+".gz").c_str(), F_OK) != -1) in << ".gz";
data/pythia8-8.1.86/examples/main88.cc:428:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(access( (iPathSubt+in.str()+".gz").c_str(), F_OK) != -1) in << ".gz";
data/pythia8-8.1.86/examples/main88.cc:518:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(access( (iPathSubt+in.str()+".gz").c_str(), F_OK) != -1) in << ".gz";
data/pythia8-8.1.86/include/Pythia8/FragmentationSystems.h:177:52:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  StringRegion& region(int iPos, int iNeg) {return system[iReg(iPos, iNeg)];}
data/pythia8-8.1.86/include/Pythia8/FragmentationSystems.h:181:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    return system[iReg(iPos, iMax - iPos)]; }
data/pythia8-8.1.86/include/Pythia8/FragmentationSystems.h:183:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    return system[iReg(iMax - iNeg, iNeg)]; }
data/pythia8-8.1.86/include/Pythia8/FragmentationSystems.h:186:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  vector<StringRegion> system;
data/pythia8-8.1.86/include/Pythia8/History.h:568:54:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  bool isColSinglet( const Event& event, vector<int> system);
data/pythia8-8.1.86/include/Pythia8/History.h:576:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    vector<int> system, int flav=0);
data/pythia8-8.1.86/include/Pythia8/SpaceShower.h:41:5:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    system(systemIn), side(sideIn), iRadiator(iRadiatorIn),
data/pythia8-8.1.86/include/Pythia8/SpaceShower.h:57:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  int    system, side, iRadiator, iRecoiler;
data/pythia8-8.1.86/include/Pythia8/SpaceShower.h:125:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  int system() const {return iSysSel;}
data/pythia8-8.1.86/include/Pythia8/StringFragmentation.h:52:39:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  Vec4 kinematicsHadron(StringSystem& system);
data/pythia8-8.1.86/include/Pythia8/StringFragmentation.h:143:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  StringSystem system, systemMin, systemMid;
data/pythia8-8.1.86/include/Pythia8/TimeShower.h:38:54:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    chgType(0), gamType(0), weakType(0), isrType(0), system(0), systemRec(0),
data/pythia8-8.1.86/include/Pythia8/TimeShower.h:51:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    isrType(isrIn), system(systemIn), systemRec(systemIn), MEtype(MEtypeIn),
data/pythia8-8.1.86/include/Pythia8/TimeShower.h:60:56:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  int    colType, chgType, gamType, weakType, isrType, system, systemRec,
data/pythia8-8.1.86/include/Pythia8/TimeShower.h:145:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  int system() const {return iSysSel;};
data/pythia8-8.1.86/src/FragmentationSystems.cc:529:3:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  system.clear();
data/pythia8-8.1.86/src/FragmentationSystems.cc:530:3:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  system.resize(sizeRegions);
data/pythia8-8.1.86/src/FragmentationSystems.cc:538:5:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    system[ iReg(i, iMax - i) ].setUp( p1, p2, false);
data/pythia8-8.1.86/src/History.cc:5741:15:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  vector<int> system ) {
data/pythia8-8.1.86/src/History.cc:5744:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for(int i=0; i < int(system.size()); ++i ) {
data/pythia8-8.1.86/src/History.cc:5746:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if ( system[i] > 0
data/pythia8-8.1.86/src/History.cc:5747:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      && (event[system[i]].colType() == 1
data/pythia8-8.1.86/src/History.cc:5748:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
       || event[system[i]].colType() == 2) ) {
data/pythia8-8.1.86/src/History.cc:5749:28:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      for(int j=0; j < int(system.size()); ++j)
data/pythia8-8.1.86/src/History.cc:5751:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        if ( system[i] > 0
data/pythia8-8.1.86/src/History.cc:5752:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          && system[j] > 0
data/pythia8-8.1.86/src/History.cc:5753:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          && event[system[i]].col() == event[system[j]].acol()) {
data/pythia8-8.1.86/src/History.cc:5753:46:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          && event[system[i]].col() == event[system[j]].acol()) {
data/pythia8-8.1.86/src/History.cc:5755:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          system[i] = 0;
data/pythia8-8.1.86/src/History.cc:5756:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          system[j] = 0;
data/pythia8-8.1.86/src/History.cc:5761:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if ( system[i] > 0
data/pythia8-8.1.86/src/History.cc:5762:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      && (event[system[i]].colType() == -1
data/pythia8-8.1.86/src/History.cc:5763:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
       || event[system[i]].colType() == 2) ) {
data/pythia8-8.1.86/src/History.cc:5764:28:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      for(int j=0; j < int(system.size()); ++j)
data/pythia8-8.1.86/src/History.cc:5766:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        if ( system[i] > 0
data/pythia8-8.1.86/src/History.cc:5767:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          && system[j] > 0
data/pythia8-8.1.86/src/History.cc:5768:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          && event[system[i]].acol() == event[system[j]].col()) {
data/pythia8-8.1.86/src/History.cc:5768:47:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          && event[system[i]].acol() == event[system[j]].col()) {
data/pythia8-8.1.86/src/History.cc:5770:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          system[i] = 0;
data/pythia8-8.1.86/src/History.cc:5771:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          system[j] = 0;
data/pythia8-8.1.86/src/History.cc:5781:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for(int i=0; i < int(system.size()); ++i)
data/pythia8-8.1.86/src/History.cc:5782:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if ( system[i] != 0 )
data/pythia8-8.1.86/src/History.cc:5801:15:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  vector<int> system, int flav) {
data/pythia8-8.1.86/src/History.cc:5806:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for(int i=0; i < int(system.size()); ++i)
data/pythia8-8.1.86/src/History.cc:5807:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if ( system[i] > 0 ) {
data/pythia8-8.1.86/src/History.cc:5808:28:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      for(int j=0; j < int(system.size()); ++j) {
data/pythia8-8.1.86/src/History.cc:5816:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          && system[i] > 0
data/pythia8-8.1.86/src/History.cc:5817:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          && system[j] > 0
data/pythia8-8.1.86/src/History.cc:5818:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          && event[system[i]].isFinal()
data/pythia8-8.1.86/src/History.cc:5819:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          && event[system[j]].isFinal()
data/pythia8-8.1.86/src/History.cc:5820:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          && event[system[i]].id() == -1*event[system[j]].id()) {
data/pythia8-8.1.86/src/History.cc:5820:48:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          && event[system[i]].id() == -1*event[system[j]].id()) {
data/pythia8-8.1.86/src/History.cc:5823:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          if (abs(flav) > 0 && event[system[i]].idAbs() != flav)
data/pythia8-8.1.86/src/History.cc:5826:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          system[i] = 0;
data/pythia8-8.1.86/src/History.cc:5827:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          system[j] = 0;
data/pythia8-8.1.86/src/History.cc:5837:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          && system[i] > 0
data/pythia8-8.1.86/src/History.cc:5838:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          && system[j] > 0
data/pythia8-8.1.86/src/History.cc:5839:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          && ( ( !event[system[i]].isFinal() && event[system[j]].isFinal())
data/pythia8-8.1.86/src/History.cc:5839:55:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          && ( ( !event[system[i]].isFinal() && event[system[j]].isFinal())
data/pythia8-8.1.86/src/History.cc:5840:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
             ||( !event[system[j]].isFinal() && event[system[i]].isFinal()) )
data/pythia8-8.1.86/src/History.cc:5840:55:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
             ||( !event[system[j]].isFinal() && event[system[i]].isFinal()) )
data/pythia8-8.1.86/src/History.cc:5841:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          && event[system[i]].id() == event[system[j]].id()) {
data/pythia8-8.1.86/src/History.cc:5841:45:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          && event[system[i]].id() == event[system[j]].id()) {
data/pythia8-8.1.86/src/History.cc:5844:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          if (abs(flav) > 0 && event[system[i]].idAbs() != flav)
data/pythia8-8.1.86/src/History.cc:5847:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          system[i] = 0;
data/pythia8-8.1.86/src/History.cc:5848:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          system[j] = 0;
data/pythia8-8.1.86/src/History.cc:5858:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for(int i=0; i < int(system.size()); ++i)
data/pythia8-8.1.86/src/History.cc:5859:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if ( system[i] != 0 )
data/pythia8-8.1.86/src/PartonLevel.cc:442:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          iSysNow = spacePtr->system();
data/pythia8-8.1.86/src/PartonLevel.cc:474:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          iSysNow = timesPtr->system();
data/pythia8-8.1.86/src/PartonLevel.cc:638:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            iSysNow = timesPtr->system();
data/pythia8-8.1.86/src/SpaceShower.cc:445:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    iSysNow        = dipEndNow->system;
data/pythia8-8.1.86/src/SpaceShower.cc:2509:46:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  os << setw(5) << i << setw(6) << dipEnd[i].system
data/pythia8-8.1.86/src/StringFragmentation.cc:79:49:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Vec4 StringEnd::kinematicsHadron( StringSystem& system) {
data/pythia8-8.1.86/src/StringFragmentation.cc:107:28:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    StringRegion& region = system.region( iPosNew, iNegNew);
data/pythia8-8.1.86/src/StringFragmentation.cc:146:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      system.regionLowPos(iPosNew).pPos,
data/pythia8-8.1.86/src/StringFragmentation.cc:147:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      system.regionLowNeg(iNegNew).pNeg, true);
data/pythia8-8.1.86/src/StringFragmentation.cc:194:36:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        StringRegion& regionGam =  system.region( iPos, iNeg);
data/pythia8-8.1.86/src/StringFragmentation.cc:196:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          system.regionLowPos(iPos).pPos,
data/pythia8-8.1.86/src/StringFragmentation.cc:197:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          system.regionLowNeg(iNeg).pNeg, true);
data/pythia8-8.1.86/src/StringFragmentation.cc:390:3:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  system.setUp(iParton, event);
data/pythia8-8.1.86/src/StringFragmentation.cc:412:32:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    setStartEnds(idPos, idNeg, system);
data/pythia8-8.1.86/src/StringFragmentation.cc:428:43:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      Vec4 pHad = nowEnd.kinematicsHadron(system);
data/pythia8-8.1.86/src/StringFragmentation.cc:701:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    return system.region( posEnd.iPosOld, posEnd.iNegOld);
data/pythia8-8.1.86/src/StringFragmentation.cc:711:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    pPosJoin = system.regionLowPos(posEnd.iPosOld).pHad( xPosJoin, 0., 0., 0.);
data/pythia8-8.1.86/src/StringFragmentation.cc:715:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        += system.regionLowPos(iPosNow).pHad( posEnd.xPosOld, 0., 0., 0.);
data/pythia8-8.1.86/src/StringFragmentation.cc:717:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        += system.regionLowPos(iPosNow).pHad( 1. - negEnd.xPosOld, 0., 0., 0.);
data/pythia8-8.1.86/src/StringFragmentation.cc:718:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      else pPosJoin += system.regionLowPos(iPosNow).pHad( 1., 0., 0., 0.);
data/pythia8-8.1.86/src/StringFragmentation.cc:727:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    pNegJoin = system.regionLowNeg(negEnd.iNegOld).pHad( 0., xNegJoin, 0., 0.);
data/pythia8-8.1.86/src/StringFragmentation.cc:731:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        += system.regionLowNeg(iNegNow).pHad( 0., negEnd.xNegOld, 0., 0.);
data/pythia8-8.1.86/src/StringFragmentation.cc:733:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        += system.regionLowNeg(iNegNow).pHad( 0., 1. - posEnd.xNegOld, 0., 0.);
data/pythia8-8.1.86/src/StringFragmentation.cc:734:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      else pNegJoin += system.regionLowNeg(iNegNow).pHad( 0., 1., 0., 0.);
data/pythia8-8.1.86/src/StringFragmentation.cc:744:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      = system.regionLowPos(posEnd.iPosOld + 1).pHad( 1., 0., 0., 0.)
data/pythia8-8.1.86/src/StringFragmentation.cc:745:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      - system.regionLowNeg(negEnd.iNegOld + 1).pHad( 0., 1., 0., 0.);
data/pythia8-8.1.86/src/StringFragmentation.cc:755:19:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  Vec4 pTposOld = system.region( posEnd.iPosOld, posEnd.iNegOld).pHad(
data/pythia8-8.1.86/src/StringFragmentation.cc:760:19:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  Vec4 pTnegOld = system.region( negEnd.iPosOld, negEnd.iNegOld).pHad(
data/pythia8-8.1.86/src/TimeShower.cc:682:66:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            int iRadNow = partonSystemsPtr->getIndexOfOut(dipNow.system, iRad);
data/pythia8-8.1.86/src/TimeShower.cc:684:34:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
              setupQCDdip(dipNow.system, iRadNow, event[iRad].col(), 1,
data/pythia8-8.1.86/src/TimeShower.cc:730:66:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            int iRadNow = partonSystemsPtr->getIndexOfOut(dipNow.system, iRad);
data/pythia8-8.1.86/src/TimeShower.cc:732:34:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
              setupQCDdip(dipNow.system, iRadNow, event[iRad].acol(), -1,
data/pythia8-8.1.86/src/TimeShower.cc:778:66:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            int iRadNow = partonSystemsPtr->getIndexOfOut(dipNow.system, iRad);
data/pythia8-8.1.86/src/TimeShower.cc:780:34:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
              setupQEDdip(dipNow.system, iRadNow, dipNow.chgType,
data/pythia8-8.1.86/src/TimeShower.cc:1751:58:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      for (int i = 0; i < partonSystemsPtr->sizeOut( dip.system); ++i) {
data/pythia8-8.1.86/src/TimeShower.cc:1752:48:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        int ii = partonSystemsPtr->getOut( dip.system, i);
data/pythia8-8.1.86/src/TimeShower.cc:2178:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        int iSys    = dip.system;
data/pythia8-8.1.86/src/TimeShower.cc:2310:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        int iSys    = dip.system;
data/pythia8-8.1.86/src/TimeShower.cc:2472:60:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    for (int i = 0; i < partonSystemsPtr->sizeOut( dipSel->system); ++i) {
data/pythia8-8.1.86/src/TimeShower.cc:2473:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      int iG = partonSystemsPtr->getOut( dipSel->system, i);
data/pythia8-8.1.86/src/TimeShower.cc:2512:30:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  iSysSel          = dipSel->system;
data/pythia8-8.1.86/src/TimeShower.cc:2906:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        if (dipEnd[i].system != dipEnd[i].systemRec) continue;
data/pythia8-8.1.86/src/TimeShower.cc:3188:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
       iSysSel    = dipSel->system;
data/pythia8-8.1.86/src/TimeShower.cc:3459:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  if (dip.system != dip.systemRec) setME = false;
data/pythia8-8.1.86/src/TimeShower.cc:4817:30:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
     << setw(5) << dipEnd[i].system      << setw(5) << dipEnd[i].systemRec
data/pythia8-8.1.86/examples/main46.cc:24:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char * val = getenv( key.c_str() );
data/pythia8-8.1.86/src/HadronScatter.cc:766:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char* envPath = getenv(PYTHIA8DATA);
data/pythia8-8.1.86/src/LesHouches.cc:613:25:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  if (!ifs.good()) fis->setstate(std::ios_base::badbit);
data/pythia8-8.1.86/src/Pythia.cc:92:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char* envPath = getenv(PYTHIA8DATA);
data/pythia8-8.1.86/src/SusyLesHouches.cc:60:30:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  if (!fileBase.good()) file.setstate(ios_base::badbit);
data/pythia8-8.1.86/src/TauDecays.cc:598:25:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      rndmOrd.push_back(random);
data/pythia8-8.1.86/src/TauDecays.cc:600:13:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        if (random > rndmOrd[j]) swap( rndmOrd[j], rndmOrd[j+1] );
data/pythia8-8.1.86/examples/main81.cc:171:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  write.open( (char*)(oPath + "PTjet1_" + suffix.str()).c_str());
data/pythia8-8.1.86/examples/main81.cc:175:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  write.open( (char*)(oPath + "PTjet2_" + suffix.str()).c_str());
data/pythia8-8.1.86/examples/main81.cc:179:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  write.open( (char*)(oPath + "PTjet3_" + suffix.str()).c_str());
data/pythia8-8.1.86/examples/main82.cc:331:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  write.open( (char*)(oPath + "PTjet1_" + suffix.str()).c_str());
data/pythia8-8.1.86/examples/main82.cc:335:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  write.open( (char*)(oPath + "PTjet2_" + suffix.str()).c_str());
data/pythia8-8.1.86/examples/main83.cc:354:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  write.open( (char*)(oPath + "PTjet1_" + suffix.str()).c_str());
data/pythia8-8.1.86/examples/main83.cc:358:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  write.open( (char*)(oPath + "PTjet2_" + suffix.str()).c_str());
data/pythia8-8.1.86/examples/main84.cc:120:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int njet = atoi(argv[3]);
data/pythia8-8.1.86/examples/main84.cc:371:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    write.open( (char*)(oPath + "PTjet1_" + suffix.str()).c_str());
data/pythia8-8.1.86/examples/main84.cc:375:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    write.open( (char*)(oPath + "PTjet2_" + suffix.str()).c_str());
data/pythia8-8.1.86/examples/main84.cc:379:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    write.open( (char*)(oPath + "PTjet3_" + suffix.str()).c_str());
data/pythia8-8.1.86/examples/main84.cc:383:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    write.open( (char*)(oPath + "PTjet4_" + suffix.str()).c_str());
data/pythia8-8.1.86/examples/main84.cc:387:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    write.open( (char*)(oPath + "PTjet5_" + suffix.str()).c_str());
data/pythia8-8.1.86/examples/main84.cc:391:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    write.open( (char*)(oPath + "PTjet6_" + suffix.str()).c_str());
data/pythia8-8.1.86/examples/main84.cc:417:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  writeSum.open( (char*)(oPath + "PTjet1Sum_" + suffixSum.str()).c_str());
data/pythia8-8.1.86/examples/main84.cc:421:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  writeSum.open( (char*)(oPath + "PTjet2Sum_" + suffixSum.str()).c_str());
data/pythia8-8.1.86/include/Pythia8/LesHouches.h:284:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dateNow[12];
data/pythia8-8.1.86/include/Pythia8/LesHouches.h:285:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char timeNow[9];
data/pythia8-8.1.86/src/Basics.cc:878:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char date[18];
data/pythia8-8.1.86/src/LesHouches.cc:153:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  osLHEF.open(cstring, ios::out | ios::trunc);
data/pythia8-8.1.86/src/LesHouches.cc:307:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    osLHEF.open(cstring, ios::in | ios::out);
data/pythia8-8.1.86/src/LesHouches.cc:600:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ifs.open(fn);
data/pythia8-8.1.86/src/MergingHooks.cc:55:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  infile.open( (char*)( LHEpath +"_0.lhe").c_str());
data/pythia8-8.1.86/src/MergingHooks.cc:191:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    infile.open( (char*)( LHEpath +"_1.lhe").c_str());
data/pythia8-8.1.86/src/MergingHooks.cc:210:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    infile.open( (char*)( LHEpath +"_0.lhe").c_str());
data/pythia8-8.1.86/src/MergingHooks.cc:260:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      infile.open( (char*)( LHEpath +"_1.lhe").c_str());
data/pythia8-8.1.86/src/MergingHooks.cc:281:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    infile.open( (char*)( LHEpath +"_0.lhe").c_str());
data/pythia8-8.1.86/src/MergingHooks.cc:676:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        atoi((char*)userParticleStrings[i].substr(
data/pythia8-8.1.86/src/PartonDistributions.cc:2242:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f.open( (xmlPath + fileName).c_str(),ios::in);
data/pythia8-8.1.86/src/Pythia.cc:1551:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dateNow[12];
data/pythia8-8.1.86/src/Pythia.cc:1553:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char timeNow[9];
data/pythia8-8.1.86/src/Basics.cc:192:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ifs.read((char *) &seedSave, sizeof(int));
data/pythia8-8.1.86/src/Basics.cc:193:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ifs.read((char *) &sequence, sizeof(long));
data/pythia8-8.1.86/src/Basics.cc:194:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ifs.read((char *) &i97,      sizeof(int));
data/pythia8-8.1.86/src/Basics.cc:195:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ifs.read((char *) &j97,      sizeof(int));
data/pythia8-8.1.86/src/Basics.cc:196:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ifs.read((char *) &c,        sizeof(double));
data/pythia8-8.1.86/src/Basics.cc:197:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ifs.read((char *) &cd,       sizeof(double));
data/pythia8-8.1.86/src/Basics.cc:198:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ifs.read((char *) &cm,       sizeof(double));
data/pythia8-8.1.86/src/Basics.cc:199:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ifs.read((char *) &u,        sizeof(double) *97);
data/pythia8-8.1.86/src/History.cc:1393:35:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  double sumold, sumnew, sumprob, mismatch;
data/pythia8-8.1.86/src/History.cc:1403:48:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      goodBranches.insert( make_pair( sumnew - mismatch, it->second) );
data/pythia8-8.1.86/src/History.cc:1405:34:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      sumGoodBranches = sumnew - mismatch;
data/pythia8-8.1.86/src/History.cc:1409:28:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      double mismatchOld = mismatch;
data/pythia8-8.1.86/src/LesHouches.cc:409:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (!read) continue;

ANALYSIS SUMMARY:

Hits = 180
Lines analyzed = 129879 in approximately 3.10 seconds (41904 lines/second)
Physical Source Lines of Code (SLOC) = 79228
Hits@level = [0]   1 [1]  13 [2]  31 [3]   7 [4] 129 [5]   0
Hits@level+ = [0+] 181 [1+] 180 [2+] 167 [3+] 136 [4+] 129 [5+]   0
Hits/KSLOC@level+ = [0+] 2.28455 [1+] 2.27192 [2+] 2.10784 [3+] 1.71656 [4+] 1.62821 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.