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/kluppe-0.6.20/src/common/peakview.c
Examining data/kluppe-0.6.20/src/common/interpol.c
Examining data/kluppe-0.6.20/src/common/osc.h
Examining data/kluppe-0.6.20/src/common/tranzport.c
Examining data/kluppe-0.6.20/src/common/speciallist.h
Examining data/kluppe-0.6.20/src/common/serialio.c
Examining data/kluppe-0.6.20/src/common/shuttle.c
Examining data/kluppe-0.6.20/src/common/shuttle.h
Examining data/kluppe-0.6.20/src/common/clickmodes.h
Examining data/kluppe-0.6.20/src/common/jackmixer.h
Examining data/kluppe-0.6.20/src/common/buffer.h
Examining data/kluppe-0.6.20/src/common/looperdata.h
Examining data/kluppe-0.6.20/src/common/xsession.h
Examining data/kluppe-0.6.20/src/common/interpol.h
Examining data/kluppe-0.6.20/src/common/old.jackmixer.c
Examining data/kluppe-0.6.20/src/common/midi.c
Examining data/kluppe-0.6.20/src/common/cd.h
Examining data/kluppe-0.6.20/src/common/buffer.c
Examining data/kluppe-0.6.20/src/common/peakview.h
Examining data/kluppe-0.6.20/src/common/looperdata.c
Examining data/kluppe-0.6.20/src/common/alphatrack.h
Examining data/kluppe-0.6.20/src/common/alphatrack.c
Examining data/kluppe-0.6.20/src/common/filechunk.c
Examining data/kluppe-0.6.20/src/common/speciallist.c
Examining data/kluppe-0.6.20/src/common/serialio.h
Examining data/kluppe-0.6.20/src/common/xsession.c
Examining data/kluppe-0.6.20/src/common/osc.c
Examining data/kluppe-0.6.20/src/common/clickmodes.c
Examining data/kluppe-0.6.20/src/common/tranzport.h
Examining data/kluppe-0.6.20/src/common/filechunk.h
Examining data/kluppe-0.6.20/src/common/midi.h
Examining data/kluppe-0.6.20/src/common/vinyl.h
Examining data/kluppe-0.6.20/src/common/jackmixer.c
Examining data/kluppe-0.6.20/src/frontend/klopfer/klopfer.c
Examining data/kluppe-0.6.20/src/frontend/kluppe/threshdialog.c
Examining data/kluppe-0.6.20/src/frontend/kluppe/sfpreview.c
Examining data/kluppe-0.6.20/src/frontend/kluppe/gtkloopview.c
Examining data/kluppe-0.6.20/src/frontend/kluppe/customcurve.c
Examining data/kluppe-0.6.20/src/frontend/kluppe/gtkloopview.h
Examining data/kluppe-0.6.20/src/frontend/kluppe/configfile.c
Examining data/kluppe-0.6.20/src/frontend/kluppe/griddialog.c
Examining data/kluppe-0.6.20/src/frontend/kluppe/graindialog.c
Examining data/kluppe-0.6.20/src/frontend/kluppe/customcurve.h
Examining data/kluppe-0.6.20/src/frontend/kluppe/configfile.h
Examining data/kluppe-0.6.20/src/frontend/kluppe/threshdialog.h
Examining data/kluppe-0.6.20/src/frontend/kluppe/looper.h
Examining data/kluppe-0.6.20/src/frontend/kluppe/graindialog.h
Examining data/kluppe-0.6.20/src/frontend/kluppe/alphatrack_callback.h
Examining data/kluppe-0.6.20/src/frontend/kluppe/sfpreview.h
Examining data/kluppe-0.6.20/src/frontend/kluppe/alphatrack_callback.c
Examining data/kluppe-0.6.20/src/frontend/kluppe/griddialog.h
Examining data/kluppe-0.6.20/src/frontend/kluppe/looper.c
Examining data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c
Examining data/kluppe-0.6.20/src/frontend/kluppe/gtkmeter.c
Examining data/kluppe-0.6.20/src/frontend/kluppe/gtkmeter.h

FINAL RESULTS:

