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/haskell-haskell-gi-base-0.24.2/c/hsgclosure.c

FINAL RESULTS:

data/haskell-haskell-gi-base-0.24.2/c/hsgclosure.c:73:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
__attribute__ ((format (printf, 1, 2)))
data/haskell-haskell-gi-base-0.24.2/c/hsgclosure.c:82:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, msg, args);
data/haskell-haskell-gi-base-0.24.2/c/hsgclosure.c:19:26:  [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.
    __print_debug_info = getenv ("HASKELL_GI_DEBUG_MEM") != NULL;
data/haskell-haskell-gi-base-0.24.2/c/hsgclosure.c:240:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&params[i].value, &values[i], sizeof(GValue));

ANALYSIS SUMMARY:

Hits = 4
Lines analyzed = 404 in approximately 0.03 seconds (13581 lines/second)
Physical Source Lines of Code (SLOC) = 272
Hits@level = [0]   1 [1]   0 [2]   1 [3]   1 [4]   2 [5]   0
Hits@level+ = [0+]   5 [1+]   4 [2+]   4 [3+]   3 [4+]   2 [5+]   0
Hits/KSLOC@level+ = [0+] 18.3824 [1+] 14.7059 [2+] 14.7059 [3+] 11.0294 [4+] 7.35294 [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.