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/gnome-logs-3.36.0/src/gl-application.c
Examining data/gnome-logs-3.36.0/src/gl-application.h
Examining data/gnome-logs-3.36.0/src/gl-categorylist.c
Examining data/gnome-logs-3.36.0/src/gl-categorylist.h
Examining data/gnome-logs-3.36.0/src/gl-eventtoolbar.c
Examining data/gnome-logs-3.36.0/src/gl-eventtoolbar.h
Examining data/gnome-logs-3.36.0/src/gl-eventviewdetail.c
Examining data/gnome-logs-3.36.0/src/gl-eventviewdetail.h
Examining data/gnome-logs-3.36.0/src/gl-eventviewlist.c
Examining data/gnome-logs-3.36.0/src/gl-eventviewlist.h
Examining data/gnome-logs-3.36.0/src/gl-eventviewrow.c
Examining data/gnome-logs-3.36.0/src/gl-eventviewrow.h
Examining data/gnome-logs-3.36.0/src/gl-journal-model.c
Examining data/gnome-logs-3.36.0/src/gl-journal-model.h
Examining data/gnome-logs-3.36.0/src/gl-journal.c
Examining data/gnome-logs-3.36.0/src/gl-journal.h
Examining data/gnome-logs-3.36.0/src/gl-main.c
Examining data/gnome-logs-3.36.0/src/gl-searchpopover.c
Examining data/gnome-logs-3.36.0/src/gl-searchpopover.h
Examining data/gnome-logs-3.36.0/src/gl-util.h
Examining data/gnome-logs-3.36.0/src/gl-window.c
Examining data/gnome-logs-3.36.0/src/gl-window.h
Examining data/gnome-logs-3.36.0/src/gl-util.c
Examining data/gnome-logs-3.36.0/tests/test-gl-util.c

FINAL RESULTS:

data/gnome-logs-3.36.0/src/gl-categorylist.c:40:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    GtkWidget *system;
data/gnome-logs-3.36.0/src/gl-categorylist.c:114:45:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    else if (row == GTK_LIST_BOX_ROW (priv->system))
data/gnome-logs-3.36.0/src/gl-categorylist.c:232:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                                                  system);
data/gnome-logs-3.36.0/src/gl-eventviewrow.c:194:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    entry_uid = entry_uid_string ? atoi (entry_uid_string) : -1;
data/gnome-logs-3.36.0/src/gl-journal.c:503:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    entry->priority = priority ? atoi (priority) : LOG_INFO;
data/gnome-logs-3.36.0/src/gl-searchpopover.c:847:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    time = atoi (gtk_entry_get_text (GTK_ENTRY (spin_button)));
data/gnome-logs-3.36.0/src/gl-eventviewlist.c:144:53:  [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).
        g_output_stream_write (stream, output_text, strlen (output_text),
data/gnome-logs-3.36.0/src/gl-eventviewrow.c:237:38:  [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).
    newmessage = g_string_sized_new (strlen (message));
data/gnome-logs-3.36.0/src/gl-journal-model.c:749:49:  [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).
    g_scanner_input_text (scanner, search_text, strlen (search_text));
data/gnome-logs-3.36.0/src/gl-window.c:152:36:  [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).
                                   strlen (file_content), NULL, &error);

ANALYSIS SUMMARY:

Hits = 10
Lines analyzed = 8655 in approximately 0.23 seconds (37667 lines/second)
Physical Source Lines of Code (SLOC) = 6252
Hits@level = [0]   0 [1]   4 [2]   3 [3]   0 [4]   3 [5]   0
Hits@level+ = [0+]  10 [1+]  10 [2+]   6 [3+]   3 [4+]   3 [5+]   0
Hits/KSLOC@level+ = [0+] 1.59949 [1+] 1.59949 [2+] 0.959693 [3+] 0.479846 [4+] 0.479846 [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.