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/xjadeo-0.8.9/config.h
Examining data/xjadeo-0.8.9/contrib/cli-remote/jadeo.c
Examining data/xjadeo-0.8.9/src/qt-gui/prefdialog.h
Examining data/xjadeo-0.8.9/src/qt-gui/importdialog.h
Examining data/xjadeo-0.8.9/src/qt-gui/prefdialog.cpp
Examining data/xjadeo-0.8.9/src/qt-gui/qjadeo.cpp
Examining data/xjadeo-0.8.9/src/qt-gui/qjadeo.h
Examining data/xjadeo-0.8.9/src/qt-gui/importprogress.h
Examining data/xjadeo-0.8.9/src/qt-gui/importdialog.cpp
Examining data/xjadeo-0.8.9/src/qt-gui/importprogress.cpp
Examining data/xjadeo-0.8.9/src/xjadeo/gtime.h
Examining data/xjadeo-0.8.9/src/xjadeo/ltc-jack.c
Examining data/xjadeo-0.8.9/src/xjadeo/display_x_dialog.c
Examining data/xjadeo-0.8.9/src/xjadeo/gtime.c
Examining data/xjadeo-0.8.9/src/xjadeo/main.c
Examining data/xjadeo-0.8.9/src/xjadeo/display.h
Examining data/xjadeo-0.8.9/src/xjadeo/common_jack.c
Examining data/xjadeo-0.8.9/src/xjadeo/xjadeo.h
Examining data/xjadeo-0.8.9/src/xjadeo/display_mac.c
Examining data/xjadeo-0.8.9/src/xjadeo/weak_libjack.h
Examining data/xjadeo-0.8.9/src/xjadeo/remote.h
Examining data/xjadeo-0.8.9/src/xjadeo/midi.c
Examining data/xjadeo-0.8.9/src/xjadeo/xjadeo.c
Examining data/xjadeo-0.8.9/src/xjadeo/display_gl_common.h
Examining data/xjadeo-0.8.9/src/xjadeo/jack.c
Examining data/xjadeo-0.8.9/src/xjadeo/freetype.c
Examining data/xjadeo-0.8.9/src/xjadeo/mqueue.c
Examining data/xjadeo-0.8.9/src/xjadeo/smpte.c
Examining data/xjadeo-0.8.9/src/xjadeo/remote.c
Examining data/xjadeo-0.8.9/src/xjadeo/display_x_dnd.c
Examining data/xjadeo-0.8.9/src/xjadeo/display_x11.c
Examining data/xjadeo-0.8.9/src/xjadeo/weak_libjack.c
Examining data/xjadeo-0.8.9/src/xjadeo/display.c
Examining data/xjadeo-0.8.9/src/xjadeo/display_glx.c
Examining data/xjadeo-0.8.9/src/xjadeo/display_gl_win.c
Examining data/xjadeo-0.8.9/src/xjadeo/display_sdl.c
Examining data/xjadeo-0.8.9/src/xjadeo/xjosc.c
Examining data/xjadeo-0.8.9/src/xjadeo/icons/osd_bitmaps.h
Examining data/xjadeo-0.8.9/src/xjadeo/icons/xjadeo8_ico.h
Examining data/xjadeo-0.8.9/src/xjadeo/icons/xjadeoH.h
Examining data/xjadeo-0.8.9/src/xjadeo/libsofd.c
Examining data/xjadeo-0.8.9/src/xjadeo/common.c
Examining data/xjadeo-0.8.9/src/xjadeo/ffcompat.h
Examining data/xjadeo-0.8.9/src/xjadeo/xjremote.c
Examining data/xjadeo-0.8.9/src/xjadeo/configfile.c

FINAL RESULTS:

data/xjadeo-0.8.9/src/qt-gui/importprogress.cpp:43:10:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    Temp.sprintf("%i",enc_w);
data/xjadeo-0.8.9/src/qt-gui/importprogress.cpp:48:10:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    Temp.sprintf("scale=%i:%i",enc_w,enc_h);
data/xjadeo-0.8.9/src/qt-gui/qjadeo.cpp:435:8:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  Temp.sprintf("seek %i\n",frame);
data/xjadeo-0.8.9/src/qt-gui/qjadeo.cpp:613:30:  [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.
  QString sLocale = QLocale::system().name();
data/xjadeo-0.8.9/src/xjadeo/configfile.c:345:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "%s" PATHSEP "%s", SYSCFGDIR, XJADEORC);
data/xjadeo-0.8.9/src/xjadeo/configfile.c:351:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "%s" PATHSEP ".%s", home, XJADEORC);
data/xjadeo-0.8.9/src/xjadeo/configfile.c:359:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "%s%s" PATHSEP "Local Settings" PATHSEP "xjadeo" PATHSEP "%s", homedrive, homepath, XJADEORC);
data/xjadeo-0.8.9/src/xjadeo/configfile.c:363:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "%s%s" PATHSEP "Local Settings" PATHSEP "%s", homedrive, homepath, XJADEORC);
data/xjadeo-0.8.9/src/xjadeo/configfile.c:367:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "%s%s" PATHSEP "%s", homedrive, homepath, XJADEORC);
data/xjadeo-0.8.9/src/xjadeo/configfile.c:374:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "%s" PATHSEP "xjadeo" PATHSEP "%s", xdg, XJADEORC);
data/xjadeo-0.8.9/src/xjadeo/configfile.c:380:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "%s" PATHSEP "Library/Preferences/xjadeo/%s", home, XJADEORC);
data/xjadeo-0.8.9/src/xjadeo/configfile.c:385:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "%s" PATHSEP ".config" PATHSEP "xjadeo" PATHSEP "%s", xdg, XJADEORC);
data/xjadeo-0.8.9/src/xjadeo/configfile.c:392:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "%s", XJADEORC);
data/xjadeo-0.8.9/src/xjadeo/display.c:645: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(tempoff, 30, "O:  %"PRId64, ts_offset);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:167: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 (path, R_OK)) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:192: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 (_recentlist[_recentcnt].path, path);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:264: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 (fn, R_OK)) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:308:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(recent_file, "%s" PATHSEP "%s" PATHSEP "recent", xdg, appname);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:315:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(recent_file, "%s%s" PATHSEP "Application Data" PATHSEP "%s" PATHSEP "recent.txt", homedrive, homepath, appname);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:321:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(recent_file, "%s/Library/Preferences/%s/recent", home, appname);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:327:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(recent_file, "%s/.local/share/%s/recent", home, appname);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1217: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 (tp, path);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1218: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 (tp, name);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1219: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 (tp, R_OK)) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1241: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 (_dirlist[i].name, name);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1300: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 (_cur_path, path);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1339: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 (_pathbtn[i].name, t1);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1355: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 (_rv_open, _dirlist[item].rfp->path);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1359: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 (tp, _cur_path);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1360: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 (tp, _dirlist[item].name);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1366: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 (_rv_open, tp);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1640: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 (path, _pathbtn[i].name);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1695: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 (_placelist[_placecnt].path, path);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1696: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 (_placelist[_placecnt].name, name);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1723: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 (path, R_OK)) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1744: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 (fn, R_OK)) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1866: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 (tmp, getenv ("HOME"));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1885: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 (tmp, getenv ("HOME"));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1892: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 (tmp, getenv ("XDG_CONFIG_HOME"));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1899: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 (tmp, getenv ("HOME"));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2229: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).
								strcat (path, _pathbtn[i].name);
