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/gspiceui-1.2.36+dfsg/src/App_gSpiceUI.cpp
Examining data/gspiceui-1.2.36+dfsg/src/App_gSpiceUI.hpp
Examining data/gspiceui-1.2.36+dfsg/src/CmdLinePcr.cpp
Examining data/gspiceui-1.2.36+dfsg/src/CmdLinePcr.hpp
Examining data/gspiceui-1.2.36+dfsg/src/Config.cpp
Examining data/gspiceui-1.2.36+dfsg/src/Config.hpp
Examining data/gspiceui-1.2.36+dfsg/src/TypeDefs.cpp
Examining data/gspiceui-1.2.36+dfsg/src/Version.hpp
Examining data/gspiceui-1.2.36+dfsg/src/base/UnitsBase.hpp
Examining data/gspiceui-1.2.36+dfsg/src/base/PrcSimEngBase.hpp
Examining data/gspiceui-1.2.36+dfsg/src/base/SimnBase.hpp
Examining data/gspiceui-1.2.36+dfsg/src/base/CmdBase.cpp
Examining data/gspiceui-1.2.36+dfsg/src/base/PnlAnaBase.cpp
Examining data/gspiceui-1.2.36+dfsg/src/base/PrcSimEngBase.cpp
Examining data/gspiceui-1.2.36+dfsg/src/base/PnlAnaBase.hpp
Examining data/gspiceui-1.2.36+dfsg/src/base/PrcBase.cpp
Examining data/gspiceui-1.2.36+dfsg/src/base/NbkSimEngBase.hpp
Examining data/gspiceui-1.2.36+dfsg/src/base/CmdBase.hpp
Examining data/gspiceui-1.2.36+dfsg/src/base/SimnBase.cpp
Examining data/gspiceui-1.2.36+dfsg/src/base/NbkSimEngBase.cpp
Examining data/gspiceui-1.2.36+dfsg/src/base/UnitsBase.cpp
Examining data/gspiceui-1.2.36+dfsg/src/base/PrcBase.hpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/NbkGnuCap.cpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/panels/PnlGnuCapAC.cpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/panels/PnlGnuCapOP.cpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/panels/PnlGnuCapTR.hpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/panels/PnlGnuCapDC.cpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/panels/PnlGnuCapFO.cpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/panels/PnlGnuCapTR.cpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/panels/PnlGnuCapOP.hpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/panels/PnlGnuCapDC.hpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/panels/PnlGnuCapFO.hpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/panels/PnlGnuCapAC.hpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/dialogs/DlgGnuCapCfgGEN.cpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/dialogs/DlgGnuCapCfgGEN.hpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/dialogs/DlgGnuCapCfgOPT.hpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/dialogs/DlgGnuCapCfgOPT.cpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/NbkGnuCap.hpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapOP.cpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapPR.hpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapTR.cpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapGEN.hpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapAC.cpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapDC.cpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapAC.hpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapFO.hpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapFO.cpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapOP.hpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapOPT.hpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapDC.hpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapOPT.cpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapGEN.cpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapPR.cpp
Examining data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapTR.hpp
Examining data/gspiceui-1.2.36+dfsg/src/main/DlgPrefs.cpp
Examining data/gspiceui-1.2.36+dfsg/src/main/NbkTxtCtls.cpp
Examining data/gspiceui-1.2.36+dfsg/src/main/FileTasks.cpp
Examining data/gspiceui-1.2.36+dfsg/src/main/NbkTxtCtls.hpp
Examining data/gspiceui-1.2.36+dfsg/src/main/FrmMain.hpp
Examining data/gspiceui-1.2.36+dfsg/src/main/FrmMain.cpp
Examining data/gspiceui-1.2.36+dfsg/src/main/HelpTasks.hpp
Examining data/gspiceui-1.2.36+dfsg/src/main/DlgPrefs.hpp
Examining data/gspiceui-1.2.36+dfsg/src/main/FileTasks.hpp
Examining data/gspiceui-1.2.36+dfsg/src/main/HelpTasks.cpp
Examining data/gspiceui-1.2.36+dfsg/src/netlist/NetList.hpp
Examining data/gspiceui-1.2.36+dfsg/src/netlist/Component.cpp
Examining data/gspiceui-1.2.36+dfsg/src/netlist/CpntNgSpiceIndSrc.cpp
Examining data/gspiceui-1.2.36+dfsg/src/netlist/NetList.cpp
Examining data/gspiceui-1.2.36+dfsg/src/netlist/Component.hpp
Examining data/gspiceui-1.2.36+dfsg/src/netlist/CpntNgSpiceIndSrc.hpp
Examining data/gspiceui-1.2.36+dfsg/src/netlist/SimnGnuCap.hpp
Examining data/gspiceui-1.2.36+dfsg/src/netlist/SimnGnuCap.cpp
Examining data/gspiceui-1.2.36+dfsg/src/netlist/SimnNgSpice.cpp
Examining data/gspiceui-1.2.36+dfsg/src/netlist/SimnNgSpice.hpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/NbkNgSpice.hpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/panels/PnlNgSpiceOP.cpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/panels/PnlNgSpiceAC.hpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/panels/PnlNgSpiceDC.hpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/panels/PnlNgSpiceTR.cpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/panels/PnlNgSpiceDC.cpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/panels/PnlNgSpiceOP.hpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/panels/PnlNgSpiceAC.cpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/panels/PnlNgSpiceTR.hpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/dialogs/DlgNgSpiceCfgOPT.hpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/dialogs/DlgNgSpiceCfgSrc.cpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/dialogs/DlgNgSpiceCfgSrc.hpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/dialogs/DlgNgSpiceCfgOPT.cpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/NbkNgSpice.cpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/commands/CmdNgSpiceTR.cpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/commands/CmdNgSpiceAC.cpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/commands/CmdNgSpiceAC.hpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/commands/CmdNgSpiceTR.hpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/commands/CmdNgSpiceOPT.cpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/commands/CmdNgSpiceDC.hpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/commands/CmdNgSpicePR.hpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/commands/CmdNgSpiceOPT.hpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/commands/CmdNgSpiceDC.cpp
Examining data/gspiceui-1.2.36+dfsg/src/ngspice/commands/CmdNgSpicePR.cpp
Examining data/gspiceui-1.2.36+dfsg/src/process/PrcNgSpice.hpp
Examining data/gspiceui-1.2.36+dfsg/src/process/PrcGnuCap.hpp
Examining data/gspiceui-1.2.36+dfsg/src/process/PrcGSchem.cpp
Examining data/gspiceui-1.2.36+dfsg/src/process/PrcGNetList.hpp
Examining data/gspiceui-1.2.36+dfsg/src/process/PrcGWave.hpp
Examining data/gspiceui-1.2.36+dfsg/src/process/PrcGaw.cpp
Examining data/gspiceui-1.2.36+dfsg/src/process/PrcGaw.hpp
Examining data/gspiceui-1.2.36+dfsg/src/process/PrcGWave.cpp
Examining data/gspiceui-1.2.36+dfsg/src/process/PrcGnuCap.cpp
Examining data/gspiceui-1.2.36+dfsg/src/process/PrcGSchem.hpp
Examining data/gspiceui-1.2.36+dfsg/src/process/PrcNgSpice.cpp
Examining data/gspiceui-1.2.36+dfsg/src/process/PrcGNetList.cpp
Examining data/gspiceui-1.2.36+dfsg/src/test-apps/AppPrcGNetList.hpp
Examining data/gspiceui-1.2.36+dfsg/src/test-apps/AppConfig.hpp
Examining data/gspiceui-1.2.36+dfsg/src/test-apps/AppConfig.cpp
Examining data/gspiceui-1.2.36+dfsg/src/test-apps/AppPnlValue.cpp
Examining data/gspiceui-1.2.36+dfsg/src/test-apps/AppPrcBase.hpp
Examining data/gspiceui-1.2.36+dfsg/src/test-apps/AppPnlValue.hpp
Examining data/gspiceui-1.2.36+dfsg/src/test-apps/AppPrcGNetList.cpp
Examining data/gspiceui-1.2.36+dfsg/src/test-apps/AppPrcBase.cpp
Examining data/gspiceui-1.2.36+dfsg/src/utility/PnlLblTxt.cpp
Examining data/gspiceui-1.2.36+dfsg/src/utility/PnlValue.hpp
Examining data/gspiceui-1.2.36+dfsg/src/utility/LblUnits.hpp
Examining data/gspiceui-1.2.36+dfsg/src/utility/PnlLblCho.cpp
Examining data/gspiceui-1.2.36+dfsg/src/utility/PnlLblCho.hpp
Examining data/gspiceui-1.2.36+dfsg/src/utility/CnvtType.cpp
Examining data/gspiceui-1.2.36+dfsg/src/utility/PnlTxtSpn.cpp
Examining data/gspiceui-1.2.36+dfsg/src/utility/StrUtils.cpp
Examining data/gspiceui-1.2.36+dfsg/src/utility/PnlLblTxt.hpp
Examining data/gspiceui-1.2.36+dfsg/src/utility/PnlValue.cpp
Examining data/gspiceui-1.2.36+dfsg/src/utility/PnlTxtSpn.hpp
Examining data/gspiceui-1.2.36+dfsg/src/utility/CnvtType.hpp
Examining data/gspiceui-1.2.36+dfsg/src/utility/TextCtrl.hpp
Examining data/gspiceui-1.2.36+dfsg/src/utility/LblUnits.cpp
Examining data/gspiceui-1.2.36+dfsg/src/utility/StrUtils.hpp
Examining data/gspiceui-1.2.36+dfsg/src/utility/TextCtrl.cpp
Examining data/gspiceui-1.2.36+dfsg/src/utility/ChoUnits.cpp
Examining data/gspiceui-1.2.36+dfsg/src/utility/ChoUnits.hpp
Examining data/gspiceui-1.2.36+dfsg/src/TypeDefs.hpp

