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/camljava-0.3/lib/jnistubs.c

FINAL RESULTS:

data/camljava-0.3/lib/jnistubs.c:706:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(classpath, setclasspath);
data/camljava-0.3/lib/jnistubs.c:707:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(classpath, String_val(vclasspath));
data/camljava-0.3/lib/jnistubs.c:546: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(String_val(res), chrs, len);
data/camljava-0.3/lib/jnistubs.c:705:16:  [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).
    stat_alloc(strlen(setclasspath) + string_length(vclasspath) + 1);

ANALYSIS SUMMARY:

Hits = 4
Lines analyzed = 991 in approximately 0.06 seconds (16550 lines/second)
Physical Source Lines of Code (SLOC) = 839
Hits@level = [0]   1 [1]   1 [2]   1 [3]   0 [4]   2 [5]   0
Hits@level+ = [0+]   5 [1+]   4 [2+]   3 [3+]   2 [4+]   2 [5+]   0
Hits/KSLOC@level+ = [0+] 5.95948 [1+] 4.76758 [2+] 3.57569 [3+] 2.38379 [4+] 2.38379 [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.