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/rggobi-2.1.22/src/io.c
Examining data/rggobi-2.1.22/src/RSGGobiEntryPoints.h
Examining data/rggobi-2.1.22/src/RSEval.c
Examining data/rggobi-2.1.22/src/conversion.h
Examining data/rggobi-2.1.22/src/RSEval.h
Examining data/rggobi-2.1.22/src/conversion.c
Examining data/rggobi-2.1.22/src/RSCommon.h
Examining data/rggobi-2.1.22/src/keyHandlers.c
Examining data/rggobi-2.1.22/src/plugins.c
Examining data/rggobi-2.1.22/src/utils.c
Examining data/rggobi-2.1.22/src/colorSchemes.c
Examining data/rggobi-2.1.22/src/RUtils.h
Examining data/rggobi-2.1.22/src/ui.c
Examining data/rggobi-2.1.22/src/session.c
Examining data/rggobi-2.1.22/src/identify.c
Examining data/rggobi-2.1.22/src/displays.c
Examining data/rggobi-2.1.22/src/ggobi.c
Examining data/rggobi-2.1.22/src/data.c
Examining data/rggobi-2.1.22/src/edges.c
Examining data/rggobi-2.1.22/src/brush.c
Examining data/rggobi-2.1.22/src/modes.c
Examining data/rggobi-2.1.22/src/print.c
Examining data/rggobi-2.1.22/src/dataset.c
Examining data/rggobi-2.1.22/src/rggobi_init.c
Examining data/rggobi-2.1.22/src/plots.c
Examining data/rggobi-2.1.22/src/RSGGobi.h
Examining data/rggobi-2.1.22/src/init.c
Examining data/rggobi-2.1.22/src/display.c
Examining data/rggobi-2.1.22/src/plot.c
Examining data/rggobi-2.1.22/src/longitudinal.c
Examining data/rggobi-2.1.22/src/smooth.c

FINAL RESULTS:

data/rggobi-2.1.22/src/RSCommon.h:146:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  #define PROBLEM sprintf(error_buf,
data/rggobi-2.1.22/src/colorSchemes.c:143:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        switch(scheme->system) {
data/rggobi-2.1.22/src/colorSchemes.c:161:36:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    INTEGER_DATA(tmp)[0] = scheme->system;
data/rggobi-2.1.22/src/io.c:24:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(CHAR_DEREF(STRING_ELT(filename, 0)), "w");

ANALYSIS SUMMARY:

Hits = 4
Lines analyzed = 4904 in approximately 0.14 seconds (34542 lines/second)
Physical Source Lines of Code (SLOC) = 3667
Hits@level = [0]   1 [1]   0 [2]   1 [3]   0 [4]   3 [5]   0
Hits@level+ = [0+]   5 [1+]   4 [2+]   4 [3+]   3 [4+]   3 [5+]   0
Hits/KSLOC@level+ = [0+] 1.36351 [1+] 1.09081 [2+] 1.09081 [3+] 0.818107 [4+] 0.818107 [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.