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/libmsv-1.1.1/msv/msv.h
Examining data/libmsv-1.1.1/msv.c
Examining data/libmsv-1.1.1/checkmsva.c

FINAL RESULTS:

data/libmsv-1.1.1/msv.c:303:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (reviewurl, "%s%s", ctx->socket_location, "/reviewcert");
data/libmsv-1.1.1/msv.c:91:19:  [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.
  else if ((env = getenv ("MONKEYSPHERE_VALIDATION_AGENT_SOCKET")))
data/libmsv-1.1.1/msv.c:69:3:  [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 (ud, ptr, size * nmemb);
data/libmsv-1.1.1/msv.c:295:15:  [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).
  oldurllen = strlen (ctx->socket_location);

ANALYSIS SUMMARY:

Hits = 4
Lines analyzed = 653 in approximately 0.03 seconds (22058 lines/second)
Physical Source Lines of Code (SLOC) = 447
Hits@level = [0]   4 [1]   1 [2]   1 [3]   1 [4]   1 [5]   0
Hits@level+ = [0+]   8 [1+]   4 [2+]   3 [3+]   2 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 17.8971 [1+] 8.94855 [2+] 6.71141 [3+] 4.47427 [4+] 2.23714 [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.