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-documents-3.34.0/src/lib/gd-bookmark.c
Examining data/gnome-documents-3.34.0/src/lib/gd-bookmark.h
Examining data/gnome-documents-3.34.0/src/lib/gd-bookmarks.c
Examining data/gnome-documents-3.34.0/src/lib/gd-bookmarks.h
Examining data/gnome-documents-3.34.0/src/lib/gd-display-preview.c
Examining data/gnome-documents-3.34.0/src/lib/gd-display-preview.h
Examining data/gnome-documents-3.34.0/src/lib/gd-metadata.c
Examining data/gnome-documents-3.34.0/src/lib/gd-metadata.h
Examining data/gnome-documents-3.34.0/src/lib/gd-nav-bar.c
Examining data/gnome-documents-3.34.0/src/lib/gd-nav-bar.h
Examining data/gnome-documents-3.34.0/src/lib/gd-pdf-loader.c
Examining data/gnome-documents-3.34.0/src/lib/gd-pdf-loader.h
Examining data/gnome-documents-3.34.0/src/lib/gd-places-bookmarks.c
Examining data/gnome-documents-3.34.0/src/lib/gd-places-bookmarks.h
Examining data/gnome-documents-3.34.0/src/lib/gd-places-links.c
Examining data/gnome-documents-3.34.0/src/lib/gd-places-links.h
Examining data/gnome-documents-3.34.0/src/lib/gd-places-page.c
Examining data/gnome-documents-3.34.0/src/lib/gd-places-page.h
Examining data/gnome-documents-3.34.0/src/lib/gd-utils.c
Examining data/gnome-documents-3.34.0/src/lib/gd-utils.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-icon-utils.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-icon-utils.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-box-child.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-box-child.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-box-generic.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-box-generic.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-box-item.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-box-item.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-box.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-box.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-icon-box-child.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-icon-box-child.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-icon-box-icon.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-icon-box-icon.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-icon-box.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-icon-box.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-icon-view.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-icon-view.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-list-view.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-list-view.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-view-generic.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-view-generic.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-view.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-view.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-margin-container.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-margin-container.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-notification.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-notification.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-styled-text-renderer.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-styled-text-renderer.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-tagged-entry.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-tagged-entry.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-toggle-pixbuf-renderer.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-toggle-pixbuf-renderer.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-two-lines-renderer.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-two-lines-renderer.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-types-catalog.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-types-catalog.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd.h
Examining data/gnome-documents-3.34.0/subprojects/libgd/test-tagged-entry-2.c
Examining data/gnome-documents-3.34.0/subprojects/libgd/test-tagged-entry.c

FINAL RESULTS:

data/gnome-documents-3.34.0/src/lib/gd-metadata.c:122:24:  [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).
      key = attrs[i] + strlen (GD_METADATA_NAMESPACE"::");
data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-view.c:329:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  gboolean equal;
data/gnome-documents-3.34.0/subprojects/libgd/libgd/gd-main-view.c:355:11:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      if (equal)

ANALYSIS SUMMARY:

Hits = 3
Lines analyzed = 15910 in approximately 0.40 seconds (39915 lines/second)
Physical Source Lines of Code (SLOC) = 11290
Hits@level = [0]   0 [1]   3 [2]   0 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   3 [1+]   3 [2+]   0 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 0.265722 [1+] 0.265722 [2+]   0 [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.