data/kluppe-0.6.20/src/common/buffer.c:615: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(buf->filename,name);
data/kluppe-0.6.20/src/common/buffer.c:621:9:  [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(buf->shortname,name);
data/kluppe-0.6.20/src/common/buffer.c:681:9:  [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(buf->filename,fname);
data/kluppe-0.6.20/src/common/buffer.c:710: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(buf->filename,fname);
data/kluppe-0.6.20/src/common/jackmixer.c:130: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 (submix->name,name);
data/kluppe-0.6.20/src/common/looperdata.c:272:9:  [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).
		str = strcat(str, num);
data/kluppe-0.6.20/src/common/old.jackmixer.c:130: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 (submix->name,name);
data/kluppe-0.6.20/src/frontend/kluppe/alphatrack_callback.c:81: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 (txt, 17, format, f);
data/kluppe-0.6.20/src/frontend/kluppe/alphatrack_callback.c:89:9:  [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, 17, format, i);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:163:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf (txt, "%s", buffer_get_shortname(
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c:120:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (mws," %s ",message);
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c:272:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(message,255,fmt,args);
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c:615: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 (projectfilename,filename);
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c:764: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 (projectfilename,filename);
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.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 (lastconfigfilepath, defaultdir);
data/kluppe-0.6.20/src/frontend/kluppe/sfpreview.c:19:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(txt,"%.1f seconds %s, %d hz",
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c:1059:15:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
	defaultdir = g_get_home_dir ();
data/kluppe-0.6.20/src/common/alphatrack.c:217: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(ev->leds, z->leds, sizeof(int) * MAXLED);
data/kluppe-0.6.20/src/common/filechunk.c:137:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	if (Lbuf) 			memcpy ((void*)(fc->L + index), (void*)Lbuf, size * sizeof(float));
data/kluppe-0.6.20/src/common/filechunk.c:138:34:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	if ((fc->channels > 1) && Rbuf) memcpy ((void*)(fc->R + index), (void*)Rbuf, size * sizeof(float));
data/kluppe-0.6.20/src/common/jackmixer.c:405:17:  [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(clientname,"kluppe%d",++cc);
data/kluppe-0.6.20/src/common/jackmixer.c:507: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 (name,"act%d",data->id);
data/kluppe-0.6.20/src/common/looperdata.c:267: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 (num,"%f ",*(data->customplaymode + i));
data/kluppe-0.6.20/src/common/old.jackmixer.c:398:17:  [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(clientname,"kluppe%d",++cc);
data/kluppe-0.6.20/src/common/old.jackmixer.c:497: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 (name,"act%d",data->id);
data/kluppe-0.6.20/src/common/osc.c:71: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 port[5];
data/kluppe-0.6.20/src/common/osc.c:79: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 (port,"%d",i);
data/kluppe-0.6.20/src/common/serialio.c:26:17:  [2] (misc) open:
  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).
	serialio->fd = open ("/dev/ttyS1", O_RDWR | O_NOCTTY | O_NDELAY);
data/kluppe-0.6.20/src/common/shuttle.c:17: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 name[256] = "unknown";
data/kluppe-0.6.20/src/common/shuttle.c:19: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 shuttlename[256] = "Contour Design ShuttleXpress";
data/kluppe-0.6.20/src/common/shuttle.c:27:18:  [2] (misc) open:
  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).
			shuttle->fd = open(device, O_RDONLY);
data/kluppe-0.6.20/src/common/shuttle.c:80: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[256] = "unknown";
data/kluppe-0.6.20/src/frontend/klopfer/klopfer.c:44: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[21];
data/kluppe-0.6.20/src/frontend/klopfer/klopfer.c:74:7:  [2] (misc) open:
  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).
	fd = open("/dev/mixer", O_RDONLY);
data/kluppe-0.6.20/src/frontend/klopfer/klopfer.c:91:14:  [2] (misc) open:
  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).
        fd = open("/dev/mixer", O_RDONLY);
data/kluppe-0.6.20/src/frontend/klopfer/klopfer.c:106:7:  [2] (misc) open:
  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).
	fd = open("/dev/mixer", O_WRONLY);
data/kluppe-0.6.20/src/frontend/klopfer/klopfer.c:114:14:  [2] (misc) open:
  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).
        fd = open("/dev/mixer", O_WRONLY);
data/kluppe-0.6.20/src/frontend/klopfer/klopfer.c:226: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 charbuf[2];
data/kluppe-0.6.20/src/frontend/klopfer/klopfer.c:536: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 msg[21] = "                     ";
data/kluppe-0.6.20/src/frontend/klopfer/klopfer.c:543: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 msg[21] = "                     ";	
data/kluppe-0.6.20/src/frontend/klopfer/klopfer.c:598: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 msg[21] = "                     ";
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:14:28:  [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.
                filename = strcat(filename,".klp");
data/kluppe-0.6.20/src/frontend/kluppe/configfile.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 txt[128];
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:39: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 (txt, "%d",(int)x);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:41: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 (txt, "%d",(int)y);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:43: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 (txt, "%d",(int)width);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:45: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 (txt, "%d",(int)height);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:47: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 (txt, "%ld",samplerate);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:53: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 (txt, "%d", looper->id);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:55: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 (txt, "%d", looper_get_position(looper));
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:61: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 (txt, "%d", looper->data->buf->id);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:65: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 (txt, "%f", looper->data->vol);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:67: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 (txt, "%f", looper->data->pan);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:69: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 (txt, "%f", looper->data->panswing);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:71:33:  [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 (txt, "%f", looper->data->recmix);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:73: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 (txt, "%f", looper->data->speed);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:76: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 (txt, "%f", looper->data->playpos);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:78: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 (txt, "%ld", looper->data->recpos);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:80: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 (txt, "%ld", looper->data->loopstart);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:82:33:  [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 (txt, "%ld", looper->data->loopend);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:84: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 (txt, "%ld", looper->data->recstart);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:86:33:  [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 (txt, "%ld", looper->data->recend);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:89: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 (txt, "%d", looper->data->isplaying);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:91:33:  [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 (txt, "%d", looper->data->isrecording);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:93: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 (txt, "%d", looper->data->linkrec2play);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:95:33:  [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 (txt, "%d", looper->data->keepabsolute);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:97: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 (txt, "%d", looper->data->limiter);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:121: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 (txt, "%.4lf",gtk_loopview_get_bpm(GTK_LOOPVIEW(looper->loopview)));
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:124:33:  [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 (txt, "%.4lf",gtk_loopview_get_bpb(GTK_LOOPVIEW(looper->loopview)));
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:127: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 (txt, "%ld",(long)gtk_loopview_get_gridoffset(GTK_LOOPVIEW(looper->loopview)));
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:130: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 (txt, "%d", looper->data->playmode);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:133: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 (txt, "%d", looper->data->recmode);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:136: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 (txt, "%d", looper->data->ngrains);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:138: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 (txt, "%d", looper->data->graindensity);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:140: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 (txt, "%f", looper->data->stereodiversity);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:142: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 (txt, "%f", looper->data->mingrainspeed);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:144: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 (txt, "%f", looper->data->maxgrainspeed);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:146: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 (txt, "%ld", looper->data->mingrainlength);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:148:33:  [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 (txt, "%ld", looper->data->maxgrainlength);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:150: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 (txt, "%d", looperdata_get_grainpitchmode(looper->data));
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:153: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 (txt, "%d", looperdata_get_thresholdmode(looper->data));
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:155: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 (txt, "%d", looperdata_get_thresholdbuffersize(looper->data));
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:157: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 (txt, "%lf",looperdata_get_low_threshold(looper->data));
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:159: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 (txt, "%lf",looperdata_get_high_threshold(looper->data));
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:168: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 (txt, "%d", looperdata_get_midichannel(looper->data));
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:171: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 (txt, "%ld", 
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:174: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 (txt, "%ld", 
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:179: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 (txt, "%d", looper->data->cm_size);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:192: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 (txt, "%d", buf->id);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:196: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 (txt, "%d", buf->status);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:198: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 (txt, "%d", buffer_get_type(buf));
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:200:17:  [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 (txt, "%d", buffer_get_channels(buf));
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:202: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 (txt, "%ld", buffer_get_size(buf));
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:204: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 (txt, "%lf", buffer_get_volume_factor(buf));
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:260:8:  [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).
			i = atoi ((char*)content);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:279:8:  [2] (integer) atol:
  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).
			l = atol ((char*)content);
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c:245:10:  [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).
	ufile = fopen("/proc/uptime","r");
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c:810: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 (txt,"MB: buffer nr. %d",++bufferindexcounter);
data/kluppe-0.6.20/src/common/alphatrack.c:229: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(POLL_INTERVAL * 1000);
data/kluppe-0.6.20/src/common/alphatrack.c:396:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(text,(char*)(z->lcd + (cell * 4)),4);
data/kluppe-0.6.20/src/common/alphatrack.c:411: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).
	int length = strlen(txt);
data/kluppe-0.6.20/src/common/buffer.c:29:20:  [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 len2 = strlen(s2);
data/kluppe-0.6.20/src/common/buffer.c:32: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).
        if (n >  strlen(s1)){n = strlen(s1);}
data/kluppe-0.6.20/src/common/buffer.c:32:34:  [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 (n >  strlen(s1)){n = strlen(s1);}
data/kluppe-0.6.20/src/common/buffer.c:614:70:  [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).
        buf->filename = (char*) realloc(buf->filename,sizeof(char) * strlen(name) + 1);
data/kluppe-0.6.20/src/common/buffer.c:620:72:  [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).
        buf->shortname = (char*) realloc(buf->shortname,sizeof(char) * strlen(name) + 1);
data/kluppe-0.6.20/src/common/buffer.c:680:50:  [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).
	buf->filename = (char*) malloc (sizeof(char) * (strlen(fname) + 1));
data/kluppe-0.6.20/src/common/buffer.c:684: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).
		sn = calloc(sizeof(char), (strlen(fname) - lp + 16));
data/kluppe-0.6.20/src/common/buffer.c:688: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).
        	snprintf (sn,strlen(fname) - lp + 16,"DS: %s (%0.0f:%02.0f)",(char*)(buf->filename + lp + 1),min,sec);
data/kluppe-0.6.20/src/common/buffer.c:709:50:  [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).
	buf->filename = (char*) malloc (sizeof(char) * (strlen(fname) + 1));
data/kluppe-0.6.20/src/common/buffer.c:713: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).
        	sn = calloc(sizeof(char), (strlen(fname) - lp + 16));
data/kluppe-0.6.20/src/common/buffer.c:717: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).
        	snprintf (sn,strlen(fname) - lp + 16,"FB: %s (%0.0f:%02.0f)",(char*)(buf->filename + lp + 1),min,sec);
data/kluppe-0.6.20/src/common/filechunk.c:32: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).
		fc->filename = calloc (sizeof(char),strlen(filename) + 1);
data/kluppe-0.6.20/src/common/filechunk.c:33:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (fc->filename, filename, strlen(filename));
data/kluppe-0.6.20/src/common/filechunk.c:33: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).
		strncpy (fc->filename, filename, strlen(filename));
data/kluppe-0.6.20/src/common/jackmixer.c:129: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).
	submix->name = (char*) malloc(sizeof(char) * (strlen(name)+1));
data/kluppe-0.6.20/src/common/jackmixer.c:415:17:  [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 (info->jack_info->name,"nojack!",7);
data/kluppe-0.6.20/src/common/jackmixer.c:422: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).
        info->jack_info->name = calloc(sizeof(char) , (strlen(clientname) + 1));
data/kluppe-0.6.20/src/common/jackmixer.c:423:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy (info->jack_info->name,clientname,strlen(clientname)) ;
data/kluppe-0.6.20/src/common/jackmixer.c:423: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).
        strncpy (info->jack_info->name,clientname,strlen(clientname)) ;
data/kluppe-0.6.20/src/common/jackmixer.c:753: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(10);
data/kluppe-0.6.20/src/common/looperdata.c:268: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).
		s += strlen(num);
data/kluppe-0.6.20/src/common/looperdata.c:271: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).
		memset((void*)(str + s  - strlen(num)),0,strlen(num));
data/kluppe-0.6.20/src/common/looperdata.c:271: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).
		memset((void*)(str + s  - strlen(num)),0,strlen(num));
