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/r-cran-base64enc-0.1-3/src/base64.c
Examining data/r-cran-base64enc-0.1-3/src/utf8.c
Examining data/r-cran-base64enc-0.1-3/src/uriencode.c

FINAL RESULTS:

data/r-cran-base64enc-0.1-3/src/base64.c:126:7:  [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(dst, nl);
data/r-cran-base64enc-0.1-3/src/base64.c:84:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char stb[8192];
data/r-cran-base64enc-0.1-3/src/uriencode.c:11:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tab[256];
data/r-cran-base64enc-0.1-3/src/utf8.c:7:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char cause[512];
data/r-cran-base64enc-0.1-3/src/base64.c:106:20:  [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).
	blen_t nll = nl ? strlen(nl) : 0;
data/r-cran-base64enc-0.1-3/src/base64.c:163:8:  [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).
	tl += strlen(CHAR(STRING_ELT(what, i)));

ANALYSIS SUMMARY:

Hits = 6
Lines analyzed = 335 in approximately 0.03 seconds (10013 lines/second)
Physical Source Lines of Code (SLOC) = 293
Hits@level = [0]   1 [1]   2 [2]   3 [3]   0 [4]   1 [5]   0
Hits@level+ = [0+]   7 [1+]   6 [2+]   4 [3+]   1 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 23.8908 [1+] 20.4778 [2+] 13.6519 [3+] 3.41297 [4+] 3.41297 [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.