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/lasi-1.1.0/examples/ComplexTextLayoutExample.cpp
Examining data/lasi-1.1.0/examples/MissingGlyphExample.cpp
Examining data/lasi-1.1.0/examples/SimpleLASiExample.cpp
Examining data/lasi-1.1.0/src/manager.h
Examining data/lasi-1.1.0/src/contextMgr.h
Examining data/lasi-1.1.0/src/stringDimensions.h
Examining data/lasi-1.1.0/src/psDoc.cpp
Examining data/lasi-1.1.0/src/drawGlyph.cpp
Examining data/lasi-1.1.0/src/drawGlyph.h
Examining data/lasi-1.1.0/src/glyphMgr.cpp
Examining data/lasi-1.1.0/src/glyphMgr.h
Examining data/lasi-1.1.0/src/util.cpp
Examining data/lasi-1.1.0/src/util.h
Examining data/lasi-1.1.0/include/LASi.h

FINAL RESULTS:

data/lasi-1.1.0/examples/ComplexTextLayoutExample.cpp:296: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).
      strm.open(argv[1]);
data/lasi-1.1.0/examples/MissingGlyphExample.cpp:41: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).
      strm.open(argv[1]);
data/lasi-1.1.0/examples/SimpleLASiExample.cpp:94: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).
      strm.open(argv[1]);
data/lasi-1.1.0/src/psDoc.cpp:33: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 glyph_name[N];

ANALYSIS SUMMARY:

Hits = 4
Lines analyzed = 1913 in approximately 0.12 seconds (15349 lines/second)
Physical Source Lines of Code (SLOC) = 1049
Hits@level = [0]   0 [1]   0 [2]   4 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   4 [1+]   4 [2+]   4 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 3.81316 [1+] 3.81316 [2+] 3.81316 [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.