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-warp-0.2.0/src/warp.h
Examining data/r-cran-warp-0.2.0/src/boundary.c
Examining data/r-cran-warp-0.2.0/src/coercion.c
Examining data/r-cran-warp-0.2.0/src/timezone.c
Examining data/r-cran-warp-0.2.0/src/date.c
Examining data/r-cran-warp-0.2.0/src/init.c
Examining data/r-cran-warp-0.2.0/src/utils.c
Examining data/r-cran-warp-0.2.0/src/distance.c
Examining data/r-cran-warp-0.2.0/src/utils.h
Examining data/r-cran-warp-0.2.0/src/get.c
Examining data/r-cran-warp-0.2.0/src/divmod.h
Examining data/r-cran-warp-0.2.0/src/change.c
Examining data/r-cran-warp-0.2.0/src/divmod.c

FINAL RESULTS:

data/r-cran-warp-0.2.0/src/utils.c:245:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf(buf, BUFSIZE, why, dots);
data/r-cran-warp-0.2.0/src/utils.c:241:3:  [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 buf[BUFSIZE];
data/r-cran-warp-0.2.0/src/timezone.c:42:7:  [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).
  if (strlen(time_zone) == 0) {
data/r-cran-warp-0.2.0/src/timezone.c:131:7:  [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).
  if (strlen(origin_time_zone) == 0) {

ANALYSIS SUMMARY:

Hits = 4
Lines analyzed = 4385 in approximately 0.10 seconds (44007 lines/second)
Physical Source Lines of Code (SLOC) = 2883
Hits@level = [0]   0 [1]   2 [2]   1 [3]   0 [4]   1 [5]   0
Hits@level+ = [0+]   4 [1+]   4 [2+]   2 [3+]   1 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 1.38744 [1+] 1.38744 [2+] 0.693722 [3+] 0.346861 [4+] 0.346861 [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.