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/setbfree-0.8.11/b_chorato/lv2.c
Examining data/setbfree-0.8.11/b_conv/convolution.cc
Examining data/setbfree-0.8.11/b_conv/convolution.h
Examining data/setbfree-0.8.11/b_overdrive/filterTools.c
Examining data/setbfree-0.8.11/b_overdrive/filterTools.h
Examining data/setbfree-0.8.11/b_overdrive/jboverdrive.c
Examining data/setbfree-0.8.11/b_overdrive/lv2.c
Examining data/setbfree-0.8.11/b_overdrive/overdrive.c
Examining data/setbfree-0.8.11/b_overdrive/overdrive.h
Examining data/setbfree-0.8.11/b_overdrive/overmaker.c
Examining data/setbfree-0.8.11/b_overdrive/overmaker.h
Examining data/setbfree-0.8.11/b_overdrive/overmakerdefs.h
Examining data/setbfree-0.8.11/b_overdrive/ovt_biased.c
Examining data/setbfree-0.8.11/b_overdrive/ovt_biased.h
Examining data/setbfree-0.8.11/b_overdrive/ovt_quadratic.c
Examining data/setbfree-0.8.11/b_reverb/lv2.c
Examining data/setbfree-0.8.11/b_reverb/reverb.c
Examining data/setbfree-0.8.11/b_reverb/reverb.h
Examining data/setbfree-0.8.11/b_synth/lv2.c
Examining data/setbfree-0.8.11/b_synth/midnam_lv2.h
Examining data/setbfree-0.8.11/b_synth/textures/bg_left_ctrl.c
Examining data/setbfree-0.8.11/b_synth/textures/bg_leslie_drum.c
Examining data/setbfree-0.8.11/b_synth/textures/bg_leslie_horn.c
Examining data/setbfree-0.8.11/b_synth/textures/bg_right_ctrl.c
Examining data/setbfree-0.8.11/b_synth/textures/btn_overdrive.c
Examining data/setbfree-0.8.11/b_synth/textures/btn_perc.c
Examining data/setbfree-0.8.11/b_synth/textures/btn_perc_decay.c
Examining data/setbfree-0.8.11/b_synth/textures/btn_perc_harmonic.c
Examining data/setbfree-0.8.11/b_synth/textures/btn_perc_volume.c
Examining data/setbfree-0.8.11/b_synth/textures/btn_vibl.c
Examining data/setbfree-0.8.11/b_synth/textures/btn_vibu.c
Examining data/setbfree-0.8.11/b_synth/textures/dial.c
Examining data/setbfree-0.8.11/b_synth/textures/drawbar.c
Examining data/setbfree-0.8.11/b_synth/textures/help_screen_image.c
Examining data/setbfree-0.8.11/b_synth/textures/ui_button_image.c
Examining data/setbfree-0.8.11/b_synth/textures/ui_proc_image.c
Examining data/setbfree-0.8.11/b_synth/textures/uim_background.c
Examining data/setbfree-0.8.11/b_synth/textures/uim_cable1.c
Examining data/setbfree-0.8.11/b_synth/textures/uim_cable2.c
Examining data/setbfree-0.8.11/b_synth/textures/uim_caps.c
Examining data/setbfree-0.8.11/b_synth/textures/uim_transformer.c
Examining data/setbfree-0.8.11/b_synth/textures/uim_tube1.c
Examining data/setbfree-0.8.11/b_synth/textures/uim_tube2.c
Examining data/setbfree-0.8.11/b_synth/textures/wood.c
Examining data/setbfree-0.8.11/b_synth/ui.c
Examining data/setbfree-0.8.11/b_synth/ui_model.h
Examining data/setbfree-0.8.11/b_synth/uris.h
Examining data/setbfree-0.8.11/b_whirl/b_whirl.h
Examining data/setbfree-0.8.11/b_whirl/eqcomp.c
Examining data/setbfree-0.8.11/b_whirl/eqcomp.h
Examining data/setbfree-0.8.11/b_whirl/gui/b_whirl.c
Examining data/setbfree-0.8.11/b_whirl/gui/rtk_lever.h
Examining data/setbfree-0.8.11/b_whirl/lv2.c
Examining data/setbfree-0.8.11/b_whirl/whirl.c
Examining data/setbfree-0.8.11/b_whirl/whirl.h
Examining data/setbfree-0.8.11/pugl/pugl.h
Examining data/setbfree-0.8.11/pugl/pugl_internal.h
Examining data/setbfree-0.8.11/pugl/pugl_win.cpp
Examining data/setbfree-0.8.11/pugl/pugl_x11.c
Examining data/setbfree-0.8.11/robtk/gl/common_cgl.h
Examining data/setbfree-0.8.11/robtk/gl/layout.h
Examining data/setbfree-0.8.11/robtk/gl/posringbuf.h
Examining data/setbfree-0.8.11/robtk/gl/robwidget_gl.h
Examining data/setbfree-0.8.11/robtk/gl/xternalui.c
Examining data/setbfree-0.8.11/robtk/gl/xternalui.h
Examining data/setbfree-0.8.11/robtk/gpg_check.c
Examining data/setbfree-0.8.11/robtk/gpg_init.c
Examining data/setbfree-0.8.11/robtk/jackwrap.c
Examining data/setbfree-0.8.11/robtk/lv2_rgext.h
Examining data/setbfree-0.8.11/robtk/robtk.h
Examining data/setbfree-0.8.11/robtk/rtk/common.h
Examining data/setbfree-0.8.11/robtk/rtk/style.h
Examining data/setbfree-0.8.11/robtk/ui_gl.c
Examining data/setbfree-0.8.11/robtk/weakjack/weak_libjack.c
Examining data/setbfree-0.8.11/robtk/weakjack/weak_libjack.h
Examining data/setbfree-0.8.11/robtk/widgets/robtk_checkbutton.h
Examining data/setbfree-0.8.11/robtk/widgets/robtk_checkimgbutton.h
Examining data/setbfree-0.8.11/robtk/widgets/robtk_dial.h
Examining data/setbfree-0.8.11/robtk/widgets/robtk_drawingarea.h
Examining data/setbfree-0.8.11/robtk/widgets/robtk_image.h
Examining data/setbfree-0.8.11/robtk/widgets/robtk_label.h
Examining data/setbfree-0.8.11/robtk/widgets/robtk_multibutton.h
Examining data/setbfree-0.8.11/robtk/widgets/robtk_pushbutton.h
Examining data/setbfree-0.8.11/robtk/widgets/robtk_radiobutton.h
Examining data/setbfree-0.8.11/robtk/widgets/robtk_scale.h
Examining data/setbfree-0.8.11/robtk/widgets/robtk_selector.h
Examining data/setbfree-0.8.11/robtk/widgets/robtk_separator.h
Examining data/setbfree-0.8.11/robtk/widgets/robtk_spinner.h
Examining data/setbfree-0.8.11/robtk/widgets/robtk_xyplot.h
Examining data/setbfree-0.8.11/src/cfgParser.c
Examining data/setbfree-0.8.11/src/cfgParser.h
Examining data/setbfree-0.8.11/src/defaultpgm.h
Examining data/setbfree-0.8.11/src/global_inst.h
Examining data/setbfree-0.8.11/src/main.c
Examining data/setbfree-0.8.11/src/main.h
Examining data/setbfree-0.8.11/src/memstream.c
Examining data/setbfree-0.8.11/src/memstream.h
Examining data/setbfree-0.8.11/src/midi.c
Examining data/setbfree-0.8.11/src/midi.h
Examining data/setbfree-0.8.11/src/midi_aseq.c
Examining data/setbfree-0.8.11/src/midi_aseq.h
Examining data/setbfree-0.8.11/src/midi_types.h
Examining data/setbfree-0.8.11/src/midnam.c
Examining data/setbfree-0.8.11/src/pgmParser.c
Examining data/setbfree-0.8.11/src/pgmParser.h
Examining data/setbfree-0.8.11/src/program.c
Examining data/setbfree-0.8.11/src/program.h
Examining data/setbfree-0.8.11/src/state.c
Examining data/setbfree-0.8.11/src/state.h
Examining data/setbfree-0.8.11/src/tonegen.c
Examining data/setbfree-0.8.11/src/tonegen.h
Examining data/setbfree-0.8.11/src/vibrato.c
Examining data/setbfree-0.8.11/src/vibrato.h
Examining data/setbfree-0.8.11/ui/desc.h

FINAL RESULTS:

