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/axiom-20170501/license/license.cc
Examining data/axiom-20170501/books/tanglec.c
Examining data/axiom-20170501/debian/patches/extern-int-still_reading-in-htadd.c
Examining data/axiom-20170501/debian/patches/extern-int-str_len-in-htadd.c

FINAL RESULTS:

data/axiom-20170501/license/license.cc:157:62:  [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.
Derivative Work with any technological measures that control access or
data/axiom-20170501/books/tanglec.c:147:8:  [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).
  fd = open(argv[1],O_RDONLY);
data/axiom-20170501/books/tanglec.c:42:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((strncmp(&buffer[i+14],chunkname,strlen(chunkname)) == 0) &&
data/axiom-20170501/books/tanglec.c:45:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      (buffer[i+14+strlen(chunkname)] == '}')) {
data/axiom-20170501/books/tanglec.c:78:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(result,&buffer[k+10],getlen);
data/axiom-20170501/books/tanglec.c:118:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int chunklen = strlen(chunkname);

ANALYSIS SUMMARY:

Hits = 6
Lines analyzed = 516 in approximately 1.13 seconds (458 lines/second)
Physical Source Lines of Code (SLOC) = 377
Hits@level = [0]  12 [1]   4 [2]   1 [3]   0 [4]   1 [5]   0
Hits@level+ = [0+]  18 [1+]   6 [2+]   2 [3+]   1 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 47.7454 [1+] 15.9151 [2+] 5.30504 [3+] 2.65252 [4+] 2.65252 [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.