data/kluppe-0.6.20/src/common/looperdata.c:292:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			num = strncpy (num,(a),(b-a));
data/kluppe-0.6.20/src/common/old.jackmixer.c:129: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).
	submix->name = (char*) malloc(sizeof(char) * (strlen(name)+1));
data/kluppe-0.6.20/src/common/old.jackmixer.c:409:17:  [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 (info->jack_info->name,"nojack!",7);
data/kluppe-0.6.20/src/common/old.jackmixer.c:415: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).
        info->jack_info->name = calloc(sizeof(char) , (strlen(clientname) + 1));
data/kluppe-0.6.20/src/common/old.jackmixer.c:416:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy (info->jack_info->name,clientname,strlen(clientname)) ;
data/kluppe-0.6.20/src/common/old.jackmixer.c:416: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).
        strncpy (info->jack_info->name,clientname,strlen(clientname)) ;
data/kluppe-0.6.20/src/common/old.jackmixer.c:739: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(10);
data/kluppe-0.6.20/src/common/osc.c:31: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).
	for (i = 0; i <= strlen(path); i++){
data/kluppe-0.6.20/src/common/osc.c:32: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).
		if (!(strncmp ((char*)(path + i),"/",1)) || ((i) == strlen(path))){	
data/kluppe-0.6.20/src/common/osc.c:34: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(searched) == (i - j - 1))
data/kluppe-0.6.20/src/common/osc.c:54: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).
	for (i = 0; i <= strlen(path); i++){
data/kluppe-0.6.20/src/common/osc.c:55:53:  [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 (!(strncmp ((char*)(path + i),"/",1)) || (i == strlen(path))){a = b; b = i;pos++;}
data/kluppe-0.6.20/src/common/osc.c:57:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(substr,(char*)(path + a + 1),(b-a-1));
data/kluppe-0.6.20/src/common/shuttle.c:105:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                		ok = read(shuttle->fd, &ev, sizeof(ev));
data/kluppe-0.6.20/src/common/tranzport.c:276:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(text,(char*)(z->lcd + (cell * 4)),4);
data/kluppe-0.6.20/src/common/tranzport.c:289: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).
	int length = strlen(txt);
data/kluppe-0.6.20/src/frontend/klopfer/klopfer.c:267: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).
	maxlen = strlen(buf);