data/xjadeo-0.8.9/src/xjadeo/main.c:439: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(OSD_fontfile, optarg);
data/xjadeo-0.8.9/src/xjadeo/main.c:1122: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(OSD_fontfile, path);
data/xjadeo-0.8.9/src/xjadeo/main.c:1123: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(OSD_fontfile, "\\" FONT_FILE);
data/xjadeo-0.8.9/src/xjadeo/main.c:1128: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(OSD_fontfile, path);
data/xjadeo-0.8.9/src/xjadeo/main.c:1129: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(OSD_fontfile, "\\" FONT_FILE);
data/xjadeo-0.8.9/src/xjadeo/remote.c:1147: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(text, LOGLEN, format, arglist);
data/xjadeo-0.8.9/src/xjadeo/remote.c:1188: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(text, MQLEN, format, arglist);
data/xjadeo-0.8.9/src/xjadeo/remote.c:1309: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(text, MQLEN, format, arglist);
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:690:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(OSD_msg, "%s%3.0f%%", msg, percent);
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1664: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(OSD_smpte, syncname[syncnidx]);
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1681: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(OSD_smpte, syncname[syncnidx]);
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1731: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(OSD_smpte, syncname[syncnidx]);
data/xjadeo-0.8.9/src/xjadeo/xjadeo.h:20:10:  [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.
# define vsnprintf _vsnprintf
data/xjadeo-0.8.9/src/xjadeo/xjadeo.h:21:10:  [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.
# define snprintf _snprintf
data/xjadeo-0.8.9/src/xjadeo/xjadeo.h:21:19:  [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.
# define snprintf _snprintf
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:236:5:  [4] (shell) execl:
  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.
				execl(xjadeo,"xjadeo", "-J", "-q", "-W", queuefile, NULL);
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:238:5:  [4] (shell) execl:
  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.
				execl(xjadeo,"xjadeo", "-J", "-R", NULL);
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:240:5:  [4] (shell) execl:
  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.
				execl(xjadeo,"xjadeo", "-J", "-Q", "-q", NULL);
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:243:5:  [4] (shell) execl:
  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.
				execl(xjadeo,"xjadeo", "-q", "-W", queuefile, NULL);
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:245:5:  [4] (shell) execl:
  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.
				execl(xjadeo,"xjadeo", "-R", NULL);
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:247:5:  [4] (shell) execl:
  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.
				execl(xjadeo,"xjadeo", "-Q", "-q", NULL);
data/xjadeo-0.8.9/src/qt-gui/qjadeo.cpp:628: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.
  QString xjadeoPath(getenv("XJREMOTE"));
data/xjadeo-0.8.9/src/xjadeo/configfile.c:349: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/xjadeo-0.8.9/src/xjadeo/configfile.c:356: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/xjadeo-0.8.9/src/xjadeo/configfile.c:357: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/xjadeo-0.8.9/src/xjadeo/configfile.c:372: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.
	const char *xdg = getenv("XDG_CONFIG_HOME");
data/xjadeo-0.8.9/src/xjadeo/display_x_dialog.c:407: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("XJFONT")) _XTESTFONT (getenv("XJFONT"));
data/xjadeo-0.8.9/src/xjadeo/display_x_dialog.c:407:36:  [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("XJFONT")) _XTESTFONT (getenv("XJFONT"));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:306: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.
	const char *xdg = getenv("XDG_DATA_HOME");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:312: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/xjadeo-0.8.9/src/xjadeo/libsofd.c:313: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/xjadeo-0.8.9/src/xjadeo/libsofd.c:319:21:  [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/xjadeo-0.8.9/src/xjadeo/libsofd.c:325:21:  [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/xjadeo-0.8.9/src/xjadeo/libsofd.c:1863:33:  [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.
	add_place_places (dpy, "Home", getenv ("HOME"));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1865: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/xjadeo-0.8.9/src/xjadeo/libsofd.c:1866:16:  [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.
		strcpy (tmp, getenv ("HOME"));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1884: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.
	if (!parsed_bookmarks && getenv ("HOME")) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1885:16:  [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.
		strcpy (tmp, getenv ("HOME"));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1891: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.
	if (!parsed_bookmarks && getenv ("XDG_CONFIG_HOME")) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1892:16:  [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.
		strcpy (tmp, getenv ("XDG_CONFIG_HOME"));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1898: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.
	if (!parsed_bookmarks && getenv ("HOME")) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1899:16:  [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.
		strcpy (tmp, getenv ("HOME"));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1987: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 ("XJFONT")) _XTESTFONT (getenv ("XJFONT"));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1987:37:  [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 ("XJFONT")) _XTESTFONT (getenv ("XJFONT"));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2093:21:  [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.
		fib_opendir (dpy, getenv ("HOME") ? getenv ("HOME") : "/", NULL);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2093:39:  [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.
		fib_opendir (dpy, getenv ("HOME") ? getenv ("HOME") : "/", NULL);
data/xjadeo-0.8.9/src/xjadeo/main.c:303: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,
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1003:2:  [3] (random) srandom:
  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.
	srandom (time (NULL));
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1006:15:  [3] (random) random:
  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.
		int64_t n = random () % fcnt; // pick some random frames
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:76: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,
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:212:17:  [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 *xjadeo = getenv("XJADEO");
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:715:19:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
	else queuename = tempnam("/tmp", "xjremote");
data/xjadeo-0.8.9/contrib/cli-remote/jadeo.c:84:10:  [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).
		frames=atol(argv[1]);
data/xjadeo-0.8.9/contrib/cli-remote/jadeo.c:129: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 buf[BUFSIZ];
data/xjadeo-0.8.9/src/xjadeo/common_jack.c:37: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[256];
data/xjadeo-0.8.9/src/xjadeo/common_jack.c:38: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 command[256];
data/xjadeo-0.8.9/src/xjadeo/configfile.c:56: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.
extern char   OSD_fontfile[1024];
data/xjadeo-0.8.9/src/xjadeo/configfile.c:76: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.
extern char midiid[128];
data/xjadeo-0.8.9/src/xjadeo/configfile.c:90: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.
extern char   OSD_text[128];
data/xjadeo-0.8.9/src/xjadeo/configfile.c:124:26:  [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 (vmode==0 ) vmode = atoi(value);
data/xjadeo-0.8.9/src/xjadeo/configfile.c:147: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).
		midi_clkconvert=atoi(value);
data/xjadeo-0.8.9/src/xjadeo/configfile.c:163:11:  [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).
		switch (atoi(value)) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:225:11:  [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).
		js_winx=atoi(value)>>16;
data/xjadeo-0.8.9/src/xjadeo/configfile.c:226:11:  [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).
		js_winy=atoi(value)&0xffff;
data/xjadeo-0.8.9/src/xjadeo/configfile.c:229:11:  [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).
		js_winx=atoi(value);
data/xjadeo-0.8.9/src/xjadeo/configfile.c:232:11:  [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).
		js_winy=atoi(value);
data/xjadeo-0.8.9/src/xjadeo/configfile.c:235:11:  [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).
		js_winw=atoi(value)>>16;
data/xjadeo-0.8.9/src/xjadeo/configfile.c:236:11:  [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).
		js_winh=atoi(value)&0xffff;
data/xjadeo-0.8.9/src/xjadeo/configfile.c:239:11:  [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).
		js_winw=atoi(value);
data/xjadeo-0.8.9/src/xjadeo/configfile.c:242:11:  [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).
		js_winh=atoi(value);
data/xjadeo-0.8.9/src/xjadeo/configfile.c:256:24:  [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).
		interaction_override=atoi(value); rv=1;
data/xjadeo-0.8.9/src/xjadeo/configfile.c:258:27:  [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).
		keyframe_interval_limit=atoi(value); rv=1;
data/xjadeo-0.8.9/src/xjadeo/configfile.c:267:12:  [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(value); rv=1;
data/xjadeo-0.8.9/src/xjadeo/configfile.c:269:12:  [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).
		OSD_mode=atoi(value); rv=1;
data/xjadeo-0.8.9/src/xjadeo/configfile.c:271:10:  [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).
		OSD_sx=atoi(value); rv=1;
data/xjadeo-0.8.9/src/xjadeo/configfile.c:273:10:  [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).
		OSD_sy=atoi(value); rv=1;
data/xjadeo-0.8.9/src/xjadeo/configfile.c:275:10:  [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).
		OSD_fx=atoi(value); rv=1;
data/xjadeo-0.8.9/src/xjadeo/configfile.c:277:10:  [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).
		OSD_fy=atoi(value); rv=1;
data/xjadeo-0.8.9/src/xjadeo/configfile.c:279:10:  [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).
		OSD_tx=atoi(value); rv=1;
data/xjadeo-0.8.9/src/xjadeo/configfile.c:281:10:  [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).
		OSD_ty=atoi(value); rv=1;
data/xjadeo-0.8.9/src/xjadeo/configfile.c:291: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 line[MAX_LINE_LEN];
data/xjadeo-0.8.9/src/xjadeo/configfile.c:295:20:  [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 (!(config_fp = fopen(fn, "r"))) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:342: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[PATH_MAX];
data/xjadeo-0.8.9/src/xjadeo/configfile.c:401: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(fn, "w"))) {
data/xjadeo-0.8.9/src/xjadeo/display.c:71: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(dst, src, srcStride*height);
data/xjadeo-0.8.9/src/xjadeo/display.c: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(dst, src, width);
data/xjadeo-0.8.9/src/xjadeo/display.c:644: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 tempoff[30];
data/xjadeo-0.8.9/src/xjadeo/display.c:648: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 tempsmpte[30];
data/xjadeo-0.8.9/src/xjadeo/display.c:649:4:  [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(tempsmpte, "O: ");
data/xjadeo-0.8.9/src/xjadeo/display.c:651: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(tempsmpte, " +d");
data/xjadeo-0.8.9/src/xjadeo/display.c:682: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).
	if (VO[VOutput].open() ) {
data/xjadeo-0.8.9/src/xjadeo/display.h:22: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.
extern char OSD_fontfile[1024];
data/xjadeo-0.8.9/src/xjadeo/display.h:23: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.
extern char OSD_text[128];
data/xjadeo-0.8.9/src/xjadeo/display.h:24: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.
extern char OSD_frame[48];
data/xjadeo-0.8.9/src/xjadeo/display.h:25: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.
extern char OSD_smpte[20];
data/xjadeo-0.8.9/src/xjadeo/display.h:26: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.
extern char OSD_msg[128];
data/xjadeo-0.8.9/src/xjadeo/display.h:27: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.
extern char OSD_nfo_tme[5][48];
data/xjadeo-0.8.9/src/xjadeo/display.h:28: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.
extern char OSD_nfo_geo[5][48];
data/xjadeo-0.8.9/src/xjadeo/display.h:50:8:  [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).
	int (*open)(void);
data/xjadeo-0.8.9/src/xjadeo/display_gl_win.c:358: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/xjadeo-0.8.9/src/xjadeo/display_gl_win.c:647:6:  [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/xjadeo-0.8.9/src/xjadeo/display_gl_win.c:651:13:  [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.
						const char buf [2] = {(char)lb[0] , 0};
data/xjadeo-0.8.9/src/xjadeo/display_gl_win.c:956: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(win_vbuf, buffer, win_vbuf_size * sizeof(uint8_t));
data/xjadeo-0.8.9/src/xjadeo/display_glx.c:370: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[6] = {0,0,0,0,0,0};
data/xjadeo-0.8.9/src/xjadeo/display_mac.c:65: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(dst, src, srcStride*height);
data/xjadeo-0.8.9/src/xjadeo/display_mac.c:69:7:  [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(dst, src, bytesPerLine);
data/xjadeo-0.8.9/src/xjadeo/display_mac.c:464:16:  [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 revpath[PATH_MAX];
data/xjadeo-0.8.9/src/xjadeo/display_mac.c:924:7:  [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(image_data,src,image_size);
data/xjadeo-0.8.9/src/xjadeo/display_mac.c:1312: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(yuvbuf,mybuffer,Ylen+UVlen+UVlen);
data/xjadeo-0.8.9/src/xjadeo/display_sdl.c:121: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(&sdl_dest_rect, &sdl_rect, sizeof (SDL_Rect));
data/xjadeo-0.8.9/src/xjadeo/display_x11.c:368:6:  [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[100];
data/xjadeo-0.8.9/src/xjadeo/display_x11.c:648: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(xv_buffer,mybuffer,Ylen+UVlen+UVlen); // Y+U+V
data/xjadeo-0.8.9/src/xjadeo/display_x11.c:1238: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(data,mybuffer,4*sizeof(uint8_t)*movie_width*movie_height);
data/xjadeo-0.8.9/src/xjadeo/display_x_dnd.c:149: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 *files[MAX_DND_FILES];
data/xjadeo-0.8.9/src/xjadeo/freetype.c:29:10:  [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 ST_image[ST_HEIGHT][ST_WIDTH];
data/xjadeo-0.8.9/src/xjadeo/freetype.c:214:10:  [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 ST_image[1][1];
data/xjadeo-0.8.9/src/xjadeo/libsofd.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 path[1024];
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:86: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 hexstr[3];
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:212: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/xjadeo-0.8.9/src/xjadeo/libsofd.c:246: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).
	FILE *rf = fopen (fn, "w");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:260: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/xjadeo-0.8.9/src/xjadeo/libsofd.c:267: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).
	FILE *rf = fopen (fn, "r");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:279:14:  [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).
		time_t t = atol (++s);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:304:9:  [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 recent_file[1024];
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:399: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     _rv_open[1024] = "";
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:401: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     _fib_cfg_custom_places[1024] = "";
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:402: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     _fib_cfg_custom_font[256] = "";
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:403: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     _fib_cfg_title[128] = "xjadeo - Open Video File";
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:406: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];
data/xjadeo-0.8.9/src/xjadeo/libsofd.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 name[256];
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:413: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 strtime[32];
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:414: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 strsize[32];
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:423: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 text[24];
data/xjadeo-0.8.9/src/xjadeo/libsofd.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 name[256];
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:433: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 path[1024];
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:437: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           _cur_path[1024] = "";
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1039: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 (f->strsize, "%.0f TB", f->size / 1099511627776.f);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1042: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 (f->strsize, "%.1f TB", f->size / 1099511627776.f);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1045: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 (f->strsize, "%.0f GB", f->size / 1073741824.f);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1048: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 (f->strsize, "%.1f GB", f->size / 1073741824.f);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1051: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 (f->strsize, "%.0f MB", f->size / 1048576.f);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1054: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 (f->strsize, "%.1f MB", f->size / 1048576.f);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1057: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 (f->strsize, "%.0f KB", f->size / 1024.f);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1060: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 (f->strsize, "%.1f KB", f->size / 1024.f);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1063: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 (f->strsize, "%.0f  B", f->size / 1.f);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1212: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 tp[1024];
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1258: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 base[1024];
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1352: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 tp[1024];
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1638: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 path[1024] = "/";
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1743: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/xjadeo-0.8.9/src/xjadeo/libsofd.c:1747: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).
	FILE *bm = fopen (fn, "r");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1830: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).
	FILE *mt = fopen (mtab, "r");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1853: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/xjadeo-0.8.9/src/xjadeo/libsofd.c:1867:3:  [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 (tmp, "/Desktop");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1886:3:  [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 (tmp, "/.gtk-bookmarks");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1893:3:  [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 (tmp, "/gtk-3.0/bookmarks");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1900:3:  [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 (tmp, "/.config/gtk-3.0/bookmarks");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1973: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.
	const char dl[1] = {1};
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2013:2:  [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 (_btn_ok.text,     "Open");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2014:2:  [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 (_btn_cancel.text, "Cancel");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2015:2:  [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 (_btn_filter.text, "List All Files");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2016:2:  [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 (_btn_places.text, "Show Places");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2017:2:  [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 (_btn_hidden.text, "Show Hidden");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2191: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[100];
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2227: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.
							char path[1024] = "/";
data/xjadeo-0.8.9/src/xjadeo/ltc-jack.c:93: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 sound[8192];
data/xjadeo-0.8.9/src/xjadeo/main.c:107:1:  [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 cfg_compat[1024] = CFG_COMPAT;
data/xjadeo-0.8.9/src/xjadeo/main.c:192:1:  [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 midiid[128] = "-2";  /* --midi # -1: autodetect -2: jack-transport, -3: none/userFrame */
data/xjadeo-0.8.9/src/xjadeo/main.c:223:1:  [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 OSD_fontfile[1024] = FONT_FILE;
data/xjadeo-0.8.9/src/xjadeo/main.c:224:1:  [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 OSD_text[128] = "xjadeo!";
data/xjadeo-0.8.9/src/xjadeo/main.c:225:1:  [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 OSD_msg[128] = "";
data/xjadeo-0.8.9/src/xjadeo/main.c:226:1:  [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 OSD_frame[48] = "";
data/xjadeo-0.8.9/src/xjadeo/main.c:227:1:  [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 OSD_smpte[20] = "";
data/xjadeo-0.8.9/src/xjadeo/main.c:228:1:  [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 OSD_nfo_tme[5][48] = {"", "", "", "", ""};
data/xjadeo-0.8.9/src/xjadeo/main.c:229:1:  [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 OSD_nfo_geo[5][48] = {"", "", "", "", ""};
data/xjadeo-0.8.9/src/xjadeo/main.c:369: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).
				OSD_mode = atoi(optarg) & (OSD_FRAME | OSD_SMPTE);
data/xjadeo-0.8.9/src/xjadeo/main.c:381:31:  [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).
				keyframe_interval_limit = atoi(optarg);
data/xjadeo-0.8.9/src/xjadeo/main.c:401: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/xjadeo-0.8.9/src/xjadeo/main.c:459:17:  [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).
				videomode = atoi(optarg);
data/xjadeo-0.8.9/src/xjadeo/main.c:474: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).
				midi_clkconvert = atoi(optarg);
data/xjadeo-0.8.9/src/xjadeo/main.c:896: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(midiid) == 0) midiid[0]='\0';
data/xjadeo-0.8.9/src/xjadeo/main.c:913:11:  [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).
	else if (atoi(midiid) >= -1 ) {
data/xjadeo-0.8.9/src/xjadeo/main.c:1117: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 path[PATH_MAX+1];
data/xjadeo-0.8.9/src/xjadeo/midi.c:54:7:  [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.
const char MTCTYPE[4][10] = {
data/xjadeo-0.8.9/src/xjadeo/midi.c:95: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(&last_tc,&tc,sizeof(smpte));
data/xjadeo-0.8.9/src/xjadeo/midi.c:295: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(&msg,&last_tc,sizeof(smpte));
data/xjadeo-0.8.9/src/xjadeo/midi.c:339:15:  [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).
	midi_input = atoi(midiid);
data/xjadeo-0.8.9/src/xjadeo/midi.c:502: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_queue[queued_events_end].buffer, ev.buffer, ev.size);
data/xjadeo-0.8.9/src/xjadeo/midi.c:653: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 buf[256];
data/xjadeo-0.8.9/src/xjadeo/midi.c:695: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 devicestring[32];
data/xjadeo-0.8.9/src/xjadeo/midi.c:696:6:  [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(midiid)<0) {
data/xjadeo-0.8.9/src/xjadeo/midi.c:749: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/xjadeo-0.8.9/src/xjadeo/midi.c:916:6:  [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(midiid)<0) {
data/xjadeo-0.8.9/src/xjadeo/mqueue.c:42: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 m[MQLEN];
data/xjadeo-0.8.9/src/xjadeo/mqueue.c:56: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 qname[64];
data/xjadeo-0.8.9/src/xjadeo/remote.c:104: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.
extern char midiid[32];
data/xjadeo-0.8.9/src/xjadeo/remote.c:118: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.
extern char OSD_fontfile[1024];
data/xjadeo-0.8.9/src/xjadeo/remote.c:119: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.
extern char OSD_text[128];
data/xjadeo-0.8.9/src/xjadeo/remote.c:187: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).
	if (vmode==0 ) vmode = atoi((char*)d);
data/xjadeo-0.8.9/src/xjadeo/remote.c:243: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).
	if (!strcmp(d,"on") || atoi(d)==1) action=1;
data/xjadeo-0.8.9/src/xjadeo/remote.c:283:5:  [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).
		w=atoi(size);
data/xjadeo-0.8.9/src/xjadeo/remote.c:284:5:  [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).
		h=atoi(tmp);
data/xjadeo-0.8.9/src/xjadeo/remote.c:286:15:  [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).
		int percent=atoi(size);
data/xjadeo-0.8.9/src/xjadeo/remote.c:299: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).
	if (!strcmp(d,"on") || atoi(d)==1) action=_NET_WM_STATE_ADD;
data/xjadeo-0.8.9/src/xjadeo/remote.c:301:31:  [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).
	else if (!strcmp(d,"off") || atoi(d)==0) action=_NET_WM_STATE_REMOVE;
data/xjadeo-0.8.9/src/xjadeo/remote.c:308: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).
	if (!strcmp(d,"on") || atoi(d)==1) action=_NET_WM_STATE_ADD;
data/xjadeo-0.8.9/src/xjadeo/remote.c:310:31:  [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).
	else if (!strcmp(d,"off") || atoi(d)==0) action=_NET_WM_STATE_REMOVE;
data/xjadeo-0.8.9/src/xjadeo/remote.c:331: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).
	if (!strcmp(d,"on") || atoi(d)==1) action=1;
data/xjadeo-0.8.9/src/xjadeo/remote.c:342: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).
	interaction_override=atoi(d);
data/xjadeo-0.8.9/src/xjadeo/remote.c:353:5:  [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).
		x=atoi(t0);
data/xjadeo-0.8.9/src/xjadeo/remote.c:354:5:  [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).
		y=atoi(t1);
data/xjadeo-0.8.9/src/xjadeo/remote.c:438:16:  [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).
		timeoffset = atol(t1);
data/xjadeo-0.8.9/src/xjadeo/remote.c:449:15:  [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).
	wraparound = atoi((char*)d)?1:0;
data/xjadeo-0.8.9/src/xjadeo/remote.c:470: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 smptestr[13];
data/xjadeo-0.8.9/src/xjadeo/remote.c:535:10:  [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).
	int y = atoi((char*)d);
data/xjadeo-0.8.9/src/xjadeo/remote.c:550:10:  [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).
	int y = atoi((char*)d);
data/xjadeo-0.8.9/src/xjadeo/remote.c:613:10:  [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).
	int m = atoi((char*)d);
data/xjadeo-0.8.9/src/xjadeo/remote.c:664:10:  [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).
		OSD_tx=atoi(t0);
data/xjadeo-0.8.9/src/xjadeo/remote.c:665:10:  [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).
		OSD_ty=atoi(t1);
data/xjadeo-0.8.9/src/xjadeo/remote.c:778: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).
	midi_clkadj = atoi((char*)d)?1:0;
data/xjadeo-0.8.9/src/xjadeo/remote.c:796:20:  [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).
	midi_clkconvert = atoi((char*)d);
data/xjadeo-0.8.9/src/xjadeo/remote.c:1074: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[REMOTEBUFSIZ];
data/xjadeo-0.8.9/src/xjadeo/remote.c:1107: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[BUFSIZ];
data/xjadeo-0.8.9/src/xjadeo/remote.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 text[LOGLEN];
data/xjadeo-0.8.9/src/xjadeo/remote.c:1144: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[LOGLEN];
data/xjadeo-0.8.9/src/xjadeo/remote.c:1185: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 text[MQLEN];
data/xjadeo-0.8.9/src/xjadeo/remote.c:1197: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 data[MQLEN];
data/xjadeo-0.8.9/src/xjadeo/remote.c:1233: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    mtext[BUFSIZ];
data/xjadeo-0.8.9/src/xjadeo/remote.c:1306: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 text[LOGLEN];
data/xjadeo-0.8.9/src/xjadeo/remote.c:1307: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[LOGLEN];
data/xjadeo-0.8.9/src/xjadeo/smpte.c:89:13:  [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).
		s->v[i] = atoi(tmp);
data/xjadeo-0.8.9/src/xjadeo/smpte.c:93:35:  [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 (i < SMPTE_OVERFLOW) s->v[i]= atoi(buf);
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:95: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.
extern char OSD_frame[48];
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:96: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.
extern char OSD_smpte[20];
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:98: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.
extern char OSD_msg[128];
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:99: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.
extern char OSD_nfo_tme[5][48];
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:100: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.
extern char OSD_nfo_geo[5][48];
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:144:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char syncname[4][5] =
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:366: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 tempsmpte[15];
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1168: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(OSD_msg, "Indexing. Please wait.");
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1179: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(OSD_msg, "Index Error. File is not suitable.");
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1220:2:  [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(OSD_nfo_tme[0], "-/- No File Open -\\-");
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1225:2:  [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(OSD_nfo_geo[0], "-/- No File Open -\\-");
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1500: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(OSD_nfo_tme[1], "FPS: %.2f df", framerate);
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1502: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(OSD_nfo_tme[1], "FPS: %.3f", framerate);
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1503:2:  [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(OSD_nfo_tme[2], "S: ");
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1504:2:  [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(OSD_nfo_tme[3], "E: ");
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1505:2:  [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(OSD_nfo_tme[4], "L: ");
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1510: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(OSD_nfo_geo[1], "PRESCALE: %d x %d", movie_width, movie_height);
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1511: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(OSD_nfo_geo[3], "GEOMETRY: %d x %d", ffctv_width, ffctv_height);
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1514: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(OSD_nfo_geo[2], "SAR: %d : %d",
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1517: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(OSD_nfo_geo[2], "SAR: %d : %d",
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1520: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(OSD_nfo_geo[2], "SAR: unknown (1 : 1)");
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1524: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(OSD_nfo_geo[4], "DAR: %d : %d", dar.num, dar.den);
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1647: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(OSD_msg, "[right-click]");
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1690: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(OSD_frame, "-- ");
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1693: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(OSD_frame, "++ ");
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1701: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(OSD_frame, " EOF");
data/xjadeo-0.8.9/src/xjadeo/xjosc.c:55: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.
extern char midiid[32];
data/xjadeo-0.8.9/src/xjadeo/xjosc.c:72: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.
extern char OSD_fontfile[1024];
data/xjadeo-0.8.9/src/xjadeo/xjosc.c:255:26:  [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 (!strcmp(d,"on") || atoi(d)==1) action=_NET_WM_STATE_ADD;
data/xjadeo-0.8.9/src/xjadeo/xjosc.c:265:26:  [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 (!strcmp(d,"on") || atoi(d)==1) action=1;
data/xjadeo-0.8.9/src/xjadeo/xjosc.c:341: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[8];
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:231:9:  [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).
			dup2(open("/dev/null", 0), 1);
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:232:9:  [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).
			dup2(open("/dev/null", 0), 2);
data/xjadeo-0.8.9/src/xjadeo/xjremote.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 m[MQLEN];
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:344: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		qname[64];
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:412: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 tmp[8+MQLEN];
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:429: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 qname[64];
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:468: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[MQLEN];
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:515: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		qname[64];
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:620: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    mtext[BUFSIZ];
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:656: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[BUFSIZ];
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:720:11:  [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).
	int fd = open (queuename, O_WRONLY | O_CREAT | O_NONBLOCK | O_NOCTTY, S_IRUSR | S_IWUSR);
data/xjadeo-0.8.9/contrib/cli-remote/jadeo.c:130:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if ((rv=read(0,buf,BUFSIZ)) > 0) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:141:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(midiid,value,32);
data/xjadeo-0.8.9/src/xjadeo/configfile.c:217:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(OSD_fontfile,value,1023);rv=1;
data/xjadeo-0.8.9/src/xjadeo/configfile.c:344: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(SYSCFGDIR) + strlen(XJADEORC) + 1) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:344:27:  [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(SYSCFGDIR) + strlen(XJADEORC) + 1) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:350: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(XJADEORC) + 2) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:350: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(XJADEORC) + 2) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:358: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(XJADEORC) + 25) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:358: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(XJADEORC) + 25) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:358: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(XJADEORC) + 25) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:362: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(XJADEORC) + 16) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:362: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(XJADEORC) + 16) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:362: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(XJADEORC) + 16) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:366: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(XJADEORC) + 1) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:366: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(XJADEORC) + 1) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:366: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(XJADEORC) + 1) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:373: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 (xdg && (strlen(xdg) + strlen(XJADEORC) + 8) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:373:28:  [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 (xdg && (strlen(xdg) + strlen(XJADEORC) + 8) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:379: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 (!xdg && home && (strlen(home) + strlen(XJADEORC) + 28) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:379:38:  [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 (!xdg && home && (strlen(home) + strlen(XJADEORC) + 28) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:384: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 (!xdg && home && (strlen(home) + strlen(XJADEORC) + 16) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:384:38:  [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 (!xdg && home && (strlen(home) + strlen(XJADEORC) + 16) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/configfile.c:391: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(XJADEORC) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/display.c:268: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).
	int s0 = strlen(arg);
data/xjadeo-0.8.9/src/xjadeo/display.c:275: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).
			int s1 = strlen(VO[i].name);
data/xjadeo-0.8.9/src/xjadeo/display.c:488: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(text) == 0) return;
data/xjadeo-0.8.9/src/xjadeo/display_gl_win.c:147: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).
	size_t l = strlen(fn);
data/xjadeo-0.8.9/src/xjadeo/display_gl_win.c:512:27:  [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 char *end = tmp + strlen(ext);
data/xjadeo-0.8.9/src/xjadeo/display_glx.c:124:27:  [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 char *end = tmp + strlen(ext);
data/xjadeo-0.8.9/src/xjadeo/display_x_dialog.c:335: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).
	XTextExtents (fontinfo, txt, strlen (txt), &font_direction, &font_ascent, &font_descent, &text_structure);
data/xjadeo-0.8.9/src/xjadeo/display_x_dialog.c:336:41:  [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 (w) *w = XTextWidth (fontinfo, txt, strlen (txt));
data/xjadeo-0.8.9/src/xjadeo/display_x_dialog.c:435: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 (menu[i].key && strlen(menu[i].key) > 0) {
data/xjadeo-0.8.9/src/xjadeo/display_x_dialog.c:493: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 (dlg->menu_items[i].text) == 0) {
data/xjadeo-0.8.9/src/xjadeo/display_x_dialog.c:523: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).
		XDrawString (dpy, win, dlg->gc, t_x, t_y, dlg->menu_items[i].text, strlen (dlg->menu_items[i].text));
data/xjadeo-0.8.9/src/xjadeo/display_x_dialog.c:524: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).
		if (dlg->menu_items[i].key && strlen(dlg->menu_items[i].key) > 0) {
data/xjadeo-0.8.9/src/xjadeo/display_x_dialog.c:526: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(dlg->menu_items[i].key) > 0) {
data/xjadeo-0.8.9/src/xjadeo/display_x_dialog.c:530:82:  [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).
			XDrawString (dpy, win, dlg->gc, dlg->width - ks, t_y, dlg->menu_items[i].key, strlen (dlg->menu_items[i].key));
data/xjadeo-0.8.9/src/xjadeo/display_x_dnd.c:180: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).
		while ((t = strchr(t, '%')) && strlen(t) > 2) {
data/xjadeo-0.8.9/src/xjadeo/display_x_dnd.c:186: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).
			memmove(t + 1, t + 3, strlen(t) - 2);
data/xjadeo-0.8.9/src/xjadeo/display_x_dnd.c:189: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).
			t[strlen(t)]='\0';
data/xjadeo-0.8.9/src/xjadeo/freetype.c:114: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(fontfile) == 0)
data/xjadeo-0.8.9/src/xjadeo/freetype.c:131: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(fontfile) == 0)
data/xjadeo-0.8.9/src/xjadeo/freetype.c:158: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).
	num_chars     = strlen(text);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:81: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).
	int len = strlen (str);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:108: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).
	alloc = strlen (str) + 1;
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:217: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).
	len = strlen(tmp);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:270: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).
			&& strlen (tmp) > 1
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:271: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).
			&& strlen (tmp) < sizeof(tmp))
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:274: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).
		tmp[strlen (tmp) - 1] = '\0'; // strip newline
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:307: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 (xdg && (strlen(xdg) + strlen(appname) + 10) < sizeof(recent_file)) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:307:28:  [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 (xdg && (strlen(xdg) + strlen(appname) + 10) < sizeof(recent_file)) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:314: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(appname) + 29) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:314: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(appname) + 29) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:314: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(appname) + 29) < PATH_MAX) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:320: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(appname) + 29) < sizeof(recent_file)) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:320: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(appname) + 29) < sizeof(recent_file)) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:326: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(appname) + 22) < sizeof(recent_file)) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:326: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(appname) + 22) < sizeof(recent_file)) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:484: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).
	XTextExtents (fontinfo, txt, strlen (txt), &font_direction, &font_ascent, &font_descent, &text_structure);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:485:41:  [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 (w) *w = XTextWidth (fontinfo, txt, strlen (txt));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:593: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).
				_pathbtn[i].name, strlen (_pathbtn[i].name));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:772: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).
				_dirlist[j].name, strlen (_dirlist[j].name));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:778:27:  [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).
					_dirlist[j].strsize, strlen (_dirlist[j].strsize));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:782:27:  [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).
					_dirlist[j].strtime, strlen (_dirlist[j].strtime));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:864: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).
					_placelist[i].name, strlen (_placelist[i].name));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:914: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).
					_btns[i]->text, strlen (_btns[i]->text));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:965: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).
					_btns[i]->text, strlen (_btns[i]->text));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1134:17:  [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 l3 = strlen (name) - 3;
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1262:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (base, _recentlist[j].path, len);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1281: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 (path) == 0 && _recentcnt > 0) { // XXX we should use a better indication for this
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1282:3:  [1] (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 character.
		strcpy (_cur_path, "");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1286: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).
	assert (strlen (path) < sizeof(_cur_path) -1);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1287: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).
	assert (strlen (path) > 0);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1296:3:  [1] (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 character.
		strcpy (_cur_path, "/");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1302:17:  [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 (_cur_path[strlen (_cur_path) -1] != '/')
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1303: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 (_cur_path, "/");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1336:4:  [1] (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 character.
			strcpy (_pathbtn[i].name, "/");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1641:6:  [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 (path, "/");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1711: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 (!url || strlen (url) < 1) return -1;
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1712: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 (!name || strlen (name) < 1) return -1;
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1751: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).
			&& strlen (tmp) > 1
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1752: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).
			&& strlen (tmp) < sizeof(tmp))
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1755: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).
		tmp[strlen (tmp) - 1] = '\0'; // strip newline
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1809: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 (!strncmp (mountpoint, ignore_mountpoints[i], strlen (ignore_mountpoints[i]))) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1817: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 (!strncmp (fs, ignore_fs[i], strlen (ignore_fs[i]))) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1822: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).
		if (!strncmp (device, ignore_devices[i], strlen (ignore_devices[i]))) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1875: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 (_fib_cfg_custom_places) > 0) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:1988: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 (font_err && strlen (_fib_cfg_custom_font) > 0) _XTESTFONT (_fib_cfg_custom_font);
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2092: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 (_cur_path) || !fib_opendir (dpy, _cur_path, NULL)) {
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2230:9:  [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 (path, "/");
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2280: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 (v) >= sizeof(_cur_path) -1) return -2;
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2281: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 (v) < 1) return -2;
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2284:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy (_cur_path, v, sizeof(_cur_path));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2287: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 (v) >= sizeof(_fib_cfg_title) -1) return -2;
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2288:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy (_fib_cfg_title, v, sizeof(_fib_cfg_title));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2291: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 (v) >= sizeof(_fib_cfg_custom_font) -1) return -2;
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2292:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy (_fib_cfg_custom_font, v, sizeof(_fib_cfg_custom_font));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2295: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 (v) >= sizeof(_fib_cfg_custom_places) -1) return -2;
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2296:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy (_fib_cfg_custom_places, v, sizeof(_fib_cfg_custom_places));
data/xjadeo-0.8.9/src/xjadeo/libsofd.c:2554: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 (80000);
data/xjadeo-0.8.9/src/xjadeo/main.c:477:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(midiid,optarg,sizeof(midiid));
data/xjadeo-0.8.9/src/xjadeo/main.c:764: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(SUBVERSION)>0 && strcmp(SUBVERSION, "exported")) {
data/xjadeo-0.8.9/src/xjadeo/main.c:1040:18:  [1] (buffer) wcslen:
  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 argChars = wcslen (szArglist[i]);
data/xjadeo-0.8.9/src/xjadeo/midi.c:551: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 (midiid && strlen(midiid)>0) {
data/xjadeo-0.8.9/src/xjadeo/midi.c:556: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).
				if (!strncasecmp(found_ports[j], midiid, strlen(midiid))) {
data/xjadeo-0.8.9/src/xjadeo/midi.c:994: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 ((id && !strncasecmp(MA[i].name, id, strlen(id))) || (!id && MA[i].supported) ) {
data/xjadeo-0.8.9/src/xjadeo/mqueue.c:137: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(40000);
data/xjadeo-0.8.9/src/xjadeo/mqueue.c:147:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(data, mymsg->m, MQLEN);
data/xjadeo-0.8.9/src/xjadeo/mqueue.c:149: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).
		return strlen(data);
data/xjadeo-0.8.9/src/xjadeo/mqueue.c:151: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).
		return strlen(mymsg->m);
data/xjadeo-0.8.9/src/xjadeo/mqueue.c:168: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(20);
data/xjadeo-0.8.9/src/xjadeo/remote.c:141: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(SUBVERSION) > 0 && strcmp(SUBVERSION, "exported")) {
data/xjadeo-0.8.9/src/xjadeo/remote.c:696: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).
	if (d && strlen(d)>0) mp=d;