FINAL RESULTS:

data/gspiceui-1.2.36+dfsg/src/utility/CnvtType.cpp:561:8:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  i1 = snprintf( sNum, 32, sFmt, dfNum );
data/gspiceui-1.2.36+dfsg/src/utility/CnvtType.cpp:636:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat( sFmt, os1.c_str( ) );
data/gspiceui-1.2.36+dfsg/src/utility/CnvtType.cpp:644:8:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  i1 = snprintf( sNum, 32, sFmt, fMan, iExp );
data/gspiceui-1.2.36+dfsg/src/Config.cpp:1050:22:  [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.
int  main( int argc, char * argv[ ] )
data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapAC.cpp:290:22:  [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.
int  main( int argc, char * argv[ ] )
data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapDC.cpp:295:22:  [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.
int  main( int argc, char * argv[ ] )
data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapFO.cpp:252:22:  [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.
int  main( int argc, char * argv[ ] )
data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapGEN.cpp:329:22:  [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.
int  main( int argc, char * argv[ ] )
data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapOP.cpp:275:22:  [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.
int  main( int argc, char * argv[ ] )
data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapOPT.cpp:652:22:  [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.
int  main( int argc, char * argv[ ] )
data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapPR.cpp:382:22:  [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.
int  main( int argc, char * argv[ ] )
data/gspiceui-1.2.36+dfsg/src/gnucap/commands/CmdGnuCapTR.cpp:277:22:  [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.
int  main( int argc, char * argv[ ] )
data/gspiceui-1.2.36+dfsg/src/netlist/Component.cpp:713:22:  [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.
int  main( int argc, char * argv[ ] )
data/gspiceui-1.2.36+dfsg/src/netlist/NetList.cpp:941:22:  [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.
int  main( int argc, char * argv[ ] )
data/gspiceui-1.2.36+dfsg/src/ngspice/commands/CmdNgSpiceAC.cpp:245:22:  [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.
int  main( int argc, char * argv[ ] )
data/gspiceui-1.2.36+dfsg/src/ngspice/commands/CmdNgSpiceDC.cpp:247:22:  [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.
int  main( int argc, char * argv[ ] )
data/gspiceui-1.2.36+dfsg/src/ngspice/commands/CmdNgSpiceOPT.cpp:538:22:  [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.
int  main( int argc, char * argv[ ] )
data/gspiceui-1.2.36+dfsg/src/ngspice/commands/CmdNgSpicePR.cpp:529:22:  [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.
int  main( int argc, char * argv[ ] )
data/gspiceui-1.2.36+dfsg/src/ngspice/commands/CmdNgSpiceTR.cpp:245:22:  [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.
int  main( int argc, char * argv[ ] )
data/gspiceui-1.2.36+dfsg/src/utility/CnvtType.cpp:470: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      sNum[ 16 ];
data/gspiceui-1.2.36+dfsg/src/utility/CnvtType.cpp:498: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      sNum[ 32 ];
data/gspiceui-1.2.36+dfsg/src/utility/CnvtType.cpp:556: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  sFmt[ 16 ], sNum[ 32 ];
data/gspiceui-1.2.36+dfsg/src/utility/CnvtType.cpp:599: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      sFmt[ 16 ], sNum[ 32 ];
data/gspiceui-1.2.36+dfsg/src/utility/CnvtType.cpp:758:22:  [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.
int  main( int argc, char * argv[ ] )
data/gspiceui-1.2.36+dfsg/src/utility/StrUtils.cpp:332:22:  [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.
int  main( int argc, char * argv[ ] )

ANALYSIS SUMMARY:

Hits = 25
Lines analyzed = 36180 in approximately 0.85 seconds (42654 lines/second)
Physical Source Lines of Code (SLOC) = 19330
Hits@level = [0]   4 [1]   0 [2]  22 [3]   0 [4]   3 [5]   0
Hits@level+ = [0+]  29 [1+]  25 [2+]  25 [3+]   3 [4+]   3 [5+]   0
Hits/KSLOC@level+ = [0+] 1.50026 [1+] 1.29333 [2+] 1.29333 [3+] 0.155199 [4+] 0.155199 [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.