data/kluppe-0.6.20/src/frontend/klopfer/klopfer.c:280:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (lcd_value_text,text,20);
data/kluppe-0.6.20/src/frontend/klopfer/klopfer.c:300: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).
        maxlen = strlen(buf) + 5;
data/kluppe-0.6.20/src/frontend/klopfer/klopfer.c:311:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy (lcd_value_text,text,20);
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:12:40:  [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 (strcmp (".klp",(char*)(filename + strlen(filename) - 4))){
data/kluppe-0.6.20/src/frontend/kluppe/configfile.c:13:62:  [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).
                filename = realloc(filename, sizeof(char) * (strlen(filename) + 5));
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c:119:33:  [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).
		mws = malloc (sizeof(char) * (strlen(message) + 3));
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c:548:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy (lastpath, filename, (pathend - filename + 1));
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c:549:4:  [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 character.
			strncpy ((char*)(lastpath + (long)(pathend - filename + 1)),"\0",1);
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c:570:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy (lastpath, filename, (pathend - filename + 1));
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c:571:25:  [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 character.
                        strncpy ((char*)(lastpath + (long)(pathend - filename + 1)),"\0",1);
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c:609:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy (lastconfigfilepath, filename, (pathend - filename + 1));
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c:610:4:  [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 character.
			strncpy ((char*)(lastconfigfilepath + (long)(pathend - filename + 1)),"\0",1);
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c:614:64:  [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).
			projectfilename = realloc (projectfilename, sizeof(char) * (strlen(filename) +1));
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c:763:65:  [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).
				projectfilename = realloc (projectfilename, sizeof(char) * (strlen(filename) +1));
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c:774:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy (lastconfigfilepath, filename, (pathend - filename + 1));
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c:775:5:  [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 character.
				strncpy ((char*)(lastconfigfilepath + (long)(pathend - filename + 1)),"\0",1);
data/kluppe-0.6.20/src/frontend/kluppe/kluppe.c:1147: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).
		lastconfigfilepath = malloc (sizeof(char) * (strlen(defaultdir) + 1));
data/kluppe-0.6.20/src/frontend/kluppe/looper.c:313:53:  [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 (strncasecmp (".wav",(char*)(filename + strlen(filename) - 4),4)){
data/kluppe-0.6.20/src/frontend/kluppe/looper.c:314: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).
                	int i = strlen(filename);
data/kluppe-0.6.20/src/frontend/kluppe/looper.c:317:18:  [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((filename + i),".wav",4);

ANALYSIS SUMMARY:

Hits = 161
Lines analyzed = 17998 in approximately 0.80 seconds (22604 lines/second)
Physical Source Lines of Code (SLOC) = 14222
Hits@level = [0] 170 [1]  63 [2]  81 [3]   1 [4]  16 [5]   0
Hits@level+ = [0+] 331 [1+] 161 [2+]  98 [3+]  17 [4+]  16 [5+]   0
Hits/KSLOC@level+ = [0+] 23.2738 [1+] 11.3205 [2+] 6.89073 [3+] 1.19533 [4+] 1.12502 [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.