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-suppdists-1.1-9.5/src/wheeler.h
Examining data/r-cran-suppdists-1.1-9.5/src/datatabs.h
Examining data/r-cran-suppdists-1.1-9.5/src/init.cpp
Examining data/r-cran-suppdists-1.1-9.5/src/dists.h
Examining data/r-cran-suppdists-1.1-9.5/src/dists.cpp

FINAL RESULTS:

data/r-cran-suppdists-1.1-9.5/src/dists.cpp:9:16:  [4] (format) snprintf:
  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.
extern "C" int snprintf(char *str, size_t size, const char *format, ...);

ANALYSIS SUMMARY:

Hits = 1
Lines analyzed = 13500 in approximately 0.41 seconds (33310 lines/second)
Physical Source Lines of Code (SLOC) = 11832
Hits@level = [0]  10 [1]   0 [2]   0 [3]   0 [4]   1 [5]   0
Hits@level+ = [0+]  11 [1+]   1 [2+]   1 [3+]   1 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 0.929682 [1+] 0.0845166 [2+] 0.0845166 [3+] 0.0845166 [4+] 0.0845166 [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.