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-bbmisc-1.11/src/which_first.c
Examining data/r-cran-bbmisc-1.11/src/itostr.h
Examining data/r-cran-bbmisc-1.11/src/macros.h
Examining data/r-cran-bbmisc-1.11/src/getMaxColRowIndex.h
Examining data/r-cran-bbmisc-1.11/src/getMaxColRowIndex.c
Examining data/r-cran-bbmisc-1.11/src/getMaxIndex.h
Examining data/r-cran-bbmisc-1.11/src/which_first.h
Examining data/r-cran-bbmisc-1.11/src/itostr.c
Examining data/r-cran-bbmisc-1.11/src/getMaxIndex.c
Examining data/r-cran-bbmisc-1.11/src/init.c

FINAL RESULTS:

data/r-cran-bbmisc-1.11/src/itostr.c:5:14:  [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 const char base36[37] = "0123456789abcdefghijklmnopqrstuvwxyz";
data/r-cran-bbmisc-1.11/src/itostr.c:13: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 buffer[buflen + 1];

ANALYSIS SUMMARY:

Hits = 2
Lines analyzed = 256 in approximately 0.02 seconds (10822 lines/second)
Physical Source Lines of Code (SLOC) = 204
Hits@level = [0]   0 [1]   0 [2]   2 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   2 [1+]   2 [2+]   2 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 9.80392 [1+] 9.80392 [2+] 9.80392 [3+]   0 [4+]   0 [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.