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/qspeakers-1.5.1/listdialog.h
Examining data/qspeakers-1.5.1/bandpassbox.cpp
Examining data/qspeakers-1.5.1/bandpassbox.h
Examining data/qspeakers-1.5.1/mainwindow.h
Examining data/qspeakers-1.5.1/searchdialog.cpp
Examining data/qspeakers-1.5.1/system.cpp
Examining data/qspeakers-1.5.1/system.h
Examining data/qspeakers-1.5.1/searchdialog.h
Examining data/qspeakers-1.5.1/importexport.h
Examining data/qspeakers-1.5.1/speaker.cpp
Examining data/qspeakers-1.5.1/sealedbox.cpp
Examining data/qspeakers-1.5.1/importexport.cpp
Examining data/qspeakers-1.5.1/speaker.h
Examining data/qspeakers-1.5.1/plot.h
Examining data/qspeakers-1.5.1/speakerdialog.h
Examining data/qspeakers-1.5.1/mainwindow.cpp
Examining data/qspeakers-1.5.1/bandpassdialog.cpp
Examining data/qspeakers-1.5.1/plot.cpp
Examining data/qspeakers-1.5.1/optimizer.cpp
Examining data/qspeakers-1.5.1/optimizer.h
Examining data/qspeakers-1.5.1/speakerdb.cpp
Examining data/qspeakers-1.5.1/box.h
Examining data/qspeakers-1.5.1/speakerdialog.cpp
Examining data/qspeakers-1.5.1/main.cpp
Examining data/qspeakers-1.5.1/speakerdb.h
Examining data/qspeakers-1.5.1/sealedbox.h
Examining data/qspeakers-1.5.1/portedbox.h
Examining data/qspeakers-1.5.1/bandpassdialog.h
Examining data/qspeakers-1.5.1/box.cpp
Examining data/qspeakers-1.5.1/undocommands.h
Examining data/qspeakers-1.5.1/listdialog.cpp
Examining data/qspeakers-1.5.1/portedbox.cpp

FINAL RESULTS:

data/qspeakers-1.5.1/main.cpp:16: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.
    QString locale = QLocale::system().name();
data/qspeakers-1.5.1/importexport.cpp:77: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).
    file.open(QIODevice::WriteOnly);
data/qspeakers-1.5.1/importexport.cpp:87: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).
        file.open(QIODevice::ReadOnly);
data/qspeakers-1.5.1/speakerdb.cpp:63: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).
        file.open(QIODevice::ReadOnly);
data/qspeakers-1.5.1/speakerdb.cpp:91: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).
        file.open(QIODevice::ReadOnly);
data/qspeakers-1.5.1/speakerdb.cpp:119: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).
        file.open(QIODevice::ReadOnly);
data/qspeakers-1.5.1/speakerdb.cpp:155: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).
        file.open(QIODevice::ReadOnly);
data/qspeakers-1.5.1/speakerdb.cpp:160: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).
    with.open(QIODevice::ReadOnly);
data/qspeakers-1.5.1/speakerdb.cpp:245: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).
    wfile.open(QIODevice::WriteOnly);
data/qspeakers-1.5.1/speakerdb.cpp:364: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).
        file.open(QIODevice::ReadOnly);
data/qspeakers-1.5.1/speakerdb.cpp:405: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).
        file.open(QIODevice::ReadOnly);
data/qspeakers-1.5.1/speakerdb.cpp:439: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).
    wfile.open(QIODevice::WriteOnly);
data/qspeakers-1.5.1/speakerdb.cpp:456: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).
        file.open(QIODevice::ReadOnly);

ANALYSIS SUMMARY:

Hits = 13
Lines analyzed = 4400 in approximately 0.11 seconds (38569 lines/second)
Physical Source Lines of Code (SLOC) = 3582
Hits@level = [0]   0 [1]   0 [2]  12 [3]   0 [4]   1 [5]   0
Hits@level+ = [0+]  13 [1+]  13 [2+]  13 [3+]   1 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 3.62926 [1+] 3.62926 [2+] 3.62926 [3+] 0.279174 [4+] 0.279174 [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.