data/xjadeo-0.8.9/src/xjadeo/remote.c:714: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).
	if (d && strlen(d)>0) mp=d;
data/xjadeo-0.8.9/src/xjadeo/remote.c:722:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  	strncpy(midiid,mp,32);
data/xjadeo-0.8.9/src/xjadeo/remote.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).
			int len = 2+strlen(prefix)+ strlen(r[i].name);
data/xjadeo-0.8.9/src/xjadeo/remote.c:1026: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).
			int len = 2+strlen(prefix)+ strlen(r[i].name);
data/xjadeo-0.8.9/src/xjadeo/remote.c:1051: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).
		if (strncmp(cmd,leave[i].name,strlen(leave[i].name))==0) break;
data/xjadeo-0.8.9/src/xjadeo/remote.c:1059: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).
		exec_remote_cmd_recursive(leave[i].children,cmd+strlen(leave[i].name));
data/xjadeo-0.8.9/src/xjadeo/remote.c:1061: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).
		char *arg= cmd+strlen(leave[i].name);
data/xjadeo-0.8.9/src/xjadeo/remote.c:1083:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ((rx = read(REMOTE_RX, inbuf->buf + inbuf->offset, (REMOTEBUFSIZ-1)-inbuf->offset)) > 0) {
data/xjadeo-0.8.9/src/xjadeo/remote.c:1153: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).
	(void) write(REMOTE_TX,msg,strlen(msg));
