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-maps-3.38.1.1/lib/maps-contact-store.c
Examining data/gnome-maps-3.38.1.1/lib/maps-contact-store.h
Examining data/gnome-maps-3.38.1.1/lib/maps-contact.c
Examining data/gnome-maps-3.38.1.1/lib/maps-contact.h
Examining data/gnome-maps-3.38.1.1/lib/maps-file-tile-source.c
Examining data/gnome-maps-3.38.1.1/lib/maps-file-tile-source.h
Examining data/gnome-maps-3.38.1.1/lib/maps-osm-changeset.c
Examining data/gnome-maps-3.38.1.1/lib/maps-osm-changeset.h
Examining data/gnome-maps-3.38.1.1/lib/maps-osm-node.c
Examining data/gnome-maps-3.38.1.1/lib/maps-osm-node.h
Examining data/gnome-maps-3.38.1.1/lib/maps-osm-oauth-proxy-call.c
Examining data/gnome-maps-3.38.1.1/lib/maps-osm-oauth-proxy-call.h
Examining data/gnome-maps-3.38.1.1/lib/maps-osm-object.c
Examining data/gnome-maps-3.38.1.1/lib/maps-osm-object.h
Examining data/gnome-maps-3.38.1.1/lib/maps-osm-relation.c
Examining data/gnome-maps-3.38.1.1/lib/maps-osm-relation.h
Examining data/gnome-maps-3.38.1.1/lib/maps-osm-way.c
Examining data/gnome-maps-3.38.1.1/lib/maps-osm-way.h
Examining data/gnome-maps-3.38.1.1/lib/maps-osm.c
Examining data/gnome-maps-3.38.1.1/lib/maps-osm.h
Examining data/gnome-maps-3.38.1.1/lib/maps.h
Examining data/gnome-maps-3.38.1.1/lib/mapsintl.h

FINAL RESULTS:

data/gnome-maps-3.38.1.1/lib/maps-file-tile-source.c:397:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char min_zoom[3];
data/gnome-maps-3.38.1.1/lib/maps-file-tile-source.c:400:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (min_zoom, "%u", tile_source->priv->min_zoom);
data/gnome-maps-3.38.1.1/lib/maps-osm-node.c:97:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[G_ASCII_DTOSTR_BUF_SIZE];
data/gnome-maps-3.38.1.1/lib/maps-osm-object.c:274:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[32];
data/gnome-maps-3.38.1.1/lib/maps-osm-object.c:281:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[16];
data/gnome-maps-3.38.1.1/lib/maps-osm-object.c:288:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[32];
data/gnome-maps-3.38.1.1/lib/maps-osm-relation.c:82:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[16];
data/gnome-maps-3.38.1.1/lib/maps-osm-way.c:50:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[16];
data/gnome-maps-3.38.1.1/lib/maps-osm-oauth-proxy-call.c:54: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).
  *content_len = strlen (payload);

ANALYSIS SUMMARY:

Hits = 9
Lines analyzed = 3447 in approximately 0.21 seconds (16705 lines/second)
Physical Source Lines of Code (SLOC) = 2294
Hits@level = [0]   0 [1]   1 [2]   8 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   9 [1+]   9 [2+]   8 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 3.92328 [1+] 3.92328 [2+] 3.48736 [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.