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/fstl-0.9.3/src/app.cpp
Examining data/fstl-0.9.3/src/app.h
Examining data/fstl-0.9.3/src/backdrop.cpp
Examining data/fstl-0.9.3/src/backdrop.h
Examining data/fstl-0.9.3/src/canvas.cpp
Examining data/fstl-0.9.3/src/canvas.h
Examining data/fstl-0.9.3/src/glmesh.cpp
Examining data/fstl-0.9.3/src/glmesh.h
Examining data/fstl-0.9.3/src/loader.cpp
Examining data/fstl-0.9.3/src/loader.h
Examining data/fstl-0.9.3/src/main.cpp
Examining data/fstl-0.9.3/src/mesh.cpp
Examining data/fstl-0.9.3/src/mesh.h
Examining data/fstl-0.9.3/src/window.cpp
Examining data/fstl-0.9.3/src/window.h

FINAL RESULTS:

data/fstl-0.9.3/src/canvas.cpp:17:15:  [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).
    styleFile.open( QFile::ReadOnly );
data/fstl-0.9.3/src/loader.cpp:122:15:  [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).
    if (!file.open(QIODevice::ReadOnly))
data/fstl-0.9.3/src/loader.cpp:186:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&v[i].first, b, 3*sizeof(float));
data/fstl-0.9.3/src/loader.cpp:129:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (file.read(6) == "solid ")

ANALYSIS SUMMARY:

Hits = 4
Lines analyzed = 1243 in approximately 0.06 seconds (21865 lines/second)
Physical Source Lines of Code (SLOC) = 994
Hits@level = [0]   0 [1]   1 [2]   3 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   4 [1+]   4 [2+]   3 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 4.02414 [1+] 4.02414 [2+] 3.01811 [3+]   0 [4+]   0 [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.