data/xjadeo-0.8.9/src/xjadeo/remote.c:1243: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).
	if (msgsnd(msqtx, (const void*) &txbuf, strlen(txbuf.mtext), IPC_NOWAIT) == -1) {
data/xjadeo-0.8.9/src/xjadeo/remote.c:1270: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(s) < 1) continue;
data/xjadeo-0.8.9/src/xjadeo/remote.c:1324: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).
		(void) write(REMOTE_TX,msg,strlen(msg));
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1267: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 (file_name) == 0) {
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1532:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(OSD_nfo_tme[0], tmp, sizeof(OSD_nfo_tme[3]) - 1);
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1533:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(OSD_nfo_geo[0], tmp, sizeof(OSD_nfo_tme[3]) - 1);
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1535:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(OSD_nfo_tme[0], file_name, sizeof(OSD_nfo_tme[3]) - 1);
data/xjadeo-0.8.9/src/xjadeo/xjadeo.c:1536:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(OSD_nfo_geo[0], file_name, sizeof(OSD_nfo_tme[3]) - 1);
data/xjadeo-0.8.9/src/xjadeo/xjosc.c:126: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).
  if (&argv[0]->s && strlen(&argv[0]->s)>0) mp=&argv[0]->s;
data/xjadeo-0.8.9/src/xjadeo/xjosc.c:130:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(midiid,mp,32); // XXX we need a better idea for 'xapi_reopen_midi()
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:176: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(SUBVERSION)>0 && strcmp(SUBVERSION, "exported")) {
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:384:4:  [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(40000);
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:414: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).
			(void) write(REMOTE_TX,tmp,strlen(tmp));
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:475:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if ((rx = read(REMOTE_RX, buf + offset, (MQLEN-1)-offset)) > 0) {
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:498:5:  [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(50000);
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:569:4:  [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(100000);
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:666:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ((rx = read(REMOTE_RX, buf + offset, (BUFSIZ-1)-offset)) > 0) {
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:690:61:  [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).
      while (--retry && msgsnd(msqid, (const void*) &txbuf, strlen(txbuf.mtext), IPC_NOWAIT) == -1) {
data/xjadeo-0.8.9/src/xjadeo/xjremote.c:691:9:  [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(50000);

ANALYSIS SUMMARY:

Hits = 456
Lines analyzed = 22627 in approximately 0.75 seconds (29993 lines/second)
Physical Source Lines of Code (SLOC) = 18263
Hits@level = [0] 446 [1] 141 [2] 222 [3]  31 [4]  62 [5]   0
Hits@level+ = [0+] 902 [1+] 456 [2+] 315 [3+]  93 [4+]  62 [5+]   0
Hits/KSLOC@level+ = [0+] 49.3895 [1+] 24.9685 [2+] 17.248 [3+] 5.09226 [4+] 3.39484 [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.