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/wmanager-0.3.0/inc/Interface.H
Examining data/wmanager-0.3.0/inc/WManager.H
Examining data/wmanager-0.3.0/src/Interface.cc
Examining data/wmanager-0.3.0/src/WManager.cc
Examining data/wmanager-0.3.0/src/wmanager.cc

FINAL RESULTS:

data/wmanager-0.3.0/src/WManager.cc:81:7:  [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.
  if (access (configuration_filename.c_str(), R_OK) != 0
data/wmanager-0.3.0/src/WManager.cc:82:10:  [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.
      && access ("/etc/X11/wmanagerrc", R_OK) == 0)
data/wmanager-0.3.0/src/WManager.cc:200:9:  [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(_ConfigurationFilename->c_str());
data/wmanager-0.3.0/src/WManager.cc:322:12:  [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).
  length = strlen(str);
data/wmanager-0.3.0/src/WManager.cc:323:25:  [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).
  new_length = length - strlen(rest);
data/wmanager-0.3.0/src/WManager.cc:330:11:  [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).
  for(i = strlen(rest), n = 0;

ANALYSIS SUMMARY:

Hits = 6
Lines analyzed = 900 in approximately 0.04 seconds (21830 lines/second)
Physical Source Lines of Code (SLOC) = 519
Hits@level = [0]   0 [1]   3 [2]   1 [3]   0 [4]   2 [5]   0
Hits@level+ = [0+]   6 [1+]   6 [2+]   3 [3+]   2 [4+]   2 [5+]   0
Hits/KSLOC@level+ = [0+] 11.5607 [1+] 11.5607 [2+] 5.78035 [3+] 3.85356 [4+] 3.85356 [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.