data/setbfree-0.8.11/b_conv/convolution.cc:204:4:  [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.
			snprintf (ir_fn, len, irf, SampleRateI);
data/setbfree-0.8.11/b_conv/convolution.cc:214:3:  [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.
		snprintf (ir_fn, len, DFLT_IR_STRING, SampleRateI);
data/setbfree-0.8.11/b_conv/convolution.cc:218:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (access (ir_fn, R_OK) != 0) {
data/setbfree-0.8.11/b_overdrive/overmaker.c:858:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf,
data/setbfree-0.8.11/b_overdrive/overmaker.c:1220:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "%s = %s;", ys, xs);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1234:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "float e = 6.0 * %s;", xs);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1239:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "%s = (e + e) - (e * e);", ys);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1241:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "%s = -%s;", ys, ys);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1246:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "%s = (e + e) - (e * e);", ys);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1489:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf,
data/setbfree-0.8.11/b_overdrive/overmaker.c:1494:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf,
data/setbfree-0.8.11/b_overdrive/overmaker.c:1500:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf,
data/setbfree-0.8.11/b_overdrive/overmaker.c:1507:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf,
data/setbfree-0.8.11/b_overdrive/overmaker.c:1514:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf,
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:255:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf,
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:262:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf,
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:269:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf,
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:304:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "%s -= (pp->adwGfb * pp->adwGfZ);", xs);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:311:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "float temp = %s - pp->adwZ;", xs);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:313:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "pp->adwZ = %s + (pp->adwZ * pp->adwFb);", xs);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:315:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "%s = temp;", xs);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:321:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "if (%s < 0.0) {", xs);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:326:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "float x2 = %s - pp->bias;", xs);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:329:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "%s = (1.0 / (1.0 + (x2 * x2))) - 1.0 + pp->norm;", ys);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:337:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "float x2 = %s + pp->bias;", xs);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:340:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "%s = 1.0 - pp->norm - (1.0 / (1.0 + (x2 * x2)));", ys);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:350:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "float temp = %s + (pp->adwFb2 * pp->adwZ1);", ys);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:352:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "%s = temp - pp->adwZ1;", ys);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:362:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "pp->adwGfZ = %s;", ys);
data/setbfree-0.8.11/b_overdrive/ovt_quadratic.c:97:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "void %s (unsigned char uc) {", controllerNames[0]);
data/setbfree-0.8.11/b_overdrive/ovt_quadratic.c:127:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "tx = (%s < 0.0) ? -%s : %s;", xs, xs, xs);
data/setbfree-0.8.11/b_overdrive/ovt_quadratic.c:131:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "%s = tx * q_Tni;", ys);
data/setbfree-0.8.11/b_overdrive/ovt_quadratic.c:139:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "%s = (q_Th + (xa / (1.0 + (xb * xb)))) * q_Tni;", ys);
data/setbfree-0.8.11/b_overdrive/ovt_quadratic.c:145:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "%s = 1.0;", ys);
data/setbfree-0.8.11/b_overdrive/ovt_quadratic.c:149:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "if (%s < 0.0) %s = -%s;", xs, ys, ys);
data/setbfree-0.8.11/b_synth/lv2.c:392:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (tmp, "C %s=%s\n", key, kv);
data/setbfree-0.8.11/b_synth/lv2.c:394:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (tmp, "M %s=%d\n", key, val);
data/setbfree-0.8.11/b_synth/lv2.c:397:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat (*cfg, tmp);
data/setbfree-0.8.11/b_synth/lv2.c:452:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat (cfg, out);
data/setbfree-0.8.11/b_synth/lv2.c:783:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (tmp, "%s executed successfully.",
data/setbfree-0.8.11/b_synth/lv2.c:801:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (tmp, "error loading CFG: '%s'", w->msg);
data/setbfree-0.8.11/b_synth/lv2.c:803:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (tmp, "loaded CFG: '%s'", w->msg);
data/setbfree-0.8.11/b_synth/lv2.c:808:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (tmp, "error loading PGM: '%s'", w->msg);
data/setbfree-0.8.11/b_synth/lv2.c:810:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (tmp, "loaded PGM: '%s'", w->msg);
data/setbfree-0.8.11/b_synth/lv2.c:815:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (tmp, "error saving PGM: '%s'", w->msg);
data/setbfree-0.8.11/b_synth/lv2.c:817:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (tmp, "saved PGM: '%s'", w->msg);
data/setbfree-0.8.11/b_synth/lv2.c:822:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (tmp, "error saving CFG: '%s'", w->msg);
data/setbfree-0.8.11/b_synth/lv2.c:824:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (tmp, "saved CFG: '%s'", w->msg);
data/setbfree-0.8.11/b_synth/lv2.c:970:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (defaultConfigFile, "%s/setBfree/default.cfg", getenv ("XDG_CONFIG_HOME"));
data/setbfree-0.8.11/b_synth/lv2.c:971:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (defaultProgrammeFile, "%s/setBfree/default.pgm", getenv ("XDG_CONFIG_HOME"));
data/setbfree-0.8.11/b_synth/lv2.c:977:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (defaultConfigFile, "%s/Library/Preferences/setBfree/default.cfg", getenv ("HOME"));
data/setbfree-0.8.11/b_synth/lv2.c:978:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (defaultProgrammeFile, "%s/Library/Preferences/setBfree/default.pgm", getenv ("HOME"));
data/setbfree-0.8.11/b_synth/lv2.c:982:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (defaultConfigFile, "%s/.config/setBfree/default.cfg", getenv ("HOME"));
data/setbfree-0.8.11/b_synth/lv2.c:983:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (defaultProgrammeFile, "%s/.config/setBfree/default.pgm", getenv ("HOME"));
data/setbfree-0.8.11/b_synth/lv2.c:988:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (access (defaultConfigFile, R_OK) == 0) {
data/setbfree-0.8.11/b_synth/lv2.c:997:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (access (defaultProgrammeFile, R_OK) == 0) {
data/setbfree-0.8.11/b_synth/lv2.c:1004:2:  [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 (b3s->lv2nfo, "v" VERSION);
data/setbfree-0.8.11/b_synth/lv2.c:1024:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf (signature_file0, "%s/.%s", home, SIGFILE);
data/setbfree-0.8.11/b_synth/lv2.c:1027:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf (signature_file1, "%s/.x42_license.txt", home);
data/setbfree-0.8.11/b_synth/lv2.c:1030:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if (!access (signature_file0, R_OK)) {
data/setbfree-0.8.11/b_synth/lv2.c:1032:15:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		} else if (!access (signature_file1, R_OK)) {
data/setbfree-0.8.11/b_synth/ui.c:520:2:  [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 (fn, dir);
data/setbfree-0.8.11/b_synth/ui.c:521:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat (fn, DIRSEP);
data/setbfree-0.8.11/b_synth/ui.c:522:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat (fn, file);
data/setbfree-0.8.11/b_synth/ui.c:626:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat (ui->dirlist[ui->dirlistlen], DIRSEP);
data/setbfree-0.8.11/b_synth/ui.c:1674:20:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (!override && !access (fn, F_OK)) {
data/setbfree-0.8.11/b_synth/ui.c:1720:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (ui->textentry_title, "%s", title);
data/setbfree-0.8.11/b_synth/ui.c:3051:5:  [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 (fontfilepath, dirname (tmp));
data/setbfree-0.8.11/b_synth/ui.c:3053:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				strcat (fontfilepath, (const char*)"/");
data/setbfree-0.8.11/b_synth/ui.c:3055:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				strcat (fontfilepath, basename (tmp));
data/setbfree-0.8.11/b_synth/ui.c:3156:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf (txt, "p%3d: %s", i + 1, ui->midipgm[i]);
data/setbfree-0.8.11/b_synth/ui.c:5156:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (ui->defaultConfigFile, "%s/setBfree/default.cfg", getenv ("XDG_CONFIG_HOME"));
data/setbfree-0.8.11/b_synth/ui.c:5157:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (ui->defaultProgrammeFile, "%s/setBfree/default.pgm", getenv ("XDG_CONFIG_HOME"));
data/setbfree-0.8.11/b_synth/ui.c:5163:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (ui->defaultConfigFile, "%s/Library/Preferences/setBfree/default.cfg", getenv ("HOME"));
data/setbfree-0.8.11/b_synth/ui.c:5164:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (ui->defaultProgrammeFile, "%s/Library/Preferences/setBfree/default.pgm", getenv ("HOME"));
data/setbfree-0.8.11/b_synth/ui.c:5168:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (ui->defaultConfigFile, "%s/.config/setBfree/default.cfg", getenv ("HOME"));
data/setbfree-0.8.11/b_synth/ui.c:5169:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (ui->defaultProgrammeFile, "%s/.config/setBfree/default.pgm", getenv ("HOME"));
data/setbfree-0.8.11/b_synth/ui.c:5180:4:  [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 (ui->bundlePath, d);
data/setbfree-0.8.11/b_synth/ui.c:5315:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat (ui->ctrls[fnid].midinfo, k);
data/setbfree-0.8.11/b_whirl/gui/b_whirl.c:1373:4:  [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.
			snprintf (txt, 24, p->fmt, dial_to_param (p, d->cur));
data/setbfree-0.8.11/b_whirl/gui/b_whirl.c:1375:4:  [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.
			snprintf (txt, 24, p->fmt, d->cur);
data/setbfree-0.8.11/b_whirl/gui/b_whirl.c:1470:3:  [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.
		snprintf (tmp, 24, FMT, dial_to_param (&(PARAM), (V))); \
data/setbfree-0.8.11/robtk/gpg_check.c:28:2:  [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(self->gpg_data, "v" VERSION);
data/setbfree-0.8.11/robtk/gpg_check.c:38:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(signature_file1, "%s%s\\%s", homedrive, homepath, SIGFILE);
data/setbfree-0.8.11/robtk/gpg_check.c:41:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(signature_file3, "%s%s\\x42_license.txt", homedrive, homepath);
data/setbfree-0.8.11/robtk/gpg_check.c:46:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(signature_file0, "%s/%s", home, SIGFILE);
data/setbfree-0.8.11/robtk/gpg_check.c:49:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(signature_file1, "%s/.%s", home, SIGFILE);
data/setbfree-0.8.11/robtk/gpg_check.c:52:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(signature_file2, "%s/x42_license.txt", home);
data/setbfree-0.8.11/robtk/gpg_check.c:55:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(signature_file3, "%s/.x42_license.txt", home);
data/setbfree-0.8.11/robtk/jackwrap.c:1671:9:  [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.
		(void)system ("xmessage -button ok -center \"Cannot connect to JACK.\nPlease start the JACK Server first.\" &");
data/setbfree-0.8.11/robtk/robtk.h:260:36:  [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).
#define ROBWIDGET_SETNAME(RW, TXT) strcpy(((RobWidget*)(RW))->name, TXT); // max 11 chars
data/setbfree-0.8.11/robtk/rtk/common.h:378:2:  [4] (shell) ShellExecute:
  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.
	ShellExecute(NULL, "open", url, NULL, NULL, SW_SHOWNORMAL);
data/setbfree-0.8.11/robtk/rtk/common.h:383:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tmp, "xdg-open %s &", url);
data/setbfree-0.8.11/robtk/rtk/common.h:384:9:  [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.
	(void) system (tmp);
data/setbfree-0.8.11/robtk/widgets/robtk_spinner.h:51:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(buf, d->prec_fmt, robtk_dial_get_value(d->dial));
data/setbfree-0.8.11/robtk/widgets/robtk_spinner.h:53:2:  [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.
	snprintf(buf, 32, d->prec_fmt, robtk_dial_get_value(d->dial));
data/setbfree-0.8.11/src/main.c:850:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (defaultConfigFile, "%s/setBfree/default.cfg", getenv ("XDG_CONFIG_HOME"));
data/setbfree-0.8.11/src/main.c:851:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (defaultProgrammeFile, "%s/setBfree/default.pgm", getenv ("XDG_CONFIG_HOME"));
data/setbfree-0.8.11/src/main.c:856:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (defaultConfigFile, "%s/.config/setBfree/default.cfg", getenv ("HOME"));
data/setbfree-0.8.11/src/main.c:857:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (defaultProgrammeFile, "%s/.config/setBfree/default.pgm", getenv ("HOME"));
data/setbfree-0.8.11/src/main.c:876:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if (access (defaultConfigFile, R_OK) == 0) {
data/setbfree-0.8.11/src/main.c:883:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if (access (alternateConfigFile, R_OK) == 0) {
data/setbfree-0.8.11/src/main.c:917:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		if (access (defaultProgrammeFile, R_OK) == 0)
data/setbfree-0.8.11/src/midi.c:1140:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (rckey, "midi.controller.%s.%d",
data/setbfree-0.8.11/src/midi.c:1148:3:  [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 (value, ccFuncNames[fnid]);
data/setbfree-0.8.11/src/program.c:217:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf (msg, "Drawbar registration incomplete '%s'", drw);
data/setbfree-0.8.11/src/program.c:292:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (msg, "Transpose: integer expected : '%s'", val);
data/setbfree-0.8.11/src/program.c:295:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (msg, "Transpose: argument out of range : '%s'", val);
data/setbfree-0.8.11/src/program.c:342:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (msg, "Unrecognized property '%s'", sym);
data/setbfree-0.8.11/src/program.c:412:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (msg, "Unrecognized vibrato value '%s'", val);
data/setbfree-0.8.11/src/program.c:425:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (msg, "Unrecognized keyword '%s'", val);
data/setbfree-0.8.11/src/program.c:438:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (msg, "Unrecognized keyword '%s'", val);
data/setbfree-0.8.11/src/program.c:451:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (msg, "Unrecognized percussion enabled value '%s'", val);
data/setbfree-0.8.11/src/program.c:468:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (msg, "Unrecognized percussion volume argument '%s'", val);
data/setbfree-0.8.11/src/program.c:485:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (msg, "Unrecognized percussion speed argument '%s'", val);
data/setbfree-0.8.11/src/program.c:504:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (msg, "Unrecognized percussion harmonic option '%s'", val);
data/setbfree-0.8.11/src/program.c:517:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (msg, "Unrecognized overdrive select argument '%s'", val);
data/setbfree-0.8.11/src/program.c:542:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (msg, "Unrecognized rotary speed argument '%s'", val);
data/setbfree-0.8.11/src/program.c:551:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (msg, "Unrecognized reverb mix value : '%s'", val);
data/setbfree-0.8.11/src/program.c:565:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (msg, "Lower split: unparsable MIDI note number : '%s'", val);
data/setbfree-0.8.11/src/program.c:568:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (msg, "Lower split: MIDI note number out of range: '%s'", val);
data/setbfree-0.8.11/src/program.c:578:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (msg, "Pedal split: unparsable MIDI note number : '%s'", val);
data/setbfree-0.8.11/src/program.c:581:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (msg, "Pedal split: MIDI note number out of range: '%s'", val);
data/setbfree-0.8.11/src/program.c:694:4:  [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 (display, PGM->name);
data/setbfree-0.8.11/src/program.c:704:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat (display, buf);
data/setbfree-0.8.11/src/program.c:712:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat (display, buf);
data/setbfree-0.8.11/src/program.c:720:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat (display, buf);
data/setbfree-0.8.11/src/program.c:1216:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat (PGM->name, name);
data/setbfree-0.8.11/b_conv/convolution.cc:200:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		char* irf = getenv ("BXIRFILE");
data/setbfree-0.8.11/b_conv/convolution.cc:207:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			ir_fn = strdup (getenv ("BXIRFILE"));
data/setbfree-0.8.11/b_overdrive/jboverdrive.c:283:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long (argc, argv, optstring, long_options, NULL)) != -1) {
data/setbfree-0.8.11/b_synth/lv2.c:423:11:  [3] (tmpfile) GetTempFileName:
  Temporary file race condition in certain cases (e.g., if run as SYSTEM in
  many versions of Windows) (CWE-377).
	if (0 == GetTempFileName (temppath, "sbfstate", 0, filename))
data/setbfree-0.8.11/b_synth/lv2.c:937:2:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	srand ((unsigned int)time (NULL));
data/setbfree-0.8.11/b_synth/lv2.c:966:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (getenv ("XDG_CONFIG_HOME")) {
data/setbfree-0.8.11/b_synth/lv2.c:967:34:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		size_t hl            = strlen (getenv ("XDG_CONFIG_HOME"));
data/setbfree-0.8.11/b_synth/lv2.c:970:58:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		sprintf (defaultConfigFile, "%s/setBfree/default.cfg", getenv ("XDG_CONFIG_HOME"));
data/setbfree-0.8.11/b_synth/lv2.c:971:61:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		sprintf (defaultProgrammeFile, "%s/setBfree/default.pgm", getenv ("XDG_CONFIG_HOME"));
data/setbfree-0.8.11/b_synth/lv2.c:972:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	} else if (getenv ("HOME")) {
data/setbfree-0.8.11/b_synth/lv2.c:973:34:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		size_t hl            = strlen (getenv ("HOME"));
data/setbfree-0.8.11/b_synth/lv2.c:977:78:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		sprintf (defaultConfigFile, "%s/Library/Preferences/setBfree/default.cfg", getenv ("HOME"));
data/setbfree-0.8.11/b_synth/lv2.c:978:81:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		sprintf (defaultProgrammeFile, "%s/Library/Preferences/setBfree/default.pgm", getenv ("HOME"));
data/setbfree-0.8.11/b_synth/lv2.c:982:66:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		sprintf (defaultConfigFile, "%s/.config/setBfree/default.cfg", getenv ("HOME"));
data/setbfree-0.8.11/b_synth/lv2.c:983:69:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		sprintf (defaultProgrammeFile, "%s/.config/setBfree/default.pgm", getenv ("HOME"));
data/setbfree-0.8.11/b_synth/lv2.c:1022:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		const char* home = getenv ("HOME");
data/setbfree-0.8.11/b_synth/lv2.c:1281:11:  [3] (tmpfile) GetTempFileName:
  Temporary file race condition in certain cases (e.g., if run as SYSTEM in
  many versions of Windows) (CWE-377).
	if (0 == GetTempFileName (temppath, "sbfmidnam", 0, filename))
data/setbfree-0.8.11/b_synth/ui.c:531:14:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
	char* rfn = realpath (fn, NULL);
data/setbfree-0.8.11/b_synth/ui.c:4989:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (getenv ("HOME")) {
data/setbfree-0.8.11/b_synth/ui.c:4990:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		ui->curdir = strdup (getenv ("HOME"));
data/setbfree-0.8.11/b_synth/ui.c:5152:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (getenv ("XDG_CONFIG_HOME")) {
data/setbfree-0.8.11/b_synth/ui.c:5153:38:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		size_t hl                = strlen (getenv ("XDG_CONFIG_HOME"));
data/setbfree-0.8.11/b_synth/ui.c:5156:62:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		sprintf (ui->defaultConfigFile, "%s/setBfree/default.cfg", getenv ("XDG_CONFIG_HOME"));
data/setbfree-0.8.11/b_synth/ui.c:5157:65:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		sprintf (ui->defaultProgrammeFile, "%s/setBfree/default.pgm", getenv ("XDG_CONFIG_HOME"));
data/setbfree-0.8.11/b_synth/ui.c:5158:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	} else if (getenv ("HOME")) {
data/setbfree-0.8.11/b_synth/ui.c:5159:38:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		size_t hl                = strlen (getenv ("HOME"));
data/setbfree-0.8.11/b_synth/ui.c:5163:82:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		sprintf (ui->defaultConfigFile, "%s/Library/Preferences/setBfree/default.cfg", getenv ("HOME"));
data/setbfree-0.8.11/b_synth/ui.c:5164:85:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		sprintf (ui->defaultProgrammeFile, "%s/Library/Preferences/setBfree/default.pgm", getenv ("HOME"));
data/setbfree-0.8.11/b_synth/ui.c:5168:70:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		sprintf (ui->defaultConfigFile, "%s/.config/setBfree/default.cfg", getenv ("HOME"));
data/setbfree-0.8.11/b_synth/ui.c:5169:73:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		sprintf (ui->defaultProgrammeFile, "%s/.config/setBfree/default.pgm", getenv ("HOME"));
data/setbfree-0.8.11/robtk/gpg_check.c:34:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char * homedrive = getenv("HOMEDRIVE");
data/setbfree-0.8.11/robtk/gpg_check.c:35:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char * homepath = getenv("HOMEPATH");
data/setbfree-0.8.11/robtk/gpg_check.c:44:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char * home = getenv("HOME");
data/setbfree-0.8.11/robtk/jackwrap.c:1468:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long (argc, argv, optstring, long_options, NULL)) != -1) {
data/setbfree-0.8.11/robtk/ui_gl.c:1512:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (getenv("X42_ON_TOP")) {
data/setbfree-0.8.11/robtk/ui_gl.c:1513:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		self->ontop = 0 != atoi (getenv("X42_ON_TOP"));
data/setbfree-0.8.11/robtk/widgets/robtk_dial.h:476:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (!getenv("NO_METER_SHADE") || strlen(getenv("NO_METER_SHADE")) == 0) {
data/setbfree-0.8.11/robtk/widgets/robtk_dial.h:476:42:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (!getenv("NO_METER_SHADE") || strlen(getenv("NO_METER_SHADE")) == 0) {
data/setbfree-0.8.11/src/main.c:735:2:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	srand ((unsigned int)time (NULL));
data/setbfree-0.8.11/src/main.c:757:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long (argc, argv, optstring, long_options, NULL)) != -1) {
data/setbfree-0.8.11/src/main.c:846:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (getenv ("XDG_CONFIG_HOME")) {
data/setbfree-0.8.11/src/main.c:847:34:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		size_t hl            = strlen (getenv ("XDG_CONFIG_HOME"));
data/setbfree-0.8.11/src/main.c:850:58:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		sprintf (defaultConfigFile, "%s/setBfree/default.cfg", getenv ("XDG_CONFIG_HOME"));
data/setbfree-0.8.11/src/main.c:851:61:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		sprintf (defaultProgrammeFile, "%s/setBfree/default.pgm", getenv ("XDG_CONFIG_HOME"));
data/setbfree-0.8.11/src/main.c:852:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	} else if (getenv ("HOME")) {
data/setbfree-0.8.11/src/main.c:853:34:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		size_t hl            = strlen (getenv ("HOME"));
data/setbfree-0.8.11/src/main.c:856:66:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		sprintf (defaultConfigFile, "%s/.config/setBfree/default.cfg", getenv ("HOME"));
data/setbfree-0.8.11/src/main.c:857:69:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		sprintf (defaultProgrammeFile, "%s/.config/setBfree/default.pgm", getenv ("HOME"));
data/setbfree-0.8.11/src/pgmParser.c:373:11:  [3] (tmpfile) GetTempFileName:
  Temporary file race condition in certain cases (e.g., if run as SYSTEM in
  many versions of Windows) (CWE-377).
	if (0 == GetTempFileName (temppath, "sbfpgm", 0, filename))
data/setbfree-0.8.11/b_conv/convolution.cc:128:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				ir_chan[n - 1] = atoi (cfg->value);
data/setbfree-0.8.11/b_conv/convolution.cc:138:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				ir_delay[n - 1] = atoi (cfg->value);
data/setbfree-0.8.11/b_conv/convolution.cc:287:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (outbuf[c], inbuf[c], n_samples * sizeof (float));
data/setbfree-0.8.11/b_conv/convolution.cc:328:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (convproc->inpdata (c), inbuf[c], n_samples * sizeof (float));
data/setbfree-0.8.11/b_conv/convolution.cc:356:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (outbuf[c], convproc->outdata (c), n_samples * sizeof (float));
data/setbfree-0.8.11/b_overdrive/jboverdrive.c:113:2:  [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 tmp[8];
data/setbfree-0.8.11/b_overdrive/jboverdrive.c:296:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				osc_port = atoi (optarg);
data/setbfree-0.8.11/b_overdrive/overdrive.c:373:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(outBuf, inBuf, bufLengthSamples*sizeof(float));
data/setbfree-0.8.11/b_overdrive/overmaker.c:307:2:  [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[BUFSZ];
data/setbfree-0.8.11/b_overdrive/overmaker.c:333:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "static const float aaldef[%d] = {", AAL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:337:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (buf, "%*.*f,", wpw, wpp, aaldef[i]);
data/setbfree-0.8.11/b_overdrive/overmaker.c:340:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "%*.*f", wpw, wpp, aaldef[i]);
data/setbfree-0.8.11/b_overdrive/overmaker.c:353:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "static const int wiLen[%d] = {", R);
data/setbfree-0.8.11/b_overdrive/overmaker.c:357:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (buf, "%d,", ipold[i].terms);
data/setbfree-0.8.11/b_overdrive/overmaker.c:360:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "%d", ipold[i].terms);
data/setbfree-0.8.11/b_overdrive/overmaker.c:371:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "static const float ipwdef[%d] = {", IPOL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:377:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (buf, "% *.*f,", wpw, wpp, ipwdef[i]);
data/setbfree-0.8.11/b_overdrive/overmaker.c:380:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "% *.*f", wpw, wpp, ipwdef[i]);
data/setbfree-0.8.11/b_overdrive/overmaker.c:397:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "static float xzb[%d];", XZB_SIZE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:408:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "static float * xzpe = &(xzb[%d]);", XZB_SIZE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:422:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "static float * xzwp = &(xzb[%d]);", DFQ+1);
data/setbfree-0.8.11/b_overdrive/overmaker.c:430:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "static float yzb[%d];", YZB_SIZE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:445:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "static float * yzpe = &(yzb[%d]);", YZB_SIZE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:453:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "static float * yzwp = &(yzb[%d]);", AAL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:459:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "float ipolZeros[%d];", IPOL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:468:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "static float predef[%d] = {", IPOL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:474:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf (buf, "%-*.*f,", wpw, wpp, predef[i]);
data/setbfree-0.8.11/b_overdrive/overmaker.c:477:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "%-*.*f", wpw, wpp, predef[i]);
data/setbfree-0.8.11/b_overdrive/overmaker.c:493:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "static float wi[%d][%d];", R, DFQ+1);
data/setbfree-0.8.11/b_overdrive/overmaker.c:499:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "static float aal[%d];", AAL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:507:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "static float * aalEnd = &(aal[%d]);", AAL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:516:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "size_t ipolFilterLength = %d;", IPOL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:518:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "size_t aalFilterLength = %d;", AAL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:524:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "float aalZeros[%d];", AAL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:548:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf (buf, "static double pr_F = %g;", PRE_FILTER_HERTZ);
data/setbfree-0.8.11/b_overdrive/overmaker.c:550:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf (buf, "static double pr_Q = %g;", PRE_FILTER_Q);
data/setbfree-0.8.11/b_overdrive/overmaker.c:552:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf (buf, "static double pr_G = %g;", PRE_FILTER_G);
data/setbfree-0.8.11/b_overdrive/overmaker.c:569:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf (buf, "static double de_F = %g;", POST_FILTER_HERTZ);
data/setbfree-0.8.11/b_overdrive/overmaker.c:571:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf (buf, "static double de_Q = %g;", POST_FILTER_Q);
data/setbfree-0.8.11/b_overdrive/overmaker.c:573:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf (buf, "static double de_G = %g;", POST_FILTER_G);
data/setbfree-0.8.11/b_overdrive/overmaker.c:590:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "static float outputGain = %g;", OUTPUT_GAIN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:604:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "static float inputGain = %g;", INPUT_GAIN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:617:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "static float ipcGain = %g;", IPC_GAIN_IDLE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:619:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "static float ipcThreshold = %g;", IPC_THRESHOLD);
data/setbfree-0.8.11/b_overdrive/overmaker.c:621:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "static float ipcGainReduce = %g;", IPC_GAIN_REDUCE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:623:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "static float ipcGainRecover = %g;", IPC_GAIN_RECOVER);
data/setbfree-0.8.11/b_overdrive/overmaker.c:630:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "static float sagFb = %g;", SAG_FB);
data/setbfree-0.8.11/b_overdrive/overmaker.c:642:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "float xzb[%d];", XZB_SIZE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:654:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "float yzb[%d];", YZB_SIZE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:664:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "float ipolZeros[%d];", IPOL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:670:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "float wi[%d][%d];", R, DFQ + 1);
data/setbfree-0.8.11/b_overdrive/overmaker.c:674:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "float aal[%d];", AAL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:688:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "float aalZeros[%d];", AAL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:753:2:  [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[BUFSZ];
data/setbfree-0.8.11/b_overdrive/overmaker.c:767:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "float mix[%d];", MAX (IPOL_LEN, AAL_LEN));
data/setbfree-0.8.11/b_overdrive/overmaker.c:776:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "for (i = 0; i < %d; i++) {", IPOL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:790:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "for (i = 0; i < %d; i++) {", IPOL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:805:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf (buf,
data/setbfree-0.8.11/b_overdrive/overmaker.c:821:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "for (i = 0; i < %d; i++) {", AAL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:835:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "for (i = 0; i < %d; i++) {", AAL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:854:2:  [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[BUFSZ];
data/setbfree-0.8.11/b_overdrive/overmaker.c:885:2:  [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[BUFSZ];
data/setbfree-0.8.11/b_overdrive/overmaker.c:933:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "} else if (pp->ipcGain < %g) {", IPC_GAIN_IDLE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:964:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "for (i = 0; i < %d; i++) {", R); /* For IPOL */
data/setbfree-0.8.11/b_overdrive/overmaker.c:1008:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "for (i = 0; i < %d; i++) {", R);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1033:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "xr = &(pp->xzb[%d]);", XZB_SIZE - 1);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1142:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "yr = &(pp->yzb[%d]);", YZB_SIZE - 1);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1214:2:  [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[BUFSZ];
data/setbfree-0.8.11/b_overdrive/overmaker.c:1230:2:  [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[BUFSZ];
data/setbfree-0.8.11/b_overdrive/overmaker.c:1259:2:  [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[BUFSZ];
data/setbfree-0.8.11/b_overdrive/overmaker.c:1294:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->xzpe = &(pp->xzb[%d]);", XZB_SIZE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1296:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->xzwp = &(pp->xzb[%d]);", DFQ + 1);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1299:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->yzpe = &(pp->yzb[%d]);", YZB_SIZE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1301:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->yzwp = &(pp->yzb[%d]);", AAL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1303:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->aalEnd = &(pp->aal[%d]);", AAL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1306:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->ipolFilterLength = %d;", IPOL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1308:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->aalFilterLength = %d;", AAL_LEN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1316:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->outputGain = %g;", OUTPUT_GAIN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1326:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->inputGain = %g;", INPUT_GAIN);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1335:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->ipcGain = %g;", IPC_GAIN_IDLE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1337:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->ipcThreshold = %g;", IPC_THRESHOLD);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1339:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->ipcGainReduce = %g;", IPC_GAIN_REDUCE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1341:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->ipcGainRecover = %g;", IPC_GAIN_RECOVER);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1348:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->sagFb = %g;", SAG_FB);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1372:2:  [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[BUFSZ];
data/setbfree-0.8.11/b_overdrive/overmaker.c:1385:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (buf, "preFilterDefine (%d, pr_F, pr_Q, pr_G);", PRE_FILTER_TYPE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1395:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (buf, "postFilterDefine (%d, de_F, de_Q, de_G);", POST_FILTER_TYPE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1403:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "useMIDIControlFunction (m, \"xov.ctl_biased\", ctl_biased, pa);");
data/setbfree-0.8.11/b_overdrive/overmaker.c:1407:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf,
data/setbfree-0.8.11/b_overdrive/overmaker.c:1413:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf,
data/setbfree-0.8.11/b_overdrive/overmaker.c:1419:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf,
data/setbfree-0.8.11/b_overdrive/overmaker.c:1425:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf,
data/setbfree-0.8.11/b_overdrive/overmaker.c:1431:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (
data/setbfree-0.8.11/b_overdrive/overmaker.c:1442:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "useMIDIControlFunction (m, \"overdrive.enable\", setCleanCC, pa);");
data/setbfree-0.8.11/b_overdrive/overmaker.c:1446:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "useMIDIControlFunction (m, \"overdrive.inputgain\", setInputGain, pa);");
data/setbfree-0.8.11/b_overdrive/overmaker.c:1451:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "useMIDIControlFunction (m, \"overdrive.outputgain\", setOutputGain, pa);");
data/setbfree-0.8.11/b_overdrive/overmaker.c:1460:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "useMIDIControlFunction (m, \"xov.mix.dry\", setCleanMix, pa);");
data/setbfree-0.8.11/b_overdrive/overmaker.c:1476:2:  [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[BUFSZ];
data/setbfree-0.8.11/b_overdrive/overmaker.c:1686:2:  [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[BUFSZ];
data/setbfree-0.8.11/b_overdrive/overmaker.c:1693:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf,
data/setbfree-0.8.11/b_overdrive/overmaker.c:1699:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "preFilterDefine (%d, pr_F, pr_Q, pr_G);", PRE_FILTER_TYPE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1709:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf,
data/setbfree-0.8.11/b_overdrive/overmaker.c:1715:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "preFilterDefine (%d, pr_F, pr_Q, pr_G);", PRE_FILTER_TYPE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1724:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf,
data/setbfree-0.8.11/b_overdrive/overmaker.c:1730:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "preFilterDefine (%d, pr_F, pr_Q, pr_G);", PRE_FILTER_TYPE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1744:2:  [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[BUFSZ];
data/setbfree-0.8.11/b_overdrive/overmaker.c:1751:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf,
data/setbfree-0.8.11/b_overdrive/overmaker.c:1757:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "postFilterDefine(%d, de_F, de_Q, de_G);", POST_FILTER_TYPE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1767:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf,
data/setbfree-0.8.11/b_overdrive/overmaker.c:1773:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "postFilterDefine(%d, de_F, de_Q, de_G);", POST_FILTER_TYPE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1782:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf,
data/setbfree-0.8.11/b_overdrive/overmaker.c:1788:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "postFilterDefine(%d, de_F, de_Q, de_G);", POST_FILTER_TYPE);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1801:2:  [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[BUFSZ];
data/setbfree-0.8.11/b_overdrive/overmaker.c:1806:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->outputGain = %g + ((%g - %g) * (((float) uc) / 127.0));",
data/setbfree-0.8.11/b_overdrive/overmaker.c:1823:2:  [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[BUFSZ];
data/setbfree-0.8.11/b_overdrive/overmaker.c:1828:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->inputGain = %g + ((%g - %g) * (((float) uc) / 127.0));",
data/setbfree-0.8.11/b_overdrive/overmaker.c:1874:2:  [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[BUFSZ];
data/setbfree-0.8.11/b_overdrive/overmaker.c:1879:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "ipcThreshold = %g + ((%g - %g) * ratio);",
data/setbfree-0.8.11/b_overdrive/overmaker.c:1894:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "ipcGainReduce = %g + ((%g - %g) * ratio);",
data/setbfree-0.8.11/b_overdrive/overmaker.c:1907:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "ipcGainRecover = %g + ((%g - %g) * ratio);",
data/setbfree-0.8.11/b_overdrive/overmaker.c:1923:2:  [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[BUFSZ];
data/setbfree-0.8.11/b_overdrive/overmaker.c:1931:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "Interpolation filter at digital frequency %g", IPOL_FC);
data/setbfree-0.8.11/b_overdrive/overmaker.c:1937:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "Decimation filter at digital frequency %g", AAL_FC);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:32: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 buf[BUFSZ];
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:77:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->biasBase = %g;", BIAS);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:82:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->adwFb = %g;", ADWS_FB);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:91:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->adwFb2 = %g;", ADWS_FB2);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:101:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->sagZgb = %g;", SAG_ZGB);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:134:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "float v = %g + ((%g - %g) * (u * u));",
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:150:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->adwFb = %g * u;", ADWS_FB_MAX);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:166:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->sagZgb = %g + ((%g - %g) * u);",
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:184:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->adwFb2 = %g * u;", ADWS_FB2_MAX);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:199:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->adwGfb = %g * u;", ADWS_GFB_MAX);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:218:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->adwFb = %g;", ADWS_FB);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:220:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->adwFb2 = %g + ((%g - %g) * (((float) uc) / 31.0));",
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:226:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->adwFb = %g + ((%g - %g) * (((float) (uc - 32)) / 31.0));",
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:229:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->adwFb2 = %g;", ADWS_FB);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:237:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->adwFb = %g;", ADWS_FB_MAX);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:239:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->adwFb2 = %g + ((%g - %g) * (((float) (uc - 64)) / 63.0));",
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:288:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "cfg_biased (pa, %g);", BIAS);
data/setbfree-0.8.11/b_overdrive/ovt_biased.c:292:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "pp->adwFb = %g;", ADWS_FB);
data/setbfree-0.8.11/b_overdrive/ovt_quadratic.c:31: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 buf[BUFSZ];
data/setbfree-0.8.11/b_overdrive/ovt_quadratic.c:122:2:  [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[BUFSZ];
data/setbfree-0.8.11/b_synth/lv2.c:105:2:  [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     lv2nfo[128];
data/setbfree-0.8.11/b_synth/lv2.c:127:2:  [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 msg[1024];
data/setbfree-0.8.11/b_synth/lv2.c:269:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (&out[0][written], &b3s->bufL[0][b3s->boffset], nread * sizeof (float));
data/setbfree-0.8.11/b_synth/lv2.c:270:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (&out[1][written], &b3s->bufL[1][b3s->boffset], nread * sizeof (float));
data/setbfree-0.8.11/b_synth/lv2.c:329:2:  [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 tmp[256];
data/setbfree-0.8.11/b_synth/lv2.c:354:2:  [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 mmv[20];
data/setbfree-0.8.11/b_synth/lv2.c:355:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (mmv, "%d|%d ", chn + 1, cc);
data/setbfree-0.8.11/b_synth/lv2.c:389:2:  [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   tmp[256];
data/setbfree-0.8.11/b_synth/lv2.c:419:2:  [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 temppath[MAX_PATH - 13];
data/setbfree-0.8.11/b_synth/lv2.c:420:2:  [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 filename[MAX_PATH + 1];
data/setbfree-0.8.11/b_synth/lv2.c:425:12:  [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).
	FILE* x = fopen (filename, "w+b");
data/setbfree-0.8.11/b_synth/lv2.c:441:6:  [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).
	x = fopen (filename, "rb");
data/setbfree-0.8.11/b_synth/lv2.c:498: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  kv[1024];
data/setbfree-0.8.11/b_synth/lv2.c:499:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (kv, ts, te - ts);
data/setbfree-0.8.11/b_synth/lv2.c:525: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  kv[1024];
data/setbfree-0.8.11/b_synth/lv2.c:526:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (kv, ts, te - ts);
data/setbfree-0.8.11/b_synth/lv2.c:534:81:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			fprintf (stderr, "B3LV2: callMIDIControlFunction(..,\"%s\", %d);\n", kv + 2, atoi (val + 1));
data/setbfree-0.8.11/b_synth/lv2.c:536:65:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			callMIDIControlFunction (b3s->inst_offline->midicfg, kv + 2, atoi (val + 1));
data/setbfree-0.8.11/b_synth/lv2.c:644:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy (b3s->inst_offline->progs, b3s->inst->progs, sizeof (struct b_programme));
data/setbfree-0.8.11/b_synth/lv2.c:677:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy (b3s->inst_offline->progs, b3s->inst->progs, sizeof (struct b_programme));
data/setbfree-0.8.11/b_synth/lv2.c:707:8:  [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).
			x = fopen (w->msg, "w");
data/setbfree-0.8.11/b_synth/lv2.c:721:8:  [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).
			x = fopen (w->msg, "w");
data/setbfree-0.8.11/b_synth/lv2.c:768:2:  [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 tmp[1048];
data/setbfree-0.8.11/b_synth/lv2.c:781:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf (tmp, "error modyfing CFG. Organ is busy.");
data/setbfree-0.8.11/b_synth/lv2.c:792:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf (tmp, "error modyfing CFG. Organ is busy.");
data/setbfree-0.8.11/b_synth/lv2.c:957:2:  [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 wintmp[1024] = "";
data/setbfree-0.8.11/b_synth/lv2.c:1016: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 signature_file0[1024] = "";
data/setbfree-0.8.11/b_synth/lv2.c:1017: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 signature_file1[1024] = "";
data/setbfree-0.8.11/b_synth/lv2.c:1037:4:  [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     data[8192];
data/setbfree-0.8.11/b_synth/lv2.c:1269:2:  [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 model[21];
data/setbfree-0.8.11/b_synth/lv2.c:1277:2:  [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 temppath[MAX_PATH - 13];
data/setbfree-0.8.11/b_synth/lv2.c:1278:2:  [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 filename[MAX_PATH + 1];
data/setbfree-0.8.11/b_synth/lv2.c:1283:12:  [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).
	FILE* f = fopen (filename, "wb");
data/setbfree-0.8.11/b_synth/lv2.c:1294:6:  [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 (filename, "rb");
data/setbfree-0.8.11/b_synth/textures/bg_left_ctrl.c:7:12:  [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.
  unsigned char	 pixel_data[448 * 416 * 3 + 1];
data/setbfree-0.8.11/b_synth/textures/bg_leslie_drum.c:7:12:  [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.
  unsigned char	 pixel_data[100 * 50 * 3 + 1];
data/setbfree-0.8.11/b_synth/textures/bg_leslie_horn.c:7:12:  [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.
  unsigned char	 pixel_data[100 * 50 * 3 + 1];
data/setbfree-0.8.11/b_synth/textures/bg_right_ctrl.c:7:12:  [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.
  unsigned char	 pixel_data[448 * 416 * 3 + 1];
data/setbfree-0.8.11/b_synth/textures/btn_overdrive.c:7:12:  [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.
  unsigned char	 pixel_data[150 * 300 * 3 + 1];
data/setbfree-0.8.11/b_synth/textures/btn_perc.c:7:12:  [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.
  unsigned char	 pixel_data[150 * 300 * 3 + 1];
data/setbfree-0.8.11/b_synth/textures/btn_perc_decay.c:7:12:  [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.
  unsigned char	 pixel_data[150 * 300 * 3 + 1];
data/setbfree-0.8.11/b_synth/textures/btn_perc_harmonic.c:7:12:  [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.
  unsigned char	 pixel_data[150 * 300 * 3 + 1];
data/setbfree-0.8.11/b_synth/textures/btn_perc_volume.c:7:12:  [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.
  unsigned char	 pixel_data[150 * 300 * 3 + 1];
data/setbfree-0.8.11/b_synth/textures/btn_vibl.c:7:12:  [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.
  unsigned char	 pixel_data[150 * 300 * 3 + 1];
data/setbfree-0.8.11/b_synth/textures/btn_vibu.c:7:12:  [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.
  unsigned char	 pixel_data[150 * 300 * 3 + 1];
data/setbfree-0.8.11/b_synth/textures/dial.c:7:12:  [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.
  unsigned char	 pixel_data[60 * 60 * 4 + 1];
data/setbfree-0.8.11/b_synth/textures/drawbar.c:7:12:  [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.
  unsigned char	 pixel_data[60 * 650 * 4 + 1];
data/setbfree-0.8.11/b_synth/textures/help_screen_image.c:7:12:  [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.
  unsigned char	 pixel_data[966 * 320 * 3 + 1];
data/setbfree-0.8.11/b_synth/textures/ui_button_image.c:7:12:  [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.
  unsigned char	 pixel_data[200 * 150 * 4 + 1];
data/setbfree-0.8.11/b_synth/textures/ui_proc_image.c:7:12:  [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.
  unsigned char	 pixel_data[240 * 120 * 4 + 1];
data/setbfree-0.8.11/b_synth/textures/uim_background.c:7:12:  [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.
  unsigned char	 pixel_data[960 * 320 * 4 + 1];
data/setbfree-0.8.11/b_synth/textures/uim_cable1.c:7:12:  [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.
  unsigned char	 pixel_data[140 * 197 * 4 + 1];
data/setbfree-0.8.11/b_synth/textures/uim_cable2.c:7:12:  [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.
  unsigned char	 pixel_data[122 * 195 * 4 + 1];
data/setbfree-0.8.11/b_synth/textures/uim_caps.c:7:12:  [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.
  unsigned char	 pixel_data[315 * 77 * 4 + 1];
data/setbfree-0.8.11/b_synth/textures/uim_transformer.c:7:12:  [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.
  unsigned char	 pixel_data[138 * 177 * 4 + 1];
data/setbfree-0.8.11/b_synth/textures/uim_tube1.c:7:12:  [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.
  unsigned char	 pixel_data[133 * 78 * 4 + 1];
data/setbfree-0.8.11/b_synth/textures/uim_tube2.c:7:12:  [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.
  unsigned char	 pixel_data[113 * 66 * 4 + 1];
data/setbfree-0.8.11/b_synth/textures/wood.c:7:12:  [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.
  unsigned char	 pixel_data[388 * 250 * 4 + 1];
data/setbfree-0.8.11/b_synth/ui.c:330:2:  [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  midinfo[1024];
data/setbfree-0.8.11/b_synth/ui.c:411:2:  [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 textentry_text[1024];
data/setbfree-0.8.11/b_synth/ui.c:412:2:  [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 textentry_title[128];
data/setbfree-0.8.11/b_synth/ui.c:431:2:  [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 midipgm[128][32];
data/setbfree-0.8.11/b_synth/ui.c:432:2:  [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 mididsc[128][256];
data/setbfree-0.8.11/b_synth/ui.c:458:2:  [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 lv2nfo[128];
data/setbfree-0.8.11/b_synth/ui.c:524:2:  [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[PATH_MAX];
data/setbfree-0.8.11/b_synth/ui.c:2442:2:  [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 cfgstr[128];
data/setbfree-0.8.11/b_synth/ui.c:2537:2:  [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        txt[64];
data/setbfree-0.8.11/b_synth/ui.c:3045: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     fontfilepath[1024] = FONTFILE;
data/setbfree-0.8.11/b_synth/ui.c:3155:4:  [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 txt[40];
data/setbfree-0.8.11/b_synth/ui.c:3263:4:  [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 txt[30];
data/setbfree-0.8.11/b_synth/ui.c:3267:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
				strcat (txt, "...");
data/setbfree-0.8.11/b_synth/ui.c:3555:4:  [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 bind_text[64];
data/setbfree-0.8.11/b_synth/ui.c:3557:5:  [2] (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). Risk is low because the source is a constant string.
				strcpy (bind_text, "move slider (8 step)");
data/setbfree-0.8.11/b_synth/ui.c:3559:5:  [2] (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). Risk is low because the source is a constant string.
				strcpy (bind_text, "move slider (3 step)");
data/setbfree-0.8.11/b_synth/ui.c:3561:5:  [2] (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). Risk is low because the source is a constant string.
				strcpy (bind_text, "move slider");
data/setbfree-0.8.11/b_synth/ui.c:3565:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
				strcat (bind_text, " (inv)");
data/setbfree-0.8.11/b_synth/ui.c:5143:2:  [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 wintmp[1024] = "";
data/setbfree-0.8.11/b_synth/ui.c:5176: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 pathbuf[1024];
data/setbfree-0.8.11/b_synth/ui.c:5181:4:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
			strcat (ui->bundlePath, "/Resources/");
data/setbfree-0.8.11/b_synth/ui.c:5271:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy (ui->active_keys, data, 5 * sizeof (unsigned int));
data/setbfree-0.8.11/b_whirl/gui/b_whirl.c:1132:2:  [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 txt[32];
data/setbfree-0.8.11/b_whirl/gui/b_whirl.c:1370:2:  [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 txt[24];
data/setbfree-0.8.11/b_whirl/gui/b_whirl.c:1388:2:  [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 txt[24];
data/setbfree-0.8.11/b_whirl/gui/b_whirl.c:1409:2:  [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 txt[32];
data/setbfree-0.8.11/b_whirl/gui/b_whirl.c:1469: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 tmp[24]; \
data/setbfree-0.8.11/b_whirl/gui/b_whirl.c:1476: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 tmp[24]; \
data/setbfree-0.8.11/b_whirl/gui/b_whirl.c:1487:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy (tmp, tmp + 1, strlen (tmp)); \
data/setbfree-0.8.11/b_whirl/gui/b_whirl.c:1490:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy (tmp, tmp + 1, strlen (tmp)); \
data/setbfree-0.8.11/b_whirl/lv2.c:724:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy (original_input_signal, input, n * sizeof(float));
data/setbfree-0.8.11/b_whirl/whirl.c:1330:2:  [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 const* const acdc[3] = { "<", "#", ">" };
data/setbfree-0.8.11/pugl/pugl_win.cpp:85:2:  [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 classNameBuf[256];
data/setbfree-0.8.11/pugl/pugl_win.cpp:456: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 lb[2];
data/setbfree-0.8.11/pugl/pugl_win.cpp:540:2:  [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 fn[1024] = "";
data/setbfree-0.8.11/pugl/pugl_x11.c:481:4:  [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    str[5];
data/setbfree-0.8.11/robtk/gl/common_cgl.h:59:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy (col, host_fg_color, 4 * sizeof (float));
data/setbfree-0.8.11/robtk/gl/common_cgl.h:62:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy (col, host_bg_color, 4 * sizeof (float));
data/setbfree-0.8.11/robtk/gl/layout.h:228:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&event, ev, sizeof(cairo_rectangle_t));
data/setbfree-0.8.11/robtk/gl/posringbuf.h:58:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void*) d, (void*) &rb->d[rb->rp], len * sizeof (uint8_t));
data/setbfree-0.8.11/robtk/gl/posringbuf.h:62:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void*) d, (void*) &(rb->d[rb->rp]), part * sizeof (uint8_t));
data/setbfree-0.8.11/robtk/gl/posringbuf.h:63:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void*) &(d[part]), (void*) rb->d, remn * sizeof (uint8_t));
data/setbfree-0.8.11/robtk/gl/posringbuf.h:73:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void*) &rb->d[rb->wp], (void*) d, len * sizeof(uint8_t));
data/setbfree-0.8.11/robtk/gl/posringbuf.h:77:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void*) &rb->d[rb->wp], (void*) d, part * sizeof(uint8_t));
data/setbfree-0.8.11/robtk/gl/posringbuf.h:78:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((void*) rb->d, (void*) &d[part], remn * sizeof(uint8_t));
data/setbfree-0.8.11/robtk/gpg_check.c:21:2:  [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 signature_file0[1024] = "";
data/setbfree-0.8.11/robtk/gpg_check.c:22:2:  [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 signature_file1[1024] = "";
data/setbfree-0.8.11/robtk/gpg_check.c:23:2:  [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 signature_file2[1024] = "";
data/setbfree-0.8.11/robtk/gpg_check.c:24:2:  [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 signature_file3[1024] = "";
data/setbfree-0.8.11/robtk/gpg_check.c:72: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 data[8192];
data/setbfree-0.8.11/robtk/gpg_init.c:21:2:  [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 name[64];
data/setbfree-0.8.11/robtk/gpg_init.c:22:2:  [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 store[128];
data/setbfree-0.8.11/robtk/jackwrap.c:442:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy (LV2_ATOM_BODY (&aev->body), LV2_ATOM_BODY (lv2_pos), size);
data/setbfree-0.8.11/robtk/jackwrap.c:475:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy (LV2_ATOM_BODY (&aev->body), event_queue[queued_events_end].buffer, size);
data/setbfree-0.8.11/robtk/jackwrap.c:498:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy (LV2_ATOM_BODY (&aev->body), ev.buffer, size);
data/setbfree-0.8.11/robtk/jackwrap.c:512:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (plugin_ports_post, plugin_ports_pre, inst->nports_ctrl * sizeof (float));
data/setbfree-0.8.11/robtk/jackwrap.c:539:4:  [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     worker_response[4096];
data/setbfree-0.8.11/robtk/jackwrap.c:904: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[4096];
data/setbfree-0.8.11/robtk/jackwrap.c:968:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (&event_queue[queued_events_start], ev, sizeof (osc_midi_event_t));
data/setbfree-0.8.11/robtk/jackwrap.c:1101:2:  [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     tmp[8];
data/setbfree-0.8.11/robtk/jackwrap.c:1105:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (tmp, "%d", port);
data/setbfree-0.8.11/robtk/jackwrap.c:1491:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				osc_port = atoi (optarg);
data/setbfree-0.8.11/robtk/jackwrap.c:1499:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					pval[n_pval].port_idx = atoi (optarg);
data/setbfree-0.8.11/robtk/jackwrap.c:1534:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (optind < argc && atoi (argv[optind]) < 0) {
data/setbfree-0.8.11/robtk/jackwrap.c:1538:52:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (optind < argc && strlen (argv[optind]) > 2 && atoi (argv[optind]) == 0) {
data/setbfree-0.8.11/robtk/jackwrap.c:1548:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (optind < argc && !inst && atoi (argv[optind]) >= 0) {
data/setbfree-0.8.11/robtk/jackwrap.c:1549:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		unsigned int plugid = atoi (argv[optind]);
data/setbfree-0.8.11/robtk/robtk.h:207:2:  [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 name[12]; // debug with ROBWIDGET_NAME()
data/setbfree-0.8.11/robtk/robtk.h:270:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(r, &is, sizeof(cairo_rectangle_t));
data/setbfree-0.8.11/robtk/rtk/common.h:382:2:  [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 tmp[1024];
data/setbfree-0.8.11/robtk/ui_gl.c:217:2:  [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                 gpg_data[128];
data/setbfree-0.8.11/robtk/ui_gl.c:430:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&fast_track_area, &a.a, sizeof(cairo_rectangle_t));
data/setbfree-0.8.11/robtk/ui_gl.c:611:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&b.a, a, sizeof(cairo_rectangle_t));
data/setbfree-0.8.11/robtk/ui_gl.c:761:15:  [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 scales[8][8] = { "100%", "110%", "115%", "120%", "125%", "150%", "175%", "200%" };
data/setbfree-0.8.11/robtk/ui_gl.c:1513:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		self->ontop = 0 != atoi (getenv("X42_ON_TOP"));
data/setbfree-0.8.11/robtk/widgets/robtk_dial.h:727:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(d->detent, p, n * sizeof(float));
data/setbfree-0.8.11/robtk/widgets/robtk_multibutton.h:283:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(d->c_led, c, d->num_mode * 3 * sizeof(float));
data/setbfree-0.8.11/robtk/widgets/robtk_pushbutton.h:215:53:  [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 RobTkPBtn * robtk_pbtn_new_with_colors(const char * txt, const float bg[4], const float fg[4]) {
data/setbfree-0.8.11/robtk/widgets/robtk_pushbutton.h:237:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(d->bg, bg, 4 * sizeof(float));
data/setbfree-0.8.11/robtk/widgets/robtk_pushbutton.h:238:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(d->fg, fg, 4 * sizeof(float));
data/setbfree-0.8.11/robtk/widgets/robtk_spinner.h:39:2:  [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 prec_fmt[8];
data/setbfree-0.8.11/robtk/widgets/robtk_spinner.h:49:2:  [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[32];
data/setbfree-0.8.11/robtk/widgets/robtk_spinner.h:86:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(d->prec_fmt,"%%.0f");
data/setbfree-0.8.11/robtk/widgets/robtk_spinner.h:88:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(d->prec_fmt,"%%.%df", prec);
data/setbfree-0.8.11/robtk/widgets/robtk_xyplot.h:347:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(d->points_x, xp, sizeof(float) * np);
data/setbfree-0.8.11/robtk/widgets/robtk_xyplot.h:348:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(d->points_y, yp, sizeof(float) * np);
data/setbfree-0.8.11/src/cfgParser.c:285:2:  [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  lineBuf[LINEBUFSZ];
data/setbfree-0.8.11/src/cfgParser.c:288:12:  [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).
	if ((fp = fopen (fname, "r")) == NULL) {
data/setbfree-0.8.11/src/cfgParser.c:341:2:  [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[256];
data/setbfree-0.8.11/src/cfgParser.c:343:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "real value out of range (%lf -- %lf)", lowest, highest);
data/setbfree-0.8.11/src/cfgParser.c:350:2:  [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[256];
data/setbfree-0.8.11/src/cfgParser.c:352:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "integer value out of range (%d -- %d)", lowest, highest);
data/setbfree-0.8.11/src/main.c:282:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy (&out[i][written], &bufJ[i][boffset], nread * sizeof (float));
data/setbfree-0.8.11/src/main.c:333: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 channelid[16];
data/setbfree-0.8.11/src/main.c:780:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				loadProgram = atoi (optarg);
data/setbfree-0.8.11/src/main.c:936:14:  [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).
		FILE* fp = fopen (midnam, "w");
data/setbfree-0.8.11/src/memstream.c:324:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (cbuf + cookie->pos, buf, n);
data/setbfree-0.8.11/src/memstream.c:472:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buf, mem->buffer + mem->pos, sizeof(char) * size);
data/setbfree-0.8.11/src/memstream.c:485:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(mem->buffer + mem->pos, buf, sizeof(char) * size);
data/setbfree-0.8.11/src/midi.c:235:11:  [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.
	unsigned char keyTableA[128]; /**< MIDI note to key transl. tbl */
data/setbfree-0.8.11/src/midi.c:236:11:  [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.
	unsigned char keyTableB[128]; /**< MIDI note to key transl. tbl */
data/setbfree-0.8.11/src/midi.c:237:11:  [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.
	unsigned char keyTableC[128]; /**< MIDI note to key transl. tbl */
data/setbfree-0.8.11/src/midi.c:241:11:  [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.
	unsigned char ctrlUseA[CTRL_USE_MAX];
data/setbfree-0.8.11/src/midi.c:242:11:  [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.
	unsigned char ctrlUseB[CTRL_USE_MAX];
data/setbfree-0.8.11/src/midi.c:243:11:  [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.
	unsigned char ctrlUseC[CTRL_USE_MAX];
data/setbfree-0.8.11/src/midi.c:1058:7:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		if (atoi (cfg->value)) {
data/setbfree-0.8.11/src/midi.c:1136:2:  [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               rckey[32];
data/setbfree-0.8.11/src/midi.c:1143:2:  [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 value[64];
data/setbfree-0.8.11/src/midi.c:1145:3:  [2] (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). Risk is low because the source is a constant string.
		strcpy (value, "unmap");
data/setbfree-0.8.11/src/midi.c:1279:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy (&m->ctrlvec[ev->channel][ev->d.control.param], &m->ctrlvecF[fnid], sizeof (ctrl_function));
data/setbfree-0.8.11/src/midi_aseq.c:50:2:  [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           seq_name[32];
data/setbfree-0.8.11/src/midnam.c:59:4:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
			strcat (escaped, "&amp;");
data/setbfree-0.8.11/src/pgmParser.c:61:2:  [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        stringBuffer[STRINGBUFFERSZ];
data/setbfree-0.8.11/src/pgmParser.c:272:2:  [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            symbol[SYMBOLSIZE];
data/setbfree-0.8.11/src/pgmParser.c:273:2:  [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            value[VALUESIZE];
data/setbfree-0.8.11/src/pgmParser.c:274:2:  [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            msg[STRINGBUFFERSZ];
data/setbfree-0.8.11/src/pgmParser.c:347:15:  [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).
	if ((ps.fp = fopen (fileName, "r")) != NULL) {
data/setbfree-0.8.11/src/pgmParser.c:369:2:  [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 temppath[MAX_PATH - 13];
data/setbfree-0.8.11/src/pgmParser.c:370:2:  [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 filename[MAX_PATH + 1];
data/setbfree-0.8.11/src/pgmParser.c:375:12:  [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).
	FILE* f = fopen (filename, "wb");
data/setbfree-0.8.11/src/pgmParser.c:380:15:  [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).
	if ((ps.fp = fopen (filename, "rb")) != NULL)
data/setbfree-0.8.11/src/program.c:211:2:  [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        msg[MESSAGEBUFFERSIZE];
data/setbfree-0.8.11/src/program.c:230:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf (msg, "Illegal char in drawbar registration '%c'", *t);
data/setbfree-0.8.11/src/program.c:315:2:  [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                msg[MESSAGEBUFFERSIZE];
data/setbfree-0.8.11/src/program.c:324:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (msg, "Program number %d out of range", pgmnr);
data/setbfree-0.8.11/src/program.c:554:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf (msg, "Reverb mix value out of range : %f", fv);
data/setbfree-0.8.11/src/program.c:643:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	return sprintf (buf, "%c%c%c %c%c%c%c %c%c",
data/setbfree-0.8.11/src/program.c:689: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 display[128];
data/setbfree-0.8.11/src/program.c:698: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 buf[32];
data/setbfree-0.8.11/src/program.c:703:6:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
					strcat (display, "UPR:");
data/setbfree-0.8.11/src/program.c:711:6:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
					strcat (display, "LOW:");
data/setbfree-0.8.11/src/program.c:719:6:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
					strcat (display, "PDL:");
data/setbfree-0.8.11/src/program.c:1221: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 tmp[256];
data/setbfree-0.8.11/src/program.c:1231:2:  [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 tmp[24];
data/setbfree-0.8.11/src/program.c:1374:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (p->programmes, defaultprogrammes, sizeof (Programme) * MAXPROGS);
data/setbfree-0.8.11/src/program.h:31:2:  [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         name[NAMESZ];
data/setbfree-0.8.11/src/tonegen.c:929:21:  [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.
           unsigned char      cpmBus[NOF_WHEELS + 1][NOF_BUSES],
data/setbfree-0.8.11/src/tonegen.c:989:11:  [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.
	unsigned char cpmBus[NOF_WHEELS + 1][NOF_BUSES];
data/setbfree-0.8.11/src/tonegen.c:1889:12:  [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).
	if ((fp = fopen (fname, "w")) != NULL) {
data/setbfree-0.8.11/src/tonegen.c:1996:12:  [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).
	if ((fp = fopen (fname, "w")) != NULL) {
data/setbfree-0.8.11/src/tonegen.c:2044:12:  [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).
	if ((fp = fopen (fname, "w")) == NULL) {
data/setbfree-0.8.11/src/tonegen.c:2193: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 buf[128];
data/setbfree-0.8.11/src/tonegen.c:2194:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf (buf, "Wheel number must be 1--%d", NOF_WHEELS);
data/setbfree-0.8.11/src/tonegen.c:2215: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 buf[128];
data/setbfree-0.8.11/src/tonegen.c:2216:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf (buf, "Wheel and terminal numbers must be 1--%d", NOF_WHEELS);
data/setbfree-0.8.11/src/tonegen.c:2225: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[128];
data/setbfree-0.8.11/src/tonegen.c:2241:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
						sprintf (buf, "Terminal numbers must be 1--%d", NOF_WHEELS);
data/setbfree-0.8.11/src/tonegen.c:2245:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
					sprintf (buf, "Bus number must be 0--%d", NOF_BUSES - 1);
data/setbfree-0.8.11/src/tonegen.c:2249:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf (buf, "Key number must be 0--%d", MAX_KEYS - 1);
data/setbfree-0.8.11/src/tonegen.c:2255: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[128];
data/setbfree-0.8.11/src/tonegen.c:2273:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
								sprintf (buf, "Terminal numbers must be 1--%d", NOF_WHEELS);
data/setbfree-0.8.11/src/tonegen.c:2277:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
							sprintf (buf, "Bus number must be 0--%d", NOF_BUSES - 1);
data/setbfree-0.8.11/src/tonegen.c:2289:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf (buf, "Key number must be 0--%d", MAX_KEYS - 1);
data/setbfree-0.8.11/src/tonegen.h:435:2:  [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   eqvSet[128]; /**< Value is set by a config command */
data/setbfree-0.8.11/src/vibrato.c:231:13:  [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).
		if ((fp = fopen (debugfile, "w")) != NULL) {
data/setbfree-0.8.11/b_conv/convolution.cc:202:23:  [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).
			const size_t len = strlen (irf) + 6;
data/setbfree-0.8.11/b_conv/convolution.cc:206:21:  [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).
		} else if (irf && strlen (irf) > 0) {
data/setbfree-0.8.11/b_conv/convolution.cc:212:22:  [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).
		const size_t len = strlen (DFLT_IR_STRING) + 6;
data/setbfree-0.8.11/b_synth/lv2.c:341:44:  [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).
	lv2_atom_forge_string (&b3s->forge, name, strlen (name));
data/setbfree-0.8.11/b_synth/lv2.c:345:43:  [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).
	lv2_atom_forge_string (&b3s->forge, tmp, strlen (tmp));
data/setbfree-0.8.11/b_synth/lv2.c:362:46:  [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).
	lv2_atom_forge_string (&b3s->forge, fnname, strlen (fnname));
data/setbfree-0.8.11/b_synth/lv2.c:364:43:  [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).
	lv2_atom_forge_string (&b3s->forge, mmv, strlen (mmv));
data/setbfree-0.8.11/b_synth/lv2.c:396:31:  [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).
	*cfg = (char*)realloc (*cfg, strlen (*cfg) + strlen (tmp) + 1);
data/setbfree-0.8.11/b_synth/lv2.c:396:47:  [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).
	*cfg = (char*)realloc (*cfg, strlen (*cfg) + strlen (tmp) + 1);
data/setbfree-0.8.11/b_synth/lv2.c:451:29:  [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).
	cfg = (char*)realloc (cfg, strlen (cfg) + strlen (out) + 1);
data/setbfree-0.8.11/b_synth/lv2.c:451:44:  [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).
	cfg = (char*)realloc (cfg, strlen (cfg) + strlen (out) + 1);
data/setbfree-0.8.11/b_synth/lv2.c:457:14:  [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).
	       cfg, strlen (cfg) + 1,
data/setbfree-0.8.11/b_synth/lv2.c:588:15:  [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).
	size_t len = strlen (path);
data/setbfree-0.8.11/b_synth/lv2.c:758:43:  [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).
	lv2_atom_forge_string (&b3s->forge, msg, strlen (msg));
data/setbfree-0.8.11/b_synth/lv2.c:873:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (w.msg, (char*)LV2_ATOM_BODY (name), 1023);
data/setbfree-0.8.11/b_synth/lv2.c:895:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (w.msg, msg, 1023);
data/setbfree-0.8.11/b_synth/lv2.c:967:26:  [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).
		size_t hl            = strlen (getenv ("XDG_CONFIG_HOME"));
data/setbfree-0.8.11/b_synth/lv2.c:973:26:  [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).
		size_t hl            = strlen (getenv ("HOME"));
data/setbfree-0.8.11/b_synth/lv2.c:1023:16:  [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 (home && (strlen (home) + strlen (SIGFILE) + 3) < 1024) {
data/setbfree-0.8.11/b_synth/lv2.c:1023:32:  [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 (home && (strlen (home) + strlen (SIGFILE) + 3) < 1024) {
data/setbfree-0.8.11/b_synth/lv2.c:1026:16:  [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 (home && (strlen (home) + 18) < 1024) {
data/setbfree-0.8.11/b_synth/lv2.c:1053:21:  [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).
					t1 = tmp + 1 + strlen (SB3_URI);
data/setbfree-0.8.11/b_synth/lv2.c:1058:10:  [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 (t1) > 0 && strncmp (t1, VERSION, strlen (t1))) {
data/setbfree-0.8.11/b_synth/lv2.c:1058:51:  [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 (t1) > 0 && strncmp (t1, VERSION, strlen (t1))) {
data/setbfree-0.8.11/b_synth/lv2.c:1065:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
				strncat (b3s->lv2nfo, " ", sizeof (b3s->lv2nfo) - strlen (b3s->lv2nfo));
data/setbfree-0.8.11/b_synth/lv2.c:1065:55:  [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).
				strncat (b3s->lv2nfo, " ", sizeof (b3s->lv2nfo) - strlen (b3s->lv2nfo));
data/setbfree-0.8.11/b_synth/lv2.c:1066:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
				strncat (b3s->lv2nfo, data, sizeof (b3s->lv2nfo) - strlen (b3s->lv2nfo));
data/setbfree-0.8.11/b_synth/lv2.c:1066:56:  [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).
				strncat (b3s->lv2nfo, data, sizeof (b3s->lv2nfo) - strlen (b3s->lv2nfo));
data/setbfree-0.8.11/b_synth/ui.c:519:29:  [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).
	char* fn = (char*)malloc ((strlen (dir) + strlen (file) + 2) * sizeof (char));
data/setbfree-0.8.11/b_synth/ui.c:519:44:  [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).
	char* fn = (char*)malloc ((strlen (dir) + strlen (file) + 2) * sizeof (char));
data/setbfree-0.8.11/b_synth/ui.c:547:18:  [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).
	const int fnl = strlen (fn);
data/setbfree-0.8.11/b_synth/ui.c:548:18:  [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).
	const int exl = strlen (ext);
data/setbfree-0.8.11/b_synth/ui.c:595:14:  [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).
			int fnl = strlen (rfn);
data/setbfree-0.8.11/b_synth/ui.c:606:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy (filelist[filelistlen], dd->d_name, 1023);
data/setbfree-0.8.11/b_synth/ui.c:614:21:  [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).
		const int delen = strlen (dd->d_name);
data/setbfree-0.8.11/b_synth/ui.c:624:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (ui->dirlist[ui->dirlistlen], dd->d_name, 1022);
data/setbfree-0.8.11/b_synth/ui.c:723:14:  [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 (!val || strlen (val) > 32) {
data/setbfree-0.8.11/b_synth/ui.c:733:42:  [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).
	lv2_atom_forge_string (&ui->forge, val, strlen (val));
data/setbfree-0.8.11/b_synth/ui.c:750:43:  [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).
		lv2_atom_forge_string (&ui->forge, key, strlen (key));
data/setbfree-0.8.11/b_synth/ui.c:1717:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (ui->textentry_text, defaulttext, 1023);
data/setbfree-0.8.11/b_synth/ui.c:1731:14:  [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 (!txt || strlen (txt) == 0) {
data/setbfree-0.8.11/b_synth/ui.c:1765:14:  [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).
	int   pos = strlen (ui->textentry_text);
data/setbfree-0.8.11/b_synth/ui.c:2326:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (ui->lv2nfo, value, 127);
data/setbfree-0.8.11/b_synth/ui.c:3266: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).
			if (strlen (ui->dirlist[i]) > 24)
data/setbfree-0.8.11/b_synth/ui.c:3287:23:  [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 (ui->dirlist[i][strlen (ui->dirlist[i]) - 1] != '/') {
data/setbfree-0.8.11/b_synth/ui.c:4421:49:  [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).
				txtentry_start (view, "Enter Preset Name:", strlen (ui->midipgm[ui->pgm_sel]) > 0 ? ui->midipgm[ui->pgm_sel] : "User");
data/setbfree-0.8.11/b_synth/ui.c:4824:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
		usleep (1000000 / 25); // 25 FPS
data/setbfree-0.8.11/b_synth/ui.c:5153:30:  [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).
		size_t hl                = strlen (getenv ("XDG_CONFIG_HOME"));
data/setbfree-0.8.11/b_synth/ui.c:5159:30:  [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).
		size_t hl                = strlen (getenv ("HOME"));
data/setbfree-0.8.11/b_synth/ui.c:5179:36:  [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).
			ui->bundlePath = (char*)malloc (strlen (d) + 12);
data/setbfree-0.8.11/b_synth/ui.c:5319:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (ui->midipgm[v], fn, 31);
data/setbfree-0.8.11/b_synth/ui.c:5320:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (ui->mididsc[v], dsc, 255);
data/setbfree-0.8.11/b_synth/uris.h:170:37:  [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).
	lv2_atom_forge_string (forge, key, strlen (key));
data/setbfree-0.8.11/b_synth/uris.h:188:37:  [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).
	lv2_atom_forge_string (forge, key, strlen (key));
data/setbfree-0.8.11/b_synth/uris.h:190:39:  [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).
	lv2_atom_forge_string (forge, value, strlen (value));
data/setbfree-0.8.11/b_whirl/gui/b_whirl.c:1487:26:  [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).
			memcpy (tmp, tmp + 1, strlen (tmp)); \
data/setbfree-0.8.11/b_whirl/gui/b_whirl.c:1490:26:  [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).
			memcpy (tmp, tmp + 1, strlen (tmp)); \
data/setbfree-0.8.11/robtk/gpg_check.c:37:32:  [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 (homedrive && homepath && (strlen(homedrive) + strlen(homepath) + strlen(SIGFILE) + 3) < 1024) {
data/setbfree-0.8.11/robtk/gpg_check.c:37:52:  [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 (homedrive && homepath && (strlen(homedrive) + strlen(homepath) + strlen(SIGFILE) + 3) < 1024) {
data/setbfree-0.8.11/robtk/gpg_check.c:37:71:  [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 (homedrive && homepath && (strlen(homedrive) + strlen(homepath) + strlen(SIGFILE) + 3) < 1024) {
data/setbfree-0.8.11/robtk/gpg_check.c:40:32:  [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 (homedrive && homepath && (strlen(homedrive) + strlen(homepath) + strlen(SIGFILE) + 17) < 1024) {
data/setbfree-0.8.11/robtk/gpg_check.c:40:52:  [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 (homedrive && homepath && (strlen(homedrive) + strlen(homepath) + strlen(SIGFILE) + 17) < 1024) {
data/setbfree-0.8.11/robtk/gpg_check.c:40:71:  [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 (homedrive && homepath && (strlen(homedrive) + strlen(homepath) + strlen(SIGFILE) + 17) < 1024) {
data/setbfree-0.8.11/robtk/gpg_check.c:45:15:  [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 (home && (strlen(home) + strlen(SIGFILE) + 3) < 1024) {
data/setbfree-0.8.11/robtk/gpg_check.c:45:30:  [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 (home && (strlen(home) + strlen(SIGFILE) + 3) < 1024) {
data/setbfree-0.8.11/robtk/gpg_check.c:48:15:  [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 (home && (strlen(home) + strlen(SIGFILE) + 3) < 1024) {
data/setbfree-0.8.11/robtk/gpg_check.c:48:30:  [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 (home && (strlen(home) + strlen(SIGFILE) + 3) < 1024) {
data/setbfree-0.8.11/robtk/gpg_check.c:51:15:  [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 (home && (strlen(home) + 18) < 1024) {
data/setbfree-0.8.11/robtk/gpg_check.c:54:15:  [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 (home && (strlen(home) + 18) < 1024) {
data/setbfree-0.8.11/robtk/gpg_check.c:87:16:  [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).
				t1 = tmp + strlen(RTK_URI);
data/setbfree-0.8.11/robtk/gpg_check.c:90:9:  [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(t1) > 0 && strncmp(t1, VERSION, strlen(t1))) {
data/setbfree-0.8.11/robtk/gpg_check.c:90:48:  [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(t1) > 0 && strncmp(t1, VERSION, strlen(t1))) {
data/setbfree-0.8.11/robtk/gpg_check.c:101:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
			strncat(self->gpg_data, " ", sizeof(self->gpg_data) - strlen(self->gpg_data));
data/setbfree-0.8.11/robtk/gpg_check.c:101:58:  [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).
			strncat(self->gpg_data, " ", sizeof(self->gpg_data) - strlen(self->gpg_data));
data/setbfree-0.8.11/robtk/gpg_check.c:103:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
			strncat(self->gpg_data, data, sizeof(self->gpg_data) - strlen(self->gpg_data));
data/setbfree-0.8.11/robtk/gpg_check.c:103:59:  [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).
			strncat(self->gpg_data, data, sizeof(self->gpg_data) - strlen(self->gpg_data));
data/setbfree-0.8.11/robtk/gpg_init.c:13:19:  [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 (!filename || strlen(filename) < 1) return 0;
data/setbfree-0.8.11/robtk/jackwrap.c:684:6:  [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 (cn) >= (unsigned int)jack_client_name_size () - 1) {
data/setbfree-0.8.11/robtk/jackwrap.c:1538:23:  [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 (optind < argc && strlen (argv[optind]) > 2 && atoi (argv[optind]) == 0) {
data/setbfree-0.8.11/robtk/widgets/robtk_dial.h:476:35:  [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 (!getenv("NO_METER_SHADE") || strlen(getenv("NO_METER_SHADE")) == 0) {
data/setbfree-0.8.11/robtk/widgets/robtk_scale.h:585:13:  [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 (txt && strlen(txt)) {
data/setbfree-0.8.11/src/cfgParser.c:124:12:  [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).
		for (i = strlen (name) - 1; isspace (name[i]); name[i] = '\0', i--)
data/setbfree-0.8.11/src/cfgParser.c:138: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).
			i = strlen (value);
data/setbfree-0.8.11/src/cfgParser.c:180: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 (d->name) >= 40) {
data/setbfree-0.8.11/src/cfgParser.c:186:12:  [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).
		        (strlen (d->dflt) > 0) ? d->dflt : "?");
data/setbfree-0.8.11/src/cfgParser.c:187: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 (d->desc) > 0) {
data/setbfree-0.8.11/src/main.c:379:30:  [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 (c == 0 && jack_ports && strlen (jack_ports) > 0) {
data/setbfree-0.8.11/src/main.c:393:36:  [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 (use_jack_midi && midi_port && strlen (midi_port) > 0) {
data/setbfree-0.8.11/src/main.c:700:18:  [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).
	for (i = 0; i < strlen (c); ++i) {
data/setbfree-0.8.11/src/main.c:847:26:  [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).
		size_t hl            = strlen (getenv ("XDG_CONFIG_HOME"));
data/setbfree-0.8.11/src/main.c:853:26:  [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).
		size_t hl            = strlen (getenv ("HOME"));
data/setbfree-0.8.11/src/midi.c:332:43:  [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 (0 == strncmp (name, ccFuncNames[i], strlen (ccFuncNames[i]))) {
data/setbfree-0.8.11/src/midi.c:342:10:  [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).
	int l = strlen (param);
data/setbfree-0.8.11/src/midi.c:1056:88:  [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).
	} else if (strncasecmp (cfg->name, "midi.controller.reset", 21) == 0 && cfg->value && strlen (cfg->value) > 0) {
data/setbfree-0.8.11/src/midi.c:1147:11:  [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).
		assert (strlen (ccFuncNames[fnid]) < 63);
data/setbfree-0.8.11/src/midi.c:1150:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat (value, "-");
data/setbfree-0.8.11/src/midi_aseq.c:76:19:  [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 (port_name && strlen (port_name) > 0) {
data/setbfree-0.8.11/src/midnam.c:54:32:  [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).
		escaped    = (char*)malloc ((strlen (name) + ent * 4 + 1) * sizeof (char));
data/setbfree-0.8.11/src/midnam.c:58:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
			strncat (escaped, t1, t2 - t1);
data/setbfree-0.8.11/src/midnam.c:62:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat (escaped, t1, strlen (name) - (t1 - name));
data/setbfree-0.8.11/src/midnam.c:62:25:  [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).
		strncat (escaped, t1, strlen (name) - (t1 - name));
data/setbfree-0.8.11/src/pgmParser.c:92:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		c = fgetc (fp);
data/setbfree-0.8.11/src/pgmParser.c:127:9:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				c = fgetc (fp);
data/setbfree-0.8.11/src/pgmParser.c:131:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
					strncpy (tokbuf, "End of file in quoted string", tblen);
data/setbfree-0.8.11/src/pgmParser.c:157:9:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				c = fgetc (fp);
data/setbfree-0.8.11/src/pgmParser.c:215:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (identifier, ps->stringBuffer, SYMBOLSIZE - 1);
data/setbfree-0.8.11/src/pgmParser.c:378:16:  [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).
	fwrite (pdef, strlen (pdef), 1, f);
data/setbfree-0.8.11/src/pgmParser.c:382:31:  [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 ((ps.fp = fmemopen (pdef, strlen (pdef), "r")) != NULL)
data/setbfree-0.8.11/src/program.c:348:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy (PGM->name, val, NAMESZ);

ANALYSIS SUMMARY:

Hits = 642
Lines analyzed = 251032 in approximately 15.32 seconds (16389 lines/second)
Physical Source Lines of Code (SLOC) = 240395
Hits@level = [0] 618 [1] 109 [2] 356 [3]  49 [4] 128 [5]   0
Hits@level+ = [0+] 1260 [1+] 642 [2+] 533 [3+] 177 [4+] 128 [5+]   0
Hits/KSLOC@level+ = [0+] 5.24137 [1+] 2.6706 [2+] 2.21718 [3+] 0.736288 [4+] 0.532457 [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.