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/gfbgraph-0.2.4/gfbgraph/gfbgraph-album.c
Examining data/gfbgraph-0.2.4/gfbgraph/gfbgraph-album.h
Examining data/gfbgraph-0.2.4/gfbgraph/gfbgraph-authorizer.c
Examining data/gfbgraph-0.2.4/gfbgraph/gfbgraph-authorizer.h
Examining data/gfbgraph-0.2.4/gfbgraph/gfbgraph-common.c
Examining data/gfbgraph-0.2.4/gfbgraph/gfbgraph-common.h
Examining data/gfbgraph-0.2.4/gfbgraph/gfbgraph-connectable.c
Examining data/gfbgraph-0.2.4/gfbgraph/gfbgraph-connectable.h
Examining data/gfbgraph-0.2.4/gfbgraph/gfbgraph-goa-authorizer.c
Examining data/gfbgraph-0.2.4/gfbgraph/gfbgraph-goa-authorizer.h
Examining data/gfbgraph-0.2.4/gfbgraph/gfbgraph-node.c
Examining data/gfbgraph-0.2.4/gfbgraph/gfbgraph-node.h
Examining data/gfbgraph-0.2.4/gfbgraph/gfbgraph-photo.c
Examining data/gfbgraph-0.2.4/gfbgraph/gfbgraph-photo.h
Examining data/gfbgraph-0.2.4/gfbgraph/gfbgraph-simple-authorizer.c
Examining data/gfbgraph-0.2.4/gfbgraph/gfbgraph-simple-authorizer.h
Examining data/gfbgraph-0.2.4/gfbgraph/gfbgraph-user.c
Examining data/gfbgraph-0.2.4/gfbgraph/gfbgraph-user.h
Examining data/gfbgraph-0.2.4/gfbgraph/gfbgraph.h
Examining data/gfbgraph-0.2.4/tests/autoptr.c
Examining data/gfbgraph-0.2.4/tests/gtestutils.c

FINAL RESULTS:

data/gfbgraph-0.2.4/gfbgraph/gfbgraph-node.c:285:32:  [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_return_val_if_fail ((strlen (id) > 0), NULL);

ANALYSIS SUMMARY:

Hits = 1
Lines analyzed = 3830 in approximately 0.14 seconds (26483 lines/second)
Physical Source Lines of Code (SLOC) = 2160
Hits@level = [0]   0 [1]   1 [2]   0 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   1 [1+]   1 [2+]   0 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 0.462963 [1+] 0.462963 [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.