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/moblin-gtk-engine-1.1.1/src/moblin-netbook-main.c
Examining data/moblin-gtk-engine-1.1.1/src/moblin-netbook-rc-style.c
Examining data/moblin-gtk-engine-1.1.1/src/moblin-netbook-rc-style.h
Examining data/moblin-gtk-engine-1.1.1/src/moblin-netbook-style.c
Examining data/moblin-gtk-engine-1.1.1/src/moblin-netbook-style.h
Examining data/moblin-gtk-engine-1.1.1/src/moblin-netbook-utils.c
Examining data/moblin-gtk-engine-1.1.1/src/moblin-netbook-utils.h

FINAL RESULTS:

data/moblin-gtk-engine-1.1.1/src/moblin-netbook-style.c:1400:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  debug = getenv ("MOBLIN_NETBOOK_ENGINE_DEBUG");
data/moblin-gtk-engine-1.1.1/src/moblin-netbook-style.c:1402:16:  [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).
    do_debug = atoi (debug);

ANALYSIS SUMMARY:

Hits = 2
Lines analyzed = 2161 in approximately 0.08 seconds (27730 lines/second)
Physical Source Lines of Code (SLOC) = 1574
Hits@level = [0]   3 [1]   0 [2]   1 [3]   1 [4]   0 [5]   0
Hits@level+ = [0+]   5 [1+]   2 [2+]   2 [3+]   1 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 3.17662 [1+] 1.27065 [2+] 1.27065 [3+] 0.635324 [4+]   0 [5+]   0
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.