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/xfce4-appfinder-4.14.0/src/appfinder-category-model.h
Examining data/xfce4-appfinder-4.14.0/src/appfinder-window.h
Examining data/xfce4-appfinder-4.14.0/src/appfinder-category-model.c
Examining data/xfce4-appfinder-4.14.0/src/appfinder-preferences.c
Examining data/xfce4-appfinder-4.14.0/src/appfinder-gdbus.h
Examining data/xfce4-appfinder-4.14.0/src/appfinder-preferences.h
Examining data/xfce4-appfinder-4.14.0/src/appfinder-window.c
Examining data/xfce4-appfinder-4.14.0/src/appfinder-actions.h
Examining data/xfce4-appfinder-4.14.0/src/appfinder-actions.c
Examining data/xfce4-appfinder-4.14.0/src/appfinder-gdbus.c
Examining data/xfce4-appfinder-4.14.0/src/appfinder-private.h
Examining data/xfce4-appfinder-4.14.0/src/appfinder-model.c
Examining data/xfce4-appfinder-4.14.0/src/main.c
Examining data/xfce4-appfinder-4.14.0/src/appfinder-preferences-ui.h
Examining data/xfce4-appfinder-4.14.0/src/appfinder-model.h

FINAL RESULTS:

data/xfce4-appfinder-4.14.0/src/appfinder-category-model.c:144:18:  [3] (random) g_random_int:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  model->stamp = g_random_int ();
data/xfce4-appfinder-4.14.0/src/appfinder-model.c:230:18:  [3] (random) g_random_int:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  model->stamp = g_random_int ();
data/xfce4-appfinder-4.14.0/src/appfinder-actions.c:409:12:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  else if (sscanf (prop_name, "/actions/action-%d/%30s",
data/xfce4-appfinder-4.14.0/src/appfinder-actions.c:468:9:  [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).
  len = strlen (action->pattern);
data/xfce4-appfinder-4.14.0/src/appfinder-model.c:2263:44:  [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).
  contents = g_string_sized_new (old_len + strlen (command) + 1);
data/xfce4-appfinder-4.14.0/src/appfinder-model.c:2560:30:  [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).
    const guint token_size = strlen (token);
data/xfce4-appfinder-4.14.0/src/appfinder-model.c:2578:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy (cmd_part, token, index);
data/xfce4-appfinder-4.14.0/src/appfinder-window.c:984:39:  [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).
                  relpath = uri + 7 + strlen (dirs[i]) - 13;

ANALYSIS SUMMARY:

Hits = 8
Lines analyzed = 7832 in approximately 0.18 seconds (43684 lines/second)
Physical Source Lines of Code (SLOC) = 5772
Hits@level = [0]   1 [1]   6 [2]   0 [3]   2 [4]   0 [5]   0
Hits@level+ = [0+]   9 [1+]   8 [2+]   2 [3+]   2 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 1.55925 [1+] 1.386 [2+] 0.3465 [3+] 0.3465 [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.