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/rplay-3.3.2/adpcm/decode.c
Examining data/rplay-3.3.2/adpcm/encode.c
Examining data/rplay-3.3.2/adpcm/g711.c
Examining data/rplay-3.3.2/adpcm/g721.c
Examining data/rplay-3.3.2/adpcm/g723_24.c
Examining data/rplay-3.3.2/adpcm/g723_40.c
Examining data/rplay-3.3.2/adpcm/g72x.c
Examining data/rplay-3.3.2/adpcm/g72x.h
Examining data/rplay-3.3.2/contrib/pos/pos.c
Examining data/rplay-3.3.2/contrib/cdrplay/cdrplay.c
Examining data/rplay-3.3.2/contrib/fingergoodies/getcalleraddr.c
Examining data/rplay-3.3.2/contrib/fingergoodies/random.c
Examining data/rplay-3.3.2/contrib/jukebox-1.3/jukebox.c
Examining data/rplay-3.3.2/contrib/mailsound/mailsound.c
Examining data/rplay-3.3.2/contrib/rplaytool-1.1/getopt.c
Examining data/rplay-3.3.2/contrib/rplaytool-1.1/getopt.h
Examining data/rplay-3.3.2/contrib/rplaytool-1.1/getopt1.c
Examining data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c
Examining data/rplay-3.3.2/contrib/rplaytool-1.1/misc.h
Examining data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c
Examining data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.c
Examining data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_ui.h
Examining data/rplay-3.3.2/contrib/rplaytool-1.1/rptp.c
Examining data/rplay-3.3.2/contrib/rplaytool-1.1/rptp.h
Examining data/rplay-3.3.2/contrib/vu/vu.c
Examining data/rplay-3.3.2/contrib/xjukebox-0.9/XJukebox.ad.h
Examining data/rplay-3.3.2/contrib/xjukebox-0.9/rptpstuff.c
Examining data/rplay-3.3.2/contrib/xjukebox-0.9/widgets.c
Examining data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c
Examining data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.h
Examining data/rplay-3.3.2/devrplay/devrplay.c
Examining data/rplay-3.3.2/examples/async1.c
Examining data/rplay-3.3.2/examples/async2.c
Examining data/rplay-3.3.2/examples/flow1.c
Examining data/rplay-3.3.2/examples/level.c
Examining data/rplay-3.3.2/gsm/add.c
Examining data/rplay-3.3.2/gsm/code.c
Examining data/rplay-3.3.2/gsm/debug.c
Examining data/rplay-3.3.2/gsm/decode.c
Examining data/rplay-3.3.2/gsm/gsm.h
Examining data/rplay-3.3.2/gsm/gsm_create.c
Examining data/rplay-3.3.2/gsm/gsm_decode.c
Examining data/rplay-3.3.2/gsm/gsm_destroy.c
Examining data/rplay-3.3.2/gsm/gsm_encode.c
Examining data/rplay-3.3.2/gsm/gsm_explode.c
Examining data/rplay-3.3.2/gsm/gsm_implode.c
Examining data/rplay-3.3.2/gsm/gsm_option.c
Examining data/rplay-3.3.2/gsm/gsm_print.c
Examining data/rplay-3.3.2/gsm/long_term.c
Examining data/rplay-3.3.2/gsm/lpc.c
Examining data/rplay-3.3.2/gsm/preprocess.c
Examining data/rplay-3.3.2/gsm/private.h
Examining data/rplay-3.3.2/gsm/proto.h
Examining data/rplay-3.3.2/gsm/rpe.c
Examining data/rplay-3.3.2/gsm/short_term.c
Examining data/rplay-3.3.2/gsm/table.c
Examining data/rplay-3.3.2/gsm/toast.c
Examining data/rplay-3.3.2/gsm/toast.h
Examining data/rplay-3.3.2/gsm/toast_alaw.c
Examining data/rplay-3.3.2/gsm/toast_audio.c
Examining data/rplay-3.3.2/gsm/toast_lin.c
Examining data/rplay-3.3.2/gsm/toast_ulaw.c
Examining data/rplay-3.3.2/gsm/unproto.h
Examining data/rplay-3.3.2/include/rplay.h
Examining data/rplay-3.3.2/include/version.h
Examining data/rplay-3.3.2/lib/ansidecl.h
Examining data/rplay-3.3.2/lib/getopt.c
Examining data/rplay-3.3.2/lib/getopt.h
Examining data/rplay-3.3.2/lib/getopt1.c
Examining data/rplay-3.3.2/lib/hash.c
Examining data/rplay-3.3.2/lib/hash.h
Examining data/rplay-3.3.2/lib/strdup.c
Examining data/rplay-3.3.2/lib/strdup.h
Examining data/rplay-3.3.2/lib/tilde.c
Examining data/rplay-3.3.2/lib/tilde.h
Examining data/rplay-3.3.2/lib/xmalloc.c
Examining data/rplay-3.3.2/librplay/async.c
Examining data/rplay-3.3.2/librplay/rplay.c
Examining data/rplay-3.3.2/librplay/rptp.c
Examining data/rplay-3.3.2/rplay/rplay.c
Examining data/rplay-3.3.2/rplayd/buffer.c
Examining data/rplay-3.3.2/rplayd/buffer.h
Examining data/rplay-3.3.2/rplayd/cache.h
Examining data/rplay-3.3.2/rplayd/cdrom.c
Examining data/rplay-3.3.2/rplayd/cdrom.h
Examining data/rplay-3.3.2/rplayd/command.c
Examining data/rplay-3.3.2/rplayd/command.h
Examining data/rplay-3.3.2/rplayd/connection.c
Examining data/rplay-3.3.2/rplayd/connection.h
Examining data/rplay-3.3.2/rplayd/flange.c
Examining data/rplay-3.3.2/rplayd/flange.h
Examining data/rplay-3.3.2/rplayd/host.h
Examining data/rplay-3.3.2/rplayd/misc.c
Examining data/rplay-3.3.2/rplayd/misc.h
Examining data/rplay-3.3.2/rplayd/native.h
Examining data/rplay-3.3.2/rplayd/server.c
Examining data/rplay-3.3.2/rplayd/server.h
Examining data/rplay-3.3.2/rplayd/spool.h
Examining data/rplay-3.3.2/rplayd/timer.h
Examining data/rplay-3.3.2/rplayd/ulaw.c
Examining data/rplay-3.3.2/rplayd/ulaw.h
Examining data/rplay-3.3.2/rplayd/xhash.h
Examining data/rplay-3.3.2/rplayd/audio/audio_FreeBSD.h
Examining data/rplay-3.3.2/rplayd/audio/audio_generic.c
Examining data/rplay-3.3.2/rplayd/audio/audio_generic.h
Examining data/rplay-3.3.2/rplayd/audio/audio_hpux.c
Examining data/rplay-3.3.2/rplayd/audio/audio_hpux.h
Examining data/rplay-3.3.2/rplayd/audio/audio_oss.c
Examining data/rplay-3.3.2/rplayd/audio/audio_oss.h
Examining data/rplay-3.3.2/rplayd/audio/audio_sgi.c
Examining data/rplay-3.3.2/rplayd/audio/audio_sgi.h
Examining data/rplay-3.3.2/rplayd/audio/audio_solaris.c
Examining data/rplay-3.3.2/rplayd/audio/audio_solaris.h
Examining data/rplay-3.3.2/rplayd/audio/audio_sun.c
Examining data/rplay-3.3.2/rplayd/audio/audio_sun.h
Examining data/rplay-3.3.2/rplayd/audio/audio_FreeBSD.c
Examining data/rplay-3.3.2/rplayd/audio/audio_gnu.h
Examining data/rplay-3.3.2/rplayd/audio/audio_gnu.c
Examining data/rplay-3.3.2/rplayd/sound.c
Examining data/rplay-3.3.2/rplayd/sound.h
Examining data/rplay-3.3.2/rplayd/helper.h
Examining data/rplay-3.3.2/rplayd/rplayd.h
Examining data/rplay-3.3.2/rplayd/helper.c
Examining data/rplay-3.3.2/rplayd/native.c
Examining data/rplay-3.3.2/rplayd/rplayd.c
Examining data/rplay-3.3.2/rplayd/spool.c
Examining data/rplay-3.3.2/rplayd/xhash.c
Examining data/rplay-3.3.2/rplayd/cache.c
Examining data/rplay-3.3.2/rplayd/host.c
Examining data/rplay-3.3.2/rplayd/timer.c
Examining data/rplay-3.3.2/rptp/rptp.c
Examining data/rplay-3.3.2/rx/_rx.h
Examining data/rplay-3.3.2/rx/hashrexp.c
Examining data/rplay-3.3.2/rx/inst-rxposix.h
Examining data/rplay-3.3.2/rx/rgx.c
Examining data/rplay-3.3.2/rx/rx.c
Examining data/rplay-3.3.2/rx/rx.h
Examining data/rplay-3.3.2/rx/rxall.h
Examining data/rplay-3.3.2/rx/rxanal.c
Examining data/rplay-3.3.2/rx/rxanal.h
Examining data/rplay-3.3.2/rx/rxbasic.c
Examining data/rplay-3.3.2/rx/rxbasic.h
Examining data/rplay-3.3.2/rx/rxbitset.c
Examining data/rplay-3.3.2/rx/rxbitset.h
Examining data/rplay-3.3.2/rx/rxcontext.h
Examining data/rplay-3.3.2/rx/rxcset.c
Examining data/rplay-3.3.2/rx/rxcset.h
Examining data/rplay-3.3.2/rx/rxdbug.c
Examining data/rplay-3.3.2/rx/rxgnucomp.c
Examining data/rplay-3.3.2/rx/rxgnucomp.h
Examining data/rplay-3.3.2/rx/rxhash.c
Examining data/rplay-3.3.2/rx/rxhash.h
Examining data/rplay-3.3.2/rx/rxnfa.c
Examining data/rplay-3.3.2/rx/rxnfa.h
Examining data/rplay-3.3.2/rx/rxnode.c
Examining data/rplay-3.3.2/rx/rxnode.h
Examining data/rplay-3.3.2/rx/rxposix.c
Examining data/rplay-3.3.2/rx/rxposix.h
Examining data/rplay-3.3.2/rx/rxproto.h
Examining data/rplay-3.3.2/rx/rxsimp.c
Examining data/rplay-3.3.2/rx/rxsimp.h
Examining data/rplay-3.3.2/rx/rxspencer.c
Examining data/rplay-3.3.2/rx/rxspencer.h
Examining data/rplay-3.3.2/rx/rxstr.c
Examining data/rplay-3.3.2/rx/rxstr.h
Examining data/rplay-3.3.2/rx/rxsuper.c
Examining data/rplay-3.3.2/rx/rxsuper.h
Examining data/rplay-3.3.2/rx/rxunfa.c
Examining data/rplay-3.3.2/rx/rxunfa.h

FINAL RESULTS:

data/rplay-3.3.2/contrib/mailsound/mailsound.c:89:2:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
	gets(buffer);
data/rplay-3.3.2/contrib/mailsound/mailsound.c:101:9:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
	while (gets(buffer))
data/rplay-3.3.2/gsm/toast.c:329:17:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	if (outname && chmod(outname, instat.st_mode & 07777)) {
data/rplay-3.3.2/gsm/toast.c:343:8:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	(void)chown(outname, instat.st_uid, instat.st_gid);
data/rplay-3.3.2/lib/hash.c:815:7:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
      gets (answer);
data/rplay-3.3.2/lib/hash.c:909:3:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
  gets (answer);
data/rplay-3.3.2/lib/hash.c:947:7:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
      gets (answer);
data/rplay-3.3.2/lib/tilde.c:325:12:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
      if (!gets (line))
data/rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:158: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(filename, dirname);
data/rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:176: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(filename, dp->d_name);
data/rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:203: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(songs[nsongs - 1].name, dp->d_name);
data/rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:276:7:  [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(songs[nsongs - 1].name, s);
data/rplay-3.3.2/contrib/mailsound/mailsound.c:94: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(address, p);
data/rplay-3.3.2/contrib/mailsound/mailsound.c:105: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(subject, buffer + 9);
data/rplay-3.3.2/contrib/mailsound/mailsound.c:122:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(path, "%s/.mailsounds", pw->pw_dir);
data/rplay-3.3.2/contrib/mailsound/mailsound.c:241: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(hostname, optarg);
data/rplay-3.3.2/contrib/pos/pos.c:126:14:  [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 (sounds[i].name, rptp_parse (0, "sound"));
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:164:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    vsprintf (message, fmt, args);
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:311: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 (info->filename, filename);
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:315: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 (info->name, p+1);
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:319: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 (info->name, info->filename);
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:352: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 (from_name, (char *) xv_get (playlist[list].list, PANEL_LIST_STRING, from));
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:355: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 (to_name, (char *) xv_get (playlist[list].list, PANEL_LIST_STRING, to));
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:477:6:  [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 (info->name, value);
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:568:7:  [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 (was_playing, info->filename);
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:245:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (title, "rplaytool %s", rplaytool_version);
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:444:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (buf, "Connecting to %s...", host);
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:460:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "Connected to %s", host);
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:553:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf (buf, "%s", sound_name);
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:681:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    	sprintf (buf, "%s%d", SOUNDLIST_MESSAGE, soundlist_size);
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1326:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		    sprintf (buf, "%s/%s", cwd, string);
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1688:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			    sprintf (buf, "%s", sound);
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1699:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		    sprintf (buf, "%s", sound);
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1750:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				    sprintf (buf, "%s", sound);
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1761:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			    sprintf (buf, "%s", sound);
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1892:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (playlist[curr_playlist].filename, "%s/%s", cwd, file);
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1896:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy (playlist[curr_playlist].filename, file);
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1920:9:  [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 (file, R_OK) == 0)
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:2124:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (filename, "%s/%s", dir, value);
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:2157:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (filename, "%s/%s", dir, value);
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:2220: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 (filename, playlist[curr_playlist].filename);
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:2279: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 (filename, playlist[curr_playlist].filename);
data/rplay-3.3.2/contrib/xjukebox-0.9/rptpstuff.c:170:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(rptp_buf, "play sound=%s", name);
data/rplay-3.3.2/contrib/xjukebox-0.9/widgets.c:403:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer, "XJukebox %s (C) 1993, Raphael Quinet\n", XJUKEBOX_VERSION);
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:62: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((*list)[*items_count], new_item);
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:210: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 (new_item->host, rptp_parse (NULL, "host"));
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:211: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 (state_buf, rptp_parse (NULL, "state"));
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:212: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 (name_buf, rptp_parse (NULL, "sound"));
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:227:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(new_item->sound, "%6s %3d%% %s", state_buf,
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:230:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(new_item->sound, "%6s 100%% %s", state_buf, name_buf);
data/rplay-3.3.2/devrplay/devrplay.c:266:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(info, "input-info=%s,%d,%d,%d,%s",
data/rplay-3.3.2/examples/flow1.c:44:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(line, "play input=flow input-storage=none sound=%s", argv[1]);
data/rplay-3.3.2/examples/flow1.c:69:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(line, "put id=%s size=%d", id, n);
data/rplay-3.3.2/examples/flow1.c:96:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(line, "done id=%s", id);
data/rplay-3.3.2/gsm/toast.c:271:6:  [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).
	p = strcpy(emalloc(maxlen), name);
data/rplay-3.3.2/gsm/toast.c:273:26:  [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).
	if (s = suffix(p, cut)) strcpy(s, want);
data/rplay-3.3.2/gsm/toast.c:274:38:  [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).
	else if (*want && !suffix(p, want)) strcat(p, want);
data/rplay-3.3.2/gsm/toast.c:472:13:  [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).
			inname = strcpy(emalloc(strlen(name)+1), name);
data/rplay-3.3.2/gsm/toast.h:70:17:  [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).
		extern char *	strcpy  P((char *, char *));
data/rplay-3.3.2/gsm/toast.h:71:17:  [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).
		extern char *	strcat  P((char *,  char *));
data/rplay-3.3.2/lib/hash.c:681:27:  [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.
hash_ask (handle, string, access)
data/rplay-3.3.2/lib/hash.c:684:10:  [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.
     int access;		/* access type */
data/rplay-3.3.2/lib/hash.c:695:35:  [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.
  handle->hash_stat[STAT_ACCESS + access] += 1;
data/rplay-3.3.2/lib/hash.c:750:36:  [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.
  handle->hash_stat[STAT_COLLIDE + access] += collision;
data/rplay-3.3.2/lib/hash.c:916:10:  [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).
  (void) strcpy (retval, answer);
data/rplay-3.3.2/lib/strdup.c:50: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(p, str);
data/rplay-3.3.2/lib/tilde.c:50:11:  [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).
#  ifndef strcpy
data/rplay-3.3.2/lib/tilde.c:51:14:  [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).
extern char *strcpy ();
data/rplay-3.3.2/lib/tilde.c:53:23:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
#define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x))
data/rplay-3.3.2/lib/tilde.c:209:7:  [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 (result + result_index, expansion);
data/rplay-3.3.2/lib/tilde.c:252:6:  [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 (temp_name, temp_home);
data/rplay-3.3.2/lib/tilde.c:253: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 (temp_name, dirname + 1);
data/rplay-3.3.2/lib/tilde.c:283:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		      strcpy (temp_name, expansion);
data/rplay-3.3.2/lib/tilde.c:284: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 (temp_name, &dirname[i]);
data/rplay-3.3.2/lib/tilde.c:296:8:  [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 (temp_name, user_entry->pw_dir);
data/rplay-3.3.2/lib/tilde.c:297:8:  [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 (temp_name, &dirname[i]);
data/rplay-3.3.2/librplay/async.c:209:2:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vsprintf(buf, fmt, args);
data/rplay-3.3.2/librplay/rplay.c:101: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(p, str);
data/rplay-3.3.2/librplay/rplay.c:1113: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(q, p);
data/rplay-3.3.2/librplay/rplay.c:1330: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(host, display);
data/rplay-3.3.2/librplay/rptp.c:91: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(p, str);
data/rplay-3.3.2/librplay/rptp.c:320:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    vsprintf(buf, fmt, args);
data/rplay-3.3.2/rplay/rplay.c:330: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(name, cwd);
data/rplay-3.3.2/rplay/rplay.c:334:7:  [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(name, argv[optind] + 2);
data/rplay-3.3.2/rplay/rplay.c:338:7:  [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(name, argv[optind]);
data/rplay-3.3.2/rplay/rplay.c:587:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(command, "info sound=%s", sound_name);
data/rplay-3.3.2/rplay/rplay.c:591:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(command, "info sound=%s/%s", cwd, sound_name);
data/rplay-3.3.2/rplay/rplay.c:899:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(buf, sound_info);
data/rplay-3.3.2/rplay/rplay.c:903:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(str + strlen(str), "input-format=%s ", p);
data/rplay-3.3.2/rplay/rplay.c:906:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(str + strlen(str), "input-sample-rate=%s ", p);
data/rplay-3.3.2/rplay/rplay.c:909:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(str + strlen(str), "input-bits=%s ", p);
data/rplay-3.3.2/rplay/rplay.c:912:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(str + strlen(str), "input-channels=%s ", p);
data/rplay-3.3.2/rplay/rplay.c:915:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(str + strlen(str), "input-byte-order=%s ", p);
data/rplay-3.3.2/rplay/rplay.c:918:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(str + strlen(str), "input-offset=%s ", p);
data/rplay-3.3.2/rplayd/cache.c:76: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(cache_directory, dir_name);
data/rplay-3.3.2/rplayd/connection.c:1563:7:  [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(e->buffer->buf + e->buffer->nbytes, buf);
data/rplay-3.3.2/rplayd/connection.c:1571:7:  [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(b->buf + b->nbytes, buf);
data/rplay-3.3.2/rplayd/host.c:304:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(b->buf, line);
data/rplay-3.3.2/rplayd/host.c:356: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(expr_read, re_name);
data/rplay-3.3.2/rplayd/host.c:361: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(expr_write, re_name);
data/rplay-3.3.2/rplayd/host.c:366: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(expr_execute, re_name);
data/rplay-3.3.2/rplayd/host.c:371: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(expr_monitor, re_name);
data/rplay-3.3.2/rplayd/sound.c:144: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(buf, p);
data/rplay-3.3.2/rplayd/sound.c:203:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(soundname, "%s/%s", dirname, dp->d_name);
data/rplay-3.3.2/rplayd/sound.c:2032:6:  [4] (shell) execv:
  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.
	    execv(argv[0], argv);
data/rplay-3.3.2/rptp/rptp.c:259: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(buf, p);
data/rplay-3.3.2/rptp/rptp.c:261:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf(prompt);
data/rplay-3.3.2/rptp/rptp.c:336: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(command, *argv);
data/rplay-3.3.2/rptp/rptp.c:664:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(line, "put sound=%s size=%d", argv[1], size);
data/rplay-3.3.2/rptp/rptp.c:699:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(line, "\r%s %d/%d %d%%", argv[1],
data/rplay-3.3.2/rptp/rptp.c:739:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(line, "get sound=%s", argv[1]);
data/rplay-3.3.2/rptp/rptp.c:789:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(line, "\r%s %d/%d %d%%", filename,
data/rplay-3.3.2/rptp/rptp.c:880:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(command, "set volume=%s", argv[1]);
data/rplay-3.3.2/rptp/rptp.c:936:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(command, "skip id=%s count=%s", argv[1], argv[2]);
data/rplay-3.3.2/rptp/rptp.c:940:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(command, "skip id=%s count=1", argv[1]);
data/rplay-3.3.2/rptp/rptp.c:1074:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(command, "set application=\"rptp %s\"", RPLAY_VERSION);
data/rplay-3.3.2/rx/rxposix.c:182:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy (errbuf, msg);
data/rplay-3.3.2/contrib/fingergoodies/random.c:6:19:  [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.
main(v,c)char**c;{srandom((int)time(!++c)*getpid());v-->1?printf("%s\n",c[random()%v]):(int)v;}
data/rplay-3.3.2/contrib/fingergoodies/random.c:6:75:  [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.
main(v,c)char**c;{srandom((int)time(!++c)*getpid());v-->1?printf("%s\n",c[random()%v]):(int)v;}
data/rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:349:15:  [3] (buffer) getopt:
  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(argc, argv, "af:h:lqrs:v:")) != -1)
data/rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:381:4:  [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(getpid());
data/rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:480:26:  [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.
	    songs[i].idx = (int)random();
data/rplay-3.3.2/contrib/mailsound/mailsound.c:236:14:  [3] (buffer) getopt:
  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(ac, av, "s:h:rz:Z:v:d")) != NOTOK)
data/rplay-3.3.2/contrib/mailsound/mailsound.c:285:3:  [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/rplay-3.3.2/contrib/mailsound/mailsound.c:286:18:  [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.
		sound = sounds[random() % count];
data/rplay-3.3.2/contrib/rplaytool-1.1/getopt.c:174:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
char *getenv ();
data/rplay-3.3.2/contrib/rplaytool-1.1/getopt.c:304:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  else if (getenv ("POSIXLY_CORRECT") != NULL)
data/rplay-3.3.2/contrib/rplaytool-1.1/getopt.c:664:1:  [3] (buffer) getopt:
  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.
getopt (argc, argv, optstring)
data/rplay-3.3.2/contrib/rplaytool-1.1/getopt.c:694:11:  [3] (buffer) getopt:
  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.
      c = getopt (argc, argv, "abc:d:0123456789");
data/rplay-3.3.2/contrib/rplaytool-1.1/getopt.h:102:12:  [3] (buffer) getopt:
  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.
extern int getopt (int argc, char *const *argv, const char *shortopts);
data/rplay-3.3.2/contrib/rplaytool-1.1/getopt.h:104:12:  [3] (buffer) getopt:
  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.
extern int getopt ();
data/rplay-3.3.2/contrib/rplaytool-1.1/getopt.h:106:12:  [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.
extern int getopt_long (int argc, char *const *argv, const char *shortopts,
data/rplay-3.3.2/contrib/rplaytool-1.1/getopt.h:118:12:  [3] (buffer) getopt:
  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.
extern int getopt ();
data/rplay-3.3.2/contrib/rplaytool-1.1/getopt.h:119:12:  [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.
extern int getopt_long ();
data/rplay-3.3.2/contrib/rplaytool-1.1/getopt1.c:58:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
char *getenv ();
data/rplay-3.3.2/contrib/rplaytool-1.1/getopt1.c:66:1:  [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.
getopt_long (argc, argv, options, long_options, opt_index)
data/rplay-3.3.2/contrib/rplaytool-1.1/getopt1.c:122:11:  [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.
      c = getopt_long (argc, argv, "abc:d:0123456789",
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:131: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, "h:1:2:3:4:", longopts, 0)) != -1)
data/rplay-3.3.2/devrplay/devrplay.c:68:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char *p = getenv("DEVRPLAY_SOUND");
data/rplay-3.3.2/devrplay/devrplay.c:75:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char *p = getenv("DEVRPLAY_INFO");
data/rplay-3.3.2/devrplay/devrplay.c:82:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char *p = getenv("DEVRPLAY_OPTS");
data/rplay-3.3.2/gsm/toast.c:753:16:  [3] (buffer) getopt:
  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 ((opt = getopt(ac, av, "fcdpvhuaslVFC:")) != EOF) switch (opt) {
data/rplay-3.3.2/lib/getopt.c:174:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
char *getenv ();
data/rplay-3.3.2/lib/getopt.c:304:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  else if (getenv ("POSIXLY_CORRECT") != NULL)
data/rplay-3.3.2/lib/getopt.c:664:1:  [3] (buffer) getopt:
  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.
getopt (argc, argv, optstring)
data/rplay-3.3.2/lib/getopt.c:694:11:  [3] (buffer) getopt:
  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.
      c = getopt (argc, argv, "abc:d:0123456789");
data/rplay-3.3.2/lib/getopt.h:102:12:  [3] (buffer) getopt:
  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.
extern int getopt (int argc, char *const *argv, const char *shortopts);
data/rplay-3.3.2/lib/getopt.h:104:12:  [3] (buffer) getopt:
  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.
extern int getopt ();
data/rplay-3.3.2/lib/getopt.h:106:12:  [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.
extern int getopt_long (int argc, char *const *argv, const char *shortopts,
data/rplay-3.3.2/lib/getopt.h:118:12:  [3] (buffer) getopt:
  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.
extern int getopt ();
data/rplay-3.3.2/lib/getopt.h:119:12:  [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.
extern int getopt_long ();
data/rplay-3.3.2/lib/getopt1.c:58:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
char *getenv ();
data/rplay-3.3.2/lib/getopt1.c:66:1:  [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.
getopt_long (argc, argv, options, long_options, opt_index)
data/rplay-3.3.2/lib/getopt1.c:122:11:  [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.
      c = getopt_long (argc, argv, "abc:d:0123456789",
data/rplay-3.3.2/lib/tilde.c:235:30:  [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 *temp_home = (char *)getenv ("HOME");
data/rplay-3.3.2/librplay/rplay.c:748: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((int) seed);
data/rplay-3.3.2/librplay/rplay.c:749:28:  [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.
	rp->random_sound = (int) (random() % rp->nsounds);
data/rplay-3.3.2/librplay/rplay.c:1323:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    display = getenv("DISPLAY");
data/rplay-3.3.2/librplay/rplay.c:1609:12:  [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.
    host = getenv("RPLAY_HOST");
data/rplay-3.3.2/rplay/rplay.c:150:17:  [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, OPTIONS, longopts, 0)) != -1)
data/rplay-3.3.2/rplay/rplay.c:209: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, OPTIONS, longopts, 0)) != -1)
data/rplay-3.3.2/rplayd/command.c:1033:14:  [3] (buffer) getopt:
  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 ((n = getopt(argc, argv, "+P:R:N:n:v:")) != -1)
data/rplay-3.3.2/rplayd/rplayd.c:375:17:  [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, OPTIONS, longopts, 0)) != -1)
data/rplay-3.3.2/rplayd/rplayd.c:557:17:  [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, OPTIONS, longopts, 0)) != -1)
data/rplay-3.3.2/rptp/rptp.c:168:17:  [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, "+h:p:rv", longopts, 0)) != -1)
data/rplay-3.3.2/adpcm/g711.c:42: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 _u2a[128] = {			/* u- to A-law conversions */
data/rplay-3.3.2/adpcm/g711.c:60: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 _a2u[128] = {			/* A- to u-law conversions */
data/rplay-3.3.2/contrib/cdrplay/cdrplay.c:251:16:  [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).
    info->fd = open (info->device, 0);
data/rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:156: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           filename[MAXPATHLEN];
data/rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:225: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[MAXPATHLEN], filename[MAXPATHLEN], *s;
data/rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:227:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(listname, "r");
data/rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:385: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).
	  opt_sleep = atoi(optarg);
data/rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:389: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).
	  opt_volume = atoi(optarg);
data/rplay-3.3.2/contrib/mailsound/mailsound.c:47: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.
PRIVATE char	hostname[200] = "localhost";
data/rplay-3.3.2/contrib/mailsound/mailsound.c:58: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.
PRIVATE char	subject[200];
data/rplay-3.3.2/contrib/mailsound/mailsound.c:77: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		buffer[1000];
data/rplay-3.3.2/contrib/mailsound/mailsound.c:78: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[200];
data/rplay-3.3.2/contrib/mailsound/mailsound.c:79: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		address[1000];
data/rplay-3.3.2/contrib/mailsound/mailsound.c:123:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fl = fopen(path, "r");
data/rplay-3.3.2/contrib/mailsound/mailsound.c:178: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	*av[50];
data/rplay-3.3.2/contrib/mailsound/mailsound.c:232: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		*sounds[50];
data/rplay-3.3.2/contrib/mailsound/mailsound.c:258:14:  [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).
				volume = atoi(optarg);
data/rplay-3.3.2/contrib/pos/pos.c:32:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[1024];
data/rplay-3.3.2/contrib/pos/pos.c:96: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[RPTP_MAX_LINE];
data/rplay-3.3.2/contrib/pos/pos.c:110: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[RPTP_MAX_LINE];
data/rplay-3.3.2/contrib/pos/pos.c:114: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).
    id = atoi (1 + rptp_parse (0, "id"));
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:147: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 message[1024];
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:347: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 from_name[RPTP_MAX_LINE], *from_data;
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:348: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 to_name[RPTP_MAX_LINE], *to_data;
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:352:25:  [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.
    strcpy (from_name, (char *) xv_get (playlist[list].list, PANEL_LIST_STRING, from));
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:353:18:  [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.
    from_data = (char *) xv_get (playlist[list].list, PANEL_LIST_CLIENT_DATA, from);
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:355:23:  [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.
    strcpy (to_name, (char *) xv_get (playlist[list].list, PANEL_LIST_STRING, to));
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:356: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.
    to_data = (char *) xv_get (playlist[list].list, PANEL_LIST_CLIENT_DATA, to);
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:398: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.
    p = (char *) xv_get (playlist[list].list, PANEL_LIST_CLIENT_DATA, index);
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.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 client_data[RPTP_MAX_LINE];
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:431: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 (client_data, "%d %d", client_id, list);
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:450: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[BUFSIZ];
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:465:21:  [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).
	    info->volume = atoi (value);
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:471: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).
	    info->sample_rate = atoi (value);
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:486: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).
	    info->delay = atoi (value);
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:539: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[BUFSIZ];
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:540: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 message[1024];
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:541: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 filename[MAXPATHLEN];
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:543: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 was_playing[MAXPATHLEN];
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:556:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fp = fopen (playlist[i].filename, "r");
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:691: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 client_data[32];
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.c:721: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 (client_data, "%d %d", client_id, list);
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.h:64: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 filename[MAXPATHLEN];
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.h:65:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[MAXPATHLEN];
data/rplay-3.3.2/contrib/rplaytool-1.1/misc.h:80: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 filename[MAXPATHLEN];
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:117: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 title[32];
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:153: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).
		initial_delay = atoi (optarg);
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:316: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.
		    char line[RPTP_MAX_LINE];
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:317:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf (line, "%d.au", playlist[i].delay);
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:426: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[1024];
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:472: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[RPTP_MAX_LINE], *p, *client_data;
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:479: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).
	id = atoi (p+1);
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:627: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).
	    new_volume = atoi (rptp_parse (0, "volume"));
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:633: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).
	    nplaying = atoi (rptp_parse (0, "play"));
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:634: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).
	    npaused = atoi (rptp_parse (0, "pause"));
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:708: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 cwd[MAXPATHLEN];
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1324: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.
		    char buf[RPTP_MAX_LINE];
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1670: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[RPTP_MAX_LINE];
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1728: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[RPTP_MAX_LINE];
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1879:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen (file, "r");
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1889: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.
        char cwd[MAXPATHLEN];
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1928:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen (file, "w");
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:1947: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 cwd[MAXPATHLEN];
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:2122: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[MAXPATHLEN];
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:2155: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[MAXPATHLEN];
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:2218: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 *p, filename[MAXPATHLEN];
data/rplay-3.3.2/contrib/rplaytool-1.1/rplaytool_stubs.c:2277: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 *p, filename[MAXPATHLEN];
data/rplay-3.3.2/contrib/rplaytool-1.1/rptp.c:50: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 rptp_buf[RPTP_MAX_LINE];
data/rplay-3.3.2/contrib/rplaytool-1.1/rptp.c:165: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[RPTP_MAX_LINE];
data/rplay-3.3.2/contrib/rplaytool-1.1/rptp.c:171:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf + strlen (buf), "sample-rate=%d ", info->sample_rate);
data/rplay-3.3.2/contrib/rplaytool-1.1/rptp.c:176:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf + strlen (buf), "volume=%d ", info->volume);
data/rplay-3.3.2/contrib/vu/vu.c:118: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[RPTP_MAX_LINE];
data/rplay-3.3.2/contrib/vu/vu.c:134: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).
	left_level = atoi (rptp_parse (line, "left"));
data/rplay-3.3.2/contrib/vu/vu.c:135: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).
	right_level = atoi (rptp_parse (0, "right"));
data/rplay-3.3.2/contrib/xjukebox-0.9/rptpstuff.c:50: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            rptp_buf[4096];
data/rplay-3.3.2/contrib/xjukebox-0.9/rptpstuff.c:51: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            rptp_resp[RPTP_MAX_LINE];
data/rplay-3.3.2/contrib/xjukebox-0.9/rptpstuff.c:186: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).
	playing_sid = atoi (rptp_parse (rptp_resp, "id") + 1);
data/rplay-3.3.2/contrib/xjukebox-0.9/rptpstuff.c:200: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(rptp_buf, "stop id=#%d", spool_info_list[spool_index]->sid);
data/rplay-3.3.2/contrib/xjukebox-0.9/rptpstuff.c:229: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(rptp_buf, "pause id=#%d", spool_info_list[spool_index]->sid);
data/rplay-3.3.2/contrib/xjukebox-0.9/rptpstuff.c:258: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(rptp_buf, "continue id=#%d", spool_info_list[spool_index]->sid);
data/rplay-3.3.2/contrib/xjukebox-0.9/widgets.c:388: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          buffer[100];
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:133: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  buffer[1024];
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:135:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  list_file = fopen(file_name, "r");
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:161:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  list_file = fopen(file_name, "w");
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:198: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        state_buf[10];
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:199: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        name_buf[1024];
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:204: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).
  new_item->sid = atoi (1 + rptp_parse (new_info, "id"));
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:205: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).
  new_item->vol = atoi (rptp_parse (NULL, "volume"));
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:206: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).
  new_item->pri = atoi (rptp_parse (NULL, "priority"));
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:207:21:  [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).
  new_item->count = atoi (rptp_parse (NULL, "count"));
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:208: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).
  new_item->seconds = atoi (rptp_parse (NULL, "seconds"));
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:209:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  new_item->remain = atoi (rptp_parse (NULL, "remain"));
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.h:34: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         host[16];   /* Where did the play command come from ? */
data/rplay-3.3.2/devrplay/devrplay.c:87:1:  [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).
open(const char *pathname, int flags,...)
data/rplay-3.3.2/devrplay/devrplay.c:92: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 response[RPTP_MAX_LINE];
data/rplay-3.3.2/devrplay/devrplay.c:103: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.
        char response[RPTP_MAX_LINE];
data/rplay-3.3.2/devrplay/devrplay.c:255: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 info[64];
data/rplay-3.3.2/devrplay/devrplay.c:256: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 response[RPTP_MAX_LINE];
data/rplay-3.3.2/devrplay/devrplay.c:286: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).
	spool_id = atoi(1 + rptp_parse(response, "id"));
data/rplay-3.3.2/examples/async1.c:9: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[RPTP_MAX_LINE];
data/rplay-3.3.2/examples/async2.c:13: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[RPTP_MAX_LINE];
data/rplay-3.3.2/examples/async2.c:28: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[BUFSIZ];
data/rplay-3.3.2/examples/flow1.c:16: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 line[RPTP_MAX_LINE];
data/rplay-3.3.2/examples/flow1.c:17:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char response[RPTP_MAX_LINE];
data/rplay-3.3.2/examples/flow1.c:18: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[8000];
data/rplay-3.3.2/examples/flow1.c:28:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(argv[1], "r");
data/rplay-3.3.2/examples/level.c:7: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[RPTP_MAX_LINE];
data/rplay-3.3.2/examples/level.c:26:9:  [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).
	left = atoi(rptp_parse(line, "left"));
data/rplay-3.3.2/examples/level.c:27: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).
	right = atoi(rptp_parse(0, "right"));
data/rplay-3.3.2/gsm/add.c:98:17:  [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 unsigned char bitoff[ 256 ] = {
data/rplay-3.3.2/gsm/code.c:16:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	extern char	* memcpy P((char *, char *, int));
data/rplay-3.3.2/gsm/code.c:97:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	(void)memcpy( (char *)S->dp0, (char *)(S->dp0 + 160),
data/rplay-3.3.2/gsm/toast.c:474:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (!(in = fopen(inname, READ))) {
data/rplay-3.3.2/gsm/toast.c:499:16:  [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 ((outfd = open(o, O_WRITE_EXCL, 0666)) >= 0)
data/rplay-3.3.2/gsm/toast.c:502:36:  [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).
		else if (ok_to_replace(o)) out = fopen(o, WRITE);
data/rplay-3.3.2/lib/hash.c:789: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 answer[100];		/* human farts here */
data/rplay-3.3.2/lib/hash.c:790: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 *hashtable[TABLES];	/* we test many hash tables at once */
data/rplay-3.3.2/lib/tilde.c:317: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 *result, line[512];
data/rplay-3.3.2/lib/tilde.c:326: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 (line, "done");
data/rplay-3.3.2/librplay/async.c:185: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[RPTP_MAX_LINE];
data/rplay-3.3.2/librplay/async.c:211: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(buf, "\r\n");
data/rplay-3.3.2/librplay/async.c:251: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(new->data, ptr, nbytes);
data/rplay-3.3.2/librplay/async.c:404: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[RPTP_MAX_LINE];
data/rplay-3.3.2/librplay/async.c:407: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 (command, "set notify=");
data/rplay-3.3.2/librplay/async.c:410: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(command, "continue,");
data/rplay-3.3.2/librplay/async.c:412: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(command, "done,");
data/rplay-3.3.2/librplay/async.c:414: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(command, "pause,");
data/rplay-3.3.2/librplay/async.c:416: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(command, "play,");
data/rplay-3.3.2/librplay/async.c:418: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(command, "skip,");
data/rplay-3.3.2/librplay/async.c:420: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(command, "state,");
data/rplay-3.3.2/librplay/async.c:422: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(command, "stop,");
data/rplay-3.3.2/librplay/async.c:424: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(command, "volume,");
data/rplay-3.3.2/librplay/async.c:426: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(command, "flow,");
data/rplay-3.3.2/librplay/async.c:428: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(command, "modify,");
data/rplay-3.3.2/librplay/async.c:430: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(command, "level,");
data/rplay-3.3.2/librplay/async.c:432: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(command, "position,");
data/rplay-3.3.2/librplay/async.c:436: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(command, "none");
data/rplay-3.3.2/librplay/async.c:523: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		buffer[RPTP_MAX_LINE];
data/rplay-3.3.2/librplay/async.c:541: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(new->data, buffer, n);
data/rplay-3.3.2/librplay/async.c:574: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	line[RPTP_MAX_LINE * 2] = "";
data/rplay-3.3.2/librplay/async.c:581: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(&line[length], ptr->current, p - ptr->current);
data/rplay-3.3.2/librplay/async.c:616: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(&line[length], ptr->current, ptr->length);
data/rplay-3.3.2/librplay/rplay.c:187: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 ((char *) rp->buf + rp->len, (char *) p, n); \
data/rplay-3.3.2/librplay/rplay.c:428:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy((char *) &(*rp->attrsp)->rptp_server_port, packet, sizeof((*rp->attrsp)->rptp_server_port));
data/rplay-3.3.2/librplay/rplay.c:439:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy((char *) &(*rp->attrsp)->sample_rate, packet,
data/rplay-3.3.2/librplay/rplay.c:451:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy((char *) &rp->id, packet, sizeof(rp->id));
data/rplay-3.3.2/librplay/rplay.c:457:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy((char *) &rp->sequence, packet, sizeof(rp->sequence));
data/rplay-3.3.2/librplay/rplay.c:463:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy((char *) &rp->data_size, packet, sizeof(rp->data_size));
data/rplay-3.3.2/librplay/rplay.c:470:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(rp->data, packet, rp->data_size);
data/rplay-3.3.2/librplay/rplay.c:778: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(rp->data, data, rp->data_size);
data/rplay-3.3.2/librplay/rplay.c:833: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.
		    char hostname[MAXHOSTNAMELEN];
data/rplay-3.3.2/librplay/rplay.c:859: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((char *) &s.sin_addr.s_addr, (char *) hp->h_addr, hp->h_length);
data/rplay-3.3.2/librplay/rplay.c:863: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((char *) &s.sin_addr.s_addr, (char *) &addr, sizeof(addr));
data/rplay-3.3.2/librplay/rplay.c:1086:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[MAX_PACKET];
data/rplay-3.3.2/librplay/rplay.c:1196: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((char *) &s.sin_addr.s_addr, (char *) hp->h_addr, hp->h_length);
data/rplay-3.3.2/librplay/rplay.c:1200: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((char *) &s.sin_addr.s_addr, (char *) &addr, sizeof(addr));
data/rplay-3.3.2/librplay/rplay.c:1321: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 host[MAXHOSTNAMELEN];
data/rplay-3.3.2/librplay/rplay.c:1326: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(host, "localhost");
data/rplay-3.3.2/librplay/rplay.c:1338:6:  [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(host, "localhost");
data/rplay-3.3.2/librplay/rptp.c:132: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((char *) &s.sin_addr.s_addr, (char *) hp->h_addr, hp->h_length);
data/rplay-3.3.2/librplay/rptp.c:136: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((char *) &s.sin_addr.s_addr, (char *) &addr, sizeof(addr));
data/rplay-3.3.2/librplay/rptp.c:306: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[RPTP_MAX_LINE];
data/rplay-3.3.2/librplay/rptp.c:322: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(buf, "\r\n");
data/rplay-3.3.2/librplay/rptp.c:345: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 tmp_buf[RPTP_MAX_LINE];
data/rplay-3.3.2/rplay/rplay.c:101: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 cwd[MAXPATHLEN];
data/rplay-3.3.2/rplay/rplay.c:120: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[RPTP_MAX_LINE];
data/rplay-3.3.2/rplay/rplay.c:228: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).
		which_port = atoi(optarg);
data/rplay-3.3.2/rplay/rplay.c:275: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).
		list_count = atoi(optarg);
data/rplay-3.3.2/rplay/rplay.c:279:14:  [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).
		priority = atoi(optarg);
data/rplay-3.3.2/rplay/rplay.c:291: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).
		volume = atoi(optarg);
data/rplay-3.3.2/rplay/rplay.c:295: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).
		count = atoi(optarg);
data/rplay-3.3.2/rplay/rplay.c:299: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).
		sample_rate = atoi(optarg);
data/rplay-3.3.2/rplay/rplay.c:307: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).
		buffer_size = atoi(optarg);
data/rplay-3.3.2/rplay/rplay.c:448: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 response[RPTP_MAX_LINE];
data/rplay-3.3.2/rplay/rplay.c:577: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 command[RPTP_MAX_LINE];
data/rplay-3.3.2/rplay/rplay.c:578: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 response[RPTP_MAX_LINE];
data/rplay-3.3.2/rplay/rplay.c:602: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).
	    remote_size = atoi(p);
data/rplay-3.3.2/rplay/rplay.c:626: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 response[RPTP_MAX_LINE];
data/rplay-3.3.2/rplay/rplay.c:662: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 response[RPTP_MAX_LINE];
data/rplay-3.3.2/rplay/rplay.c:684: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).
    spool_id = atoi(1 + rptp_parse(response, "id"));
data/rplay-3.3.2/rplay/rplay.c:708:9:  [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).
	    && atoi(1 + rptp_parse(NULL, "id")) == spool_id)
data/rplay-3.3.2/rplay/rplay.c:748: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 command[RPTP_MAX_LINE];
data/rplay-3.3.2/rplay/rplay.c:749: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 response[RPTP_MAX_LINE];
data/rplay-3.3.2/rplay/rplay.c:759:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(sound_name, O_RDONLY, 0);
data/rplay-3.3.2/rplay/rplay.c:796: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).
    spool_id = atoi(1 + rptp_parse(response, "id"));
data/rplay-3.3.2/rplay/rplay.c:856: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(1 + rptp_parse(response, "id")) == spool_id)
data/rplay-3.3.2/rplay/rplay.c:891:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char str[1024];
data/rplay-3.3.2/rplay/rplay.c:896: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[1024];
data/rplay-3.3.2/rplayd/audio/audio_FreeBSD.c:231:27:  [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 ((rplay_audio_fd = open(rplay_audio_device, (O_WRONLY | O_NONBLOCK), 0)) < 0)
data/rplay-3.3.2/rplayd/audio/audio_FreeBSD.c:343:15:  [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 ((mx = open(RPLAY_MIXER_DEVICE, O_RDONLY)) == -1)
data/rplay-3.3.2/rplayd/audio/audio_FreeBSD.c:407:15:  [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 ((mx = open(RPLAY_MIXER_DEVICE, O_RDONLY)) == -1)
data/rplay-3.3.2/rplayd/audio/audio_generic.c:121:22:  [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).
    rplay_audio_fd = open(rplay_audio_device, O_WRONLY | O_NDELAY, 0);
data/rplay-3.3.2/rplayd/audio/audio_gnu.c:121:22:  [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).
    rplay_audio_fd = open(rplay_audio_device, O_WRONLY | O_NDELAY, 0);
data/rplay-3.3.2/rplayd/audio/audio_hpux.c:238:22:  [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).
    rplay_audio_fd = open(rplay_audio_device, O_WRONLY | O_NDELAY, 0);
data/rplay-3.3.2/rplayd/audio/audio_oss.c:184:22:  [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).
    rplay_audio_fd = open(rplay_audio_device, O_WRONLY, 0);
data/rplay-3.3.2/rplayd/audio/audio_oss.c:603:28:  [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).
    rplay_audio_mixer_fd = open(RPLAY_AUDIO_MIXER_DEVICE, O_RDONLY);
data/rplay-3.3.2/rplayd/audio/audio_solaris.c:291:22:  [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).
    rplay_audio_fd = open(rplay_audio_device, O_WRONLY | O_NDELAY, 0);
data/rplay-3.3.2/rplayd/audio/audio_sun.c:295:22:  [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).
    rplay_audio_fd = open(rplay_audio_device, O_WRONLY | O_NDELAY, 0);
data/rplay-3.3.2/rplayd/buffer.h:50: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[BUFFER_SIZE];
data/rplay-3.3.2/rplayd/cache.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.
static char cache_path[MAXPATHLEN];
data/rplay-3.3.2/rplayd/cache.c:57: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 cache_directory[MAXPATHLEN];
data/rplay-3.3.2/rplayd/cache.c:191:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char _cache_path[MAXPATHLEN];
data/rplay-3.3.2/rplayd/cache.c:301:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open(name, O_RDWR | O_CREAT, 0666);
data/rplay-3.3.2/rplayd/cdrom.c:276:16:  [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).
    info->fd = open(info->device, 0);
data/rplay-3.3.2/rplayd/cdrom.c:560:15:  [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).
    info.fd = open(info.device, 0);
data/rplay-3.3.2/rplayd/command.c:162: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 command_buffer[RPTP_MAX_LINE];
data/rplay-3.3.2/rplayd/command.c:176: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 *argv[RPTP_MAX_ARGS], *p;
data/rplay-3.3.2/rplayd/command.c:289: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 fmt[1024];
data/rplay-3.3.2/rplayd/command.c:460: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).
	sound_size = atoi(p);
data/rplay-3.3.2/rplayd/command.c:465: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).
	    spool_id = atoi(p + 1);
data/rplay-3.3.2/rplayd/command.c:472: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).
	sound_size = atoi(argv[2]);
data/rplay-3.3.2/rplayd/command.c:749: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[4];
data/rplay-3.3.2/rplayd/command.c:776: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(buf, "rwx");
data/rplay-3.3.2/rplayd/command.c:941: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).
		volume = atoi(value);
data/rplay-3.3.2/rplayd/command.c:945: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).
		count = atoi(value);
data/rplay-3.3.2/rplayd/command.c:949: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).
		list_count = atoi(value);
data/rplay-3.3.2/rplayd/command.c:953:14:  [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).
		priority = atoi(value);
data/rplay-3.3.2/rplayd/command.c:957: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).
		sample_rate = atoi(value);
data/rplay-3.3.2/rplayd/command.c:978:18:  [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).
		input_offset = atoi(value);
data/rplay-3.3.2/rplayd/command.c:990: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).
		input_sample_rate = atoi(value);
data/rplay-3.3.2/rplayd/command.c:998: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).
		input_channels = atoi(value);
data/rplay-3.3.2/rplayd/command.c:1010:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		if (p) input_sample_rate = atoi(p);
data/rplay-3.3.2/rplayd/command.c:1013:28:  [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 (p) input_precision = atoi(p);
data/rplay-3.3.2/rplayd/command.c:1016: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).
		if (p) input_channels = atoi(p);
data/rplay-3.3.2/rplayd/command.c:1022: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 (p) input_offset = atoi(p);
data/rplay-3.3.2/rplayd/command.c:1038: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).
		volume = atoi(optarg);
data/rplay-3.3.2/rplayd/command.c:1042: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).
		count = atoi(optarg);
data/rplay-3.3.2/rplayd/command.c:1046: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).
		list_count = atoi(optarg);
data/rplay-3.3.2/rplayd/command.c:1050:14:  [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).
		priority = atoi(optarg);
data/rplay-3.3.2/rplayd/command.c:1054: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).
		sample_rate = atoi(optarg);
data/rplay-3.3.2/rplayd/command.c:1128: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[RPTP_MAX_LINE], *sound_name, *p;
data/rplay-3.3.2/rplayd/command.c:1293: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).
	volume += atoi(argv[1] + 1);
data/rplay-3.3.2/rplayd/command.c:1313: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).
	volume -= atoi(argv[1] + 1);
data/rplay-3.3.2/rplayd/command.c:1327: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).
	volume = atoi(argv[1]);
data/rplay-3.3.2/rplayd/command.c:1448: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[RPTP_MAX_LINE];
data/rplay-3.3.2/rplayd/command.c:1520:18:  [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).
	    *spool_id = atoi(p + 1);
data/rplay-3.3.2/rplayd/command.c:1592:14:  [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).
	    e->id = atoi(value + 1);
data/rplay-3.3.2/rplayd/command.c:1679: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[RPTP_MAX_LINE];
data/rplay-3.3.2/rplayd/command.c:1798: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).
	id = atoi(p + 1);
data/rplay-3.3.2/rplayd/command.c:1803: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).
	count = atoi(p);
data/rplay-3.3.2/rplayd/command.c:1851: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[RPTP_MAX_LINE];
data/rplay-3.3.2/rplayd/command.c:1924: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).
		    volume += atoi(value + 1);
data/rplay-3.3.2/rplayd/command.c:1928: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).
		    volume -= atoi(value + 1);
data/rplay-3.3.2/rplayd/command.c:1932: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).
		    volume *= atoi(value + 1);
data/rplay-3.3.2/rplayd/command.c:1936: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).
		    volume /= atoi(value + 1);
data/rplay-3.3.2/rplayd/command.c:1940: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).
		    volume = atoi(value);
data/rplay-3.3.2/rplayd/command.c:1964:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		rplay_priority_threshold = atoi(value);
data/rplay-3.3.2/rplayd/command.c:2080: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 info[1024], *p;
data/rplay-3.3.2/rplayd/command.c:2098: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).
		optional_sample_rate = atoi(p);
data/rplay-3.3.2/rplayd/command.c:2101: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).
		optional_precision = atoi(p);
data/rplay-3.3.2/rplayd/command.c:2104: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).
		optional_channels = atoi(p);
data/rplay-3.3.2/rplayd/command.c:2136: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).
		rplay_audio_timeout = atoi(value);
data/rplay-3.3.2/rplayd/command.c:2244: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).
    id = atoi(p + 1);
data/rplay-3.3.2/rplayd/command.c:2249:14:  [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).
	new_count = atoi(p);
data/rplay-3.3.2/rplayd/command.c:2255: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).
	new_list_count = atoi(p);
data/rplay-3.3.2/rplayd/command.c:2261: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).
	new_priority = atoi(p);
data/rplay-3.3.2/rplayd/command.c:2267: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).
	new_sample_rate = atoi(p);
data/rplay-3.3.2/rplayd/command.c:2273: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).
	new_volume = atoi(p);
data/rplay-3.3.2/rplayd/connection.c:284: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((char *) &ping_addr, (char *) &c->server->sin, sizeof(ping_addr));
data/rplay-3.3.2/rplayd/connection.c:305: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 line[RPTP_MAX_LINE];
data/rplay-3.3.2/rplayd/connection.c:379: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[RPTP_MAX_LINE];
data/rplay-3.3.2/rplayd/connection.c:1091: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 line[RPTP_MAX_LINE];
data/rplay-3.3.2/rplayd/connection.c:1092: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[RPTP_MAX_LINE];
data/rplay-3.3.2/rplayd/connection.c:1261: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[RPTP_MAX_LINE];
data/rplay-3.3.2/rplayd/connection.c:1262: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 head[3], *p;
data/rplay-3.3.2/rplayd/connection.c:1321:6:  [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(buf, "?event=");
data/rplay-3.3.2/rplayd/connection.c:1892:14:  [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).
		    size = atoi(rptp_parse(c->event->start, "size"));
data/rplay-3.3.2/rplayd/connection.c:1898:14:  [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).
		    size = atoi(strtok(NULL, "\r\n"));
data/rplay-3.3.2/rplayd/connection.c:1985:14:  [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).
		    size = atoi(rptp_parse(0, "size"));
data/rplay-3.3.2/rplayd/connection.c:1993:14:  [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).
		    size = atoi(strtok(NULL, "\r\n"));
data/rplay-3.3.2/rplayd/flange.c:53: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.
    unsigned char b[2];
data/rplay-3.3.2/rplayd/helper.c:64: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[MAXPATHLEN];
data/rplay-3.3.2/rplayd/helper.c:72:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(filename, "r");
data/rplay-3.3.2/rplayd/helper.c:150: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).
	    hp->sample_rate = atoi(p);
data/rplay-3.3.2/rplayd/helper.c:153:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	    hp->precision = atoi(p);
data/rplay-3.3.2/rplayd/helper.c:156:21:  [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).
	    hp->channels = atoi(p);
data/rplay-3.3.2/rplayd/host.c:75: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[BUFSIZ], *perms, *name, *p;
data/rplay-3.3.2/rplayd/host.c:76: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 expr_read[HOST_EXPR_SIZE];
data/rplay-3.3.2/rplayd/host.c:77: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 expr_write[HOST_EXPR_SIZE];
data/rplay-3.3.2/rplayd/host.c:78: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 expr_execute[HOST_EXPR_SIZE];
data/rplay-3.3.2/rplayd/host.c:79: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 expr_monitor[HOST_EXPR_SIZE];
data/rplay-3.3.2/rplayd/host.c:84:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(filename, "r");
data/rplay-3.3.2/rplayd/host.c:94: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(b->buf, "+message=\"hosts\"\r\n");
data/rplay-3.3.2/rplayd/host.c:102: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(expr_read, "^\\(");
data/rplay-3.3.2/rplayd/host.c:103: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(expr_write, "^\\(");
data/rplay-3.3.2/rplayd/host.c:104: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(expr_execute, "^\\(");
data/rplay-3.3.2/rplayd/host.c:105: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(expr_monitor, "^\\(");
data/rplay-3.3.2/rplayd/host.c:169: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(expr_read, "\\)");
data/rplay-3.3.2/rplayd/host.c:178: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(expr_write, "\\)");
data/rplay-3.3.2/rplayd/host.c:187: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(expr_execute, "\\)");
data/rplay-3.3.2/rplayd/host.c:196: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(expr_monitor, "\\)");
data/rplay-3.3.2/rplayd/host.c:292: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 line[RPTP_MAX_LINE];
data/rplay-3.3.2/rplayd/host.c:327: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((char *) &addr_in, *ap, hp->h_length);
data/rplay-3.3.2/rplayd/host.c:331:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy((char *) &addr_in, (char *) hp->h_addr, sizeof(addr_in));
data/rplay-3.3.2/rplayd/host.c:336:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy((char *) &addr_in, (char *) &addr, sizeof(addr_in));
data/rplay-3.3.2/rplayd/host.c:357:6:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
	    strcat(expr_read, "\\|");
data/rplay-3.3.2/rplayd/host.c:362:6:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
	    strcat(expr_write, "\\|");
data/rplay-3.3.2/rplayd/host.c:367:6:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
	    strcat(expr_execute, "\\|");
data/rplay-3.3.2/rplayd/host.c:372:6:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
	    strcat(expr_monitor, "\\|");
data/rplay-3.3.2/rplayd/host.c:449: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[64];
data/rplay-3.3.2/rplayd/misc.c:234:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[64];
data/rplay-3.3.2/rplayd/misc.c:526:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char string[128];
data/rplay-3.3.2/rplayd/misc.c:555:42:  [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.
    return (((unsigned long) (((unsigned char *) p)[1])) << 8) |
data/rplay-3.3.2/rplayd/misc.c:556:31:  [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 long) (((unsigned char *) p)[0]));
data/rplay-3.3.2/rplayd/misc.c:563:42:  [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.
    return (((unsigned long) (((unsigned char *) p)[0])) << 8) |
data/rplay-3.3.2/rplayd/misc.c:564:31:  [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 long) (((unsigned char *) p)[1]));
data/rplay-3.3.2/rplayd/misc.c:571:42:  [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.
    return (((unsigned long) (((unsigned char *) p)[3])) << 24) |
data/rplay-3.3.2/rplayd/misc.c:572:32:  [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 long) (((unsigned char *) p)[2])) << 16) |
data/rplay-3.3.2/rplayd/misc.c:573:32:  [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 long) (((unsigned char *) p)[1])) << 8) |
data/rplay-3.3.2/rplayd/misc.c:574:31:  [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 long) (((unsigned char *) p)[0]));
data/rplay-3.3.2/rplayd/misc.c:581:42:  [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.
    return (((unsigned long) (((unsigned char *) p)[0])) << 24) |
data/rplay-3.3.2/rplayd/misc.c:582:32:  [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 long) (((unsigned char *) p)[1])) << 16) |
data/rplay-3.3.2/rplayd/misc.c:583:32:  [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 long) (((unsigned char *) p)[2])) << 8) |
data/rplay-3.3.2/rplayd/misc.c:584:31:  [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 long) (((unsigned char *) p)[3]));
data/rplay-3.3.2/rplayd/rplayd.c:89: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 hostname[MAXHOSTNAMELEN];	/* Name of the local system.  */
data/rplay-3.3.2/rplayd/rplayd.c:446: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((char *) &addr, (char *) hp->h_addr, hp->h_length);
data/rplay-3.3.2/rplayd/rplayd.c:512: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[BUFSIZ], *p;
data/rplay-3.3.2/rplayd/rplayd.c:515: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 *argv[1024];		/* that should be enough */
data/rplay-3.3.2/rplayd/rplayd.c:518:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(option_file, "r");
data/rplay-3.3.2/rplayd/rplayd.c:587:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	optional_channels = atoi(optarg);
data/rplay-3.3.2/rplayd/rplayd.c:612: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).
	sound_cache_max_size = atoi(optarg);
data/rplay-3.3.2/rplayd/rplayd.c:617: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).
	sound_cache_max_sound_size = atoi(optarg);
data/rplay-3.3.2/rplayd/rplayd.c:622: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).
	rplay_port = atoi(optarg);
data/rplay-3.3.2/rplayd/rplayd.c:627:14:  [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).
	rptp_port = atoi(optarg);
data/rplay-3.3.2/rplayd/rplayd.c:633:21:  [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).
	other_rplay_port = atoi(optarg);
data/rplay-3.3.2/rplayd/rplayd.c:638: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).
	other_rptp_port = atoi(optarg);
data/rplay-3.3.2/rplayd/rplayd.c:725:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	optional_fragsize = atoi(optarg);
data/rplay-3.3.2/rplayd/rplayd.c:751: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).
	rplay_audio_bufsize = atoi(optarg);
data/rplay-3.3.2/rplayd/rplayd.c:756: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).
	optional_precision = atoi(optarg);
data/rplay-3.3.2/rplayd/rplayd.c:765: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).
	rplay_audio_timeout = atoi(optarg);
data/rplay-3.3.2/rplayd/rplayd.c:786:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	rplay_audio_flush_timeout = atoi(optarg);
data/rplay-3.3.2/rplayd/rplayd.c:802:29:  [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).
	    optional_sample_rate = atoi(p);
data/rplay-3.3.2/rplayd/rplayd.c:805: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).
	    optional_precision = atoi(p);
data/rplay-3.3.2/rplayd/rplayd.c:808: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).
	    optional_channels = atoi(p);
data/rplay-3.3.2/rplayd/rplayd.c:813: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).
	report_level = atoi(optarg);
data/rplay-3.3.2/rplayd/rplayd.c:829:21:  [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).
	rplay_audio_rate = atoi(optarg);
data/rplay-3.3.2/rplayd/rplayd.c:833: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).
	optional_sample_rate = atoi(optarg);
data/rplay-3.3.2/rplayd/rplayd.c:837: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).
	cache_max_size = atoi(optarg);
data/rplay-3.3.2/rplayd/rplayd.c:845: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).
	rplayd_timeout = atoi(optarg);
data/rplay-3.3.2/rplayd/rplayd.c:849: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).
	rptp_timeout = atoi(optarg);
data/rplay-3.3.2/rplayd/rplayd.c:1180:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy((char *) &s.sin_addr.s_addr, (char *) hp->h_addr, hp->h_length);
data/rplay-3.3.2/rplayd/rplayd.c:1184:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy((char *) &s.sin_addr.s_addr, (char *) &addr, sizeof(addr));
data/rplay-3.3.2/rplayd/rplayd.c:1476:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(monitor_buffers->buf + monitor_buffers->offset, buf, n);
data/rplay-3.3.2/rplayd/rplayd.c:1515:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char recv_buf[MAX_PACKET];
data/rplay-3.3.2/rplayd/rplayd.c:1949: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(b->buf, rp->data, b->nbytes);
data/rplay-3.3.2/rplayd/rplayd.c:2188:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char header[256];
data/rplay-3.3.2/rplayd/rplayd.c:2189:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char message[2048];	/* XXX: largest message */
data/rplay-3.3.2/rplayd/rplayd.c:2219:12:  [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).
		log_fd = open(log_file, O_WRONLY | O_CREAT | O_APPEND | O_SYNC, 0644);
data/rplay-3.3.2/rplayd/server.c:57: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[BUFSIZ], *p;
data/rplay-3.3.2/rplayd/server.c:58: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 line[RPTP_MAX_LINE];
data/rplay-3.3.2/rplayd/server.c:68:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(filename, "r");
data/rplay-3.3.2/rplayd/server.c:85: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((char *) &local_addr, (char *) local_hp->h_addr, local_hp->h_length);
data/rplay-3.3.2/rplayd/server.c:88: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(b->buf, "+message=\"servers\"\r\n");
data/rplay-3.3.2/rplayd/server.c:114: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).
	    port = atoi(p + 1);
data/rplay-3.3.2/rplayd/server.c:130:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy((char *) &sin.sin_addr.s_addr, (char *) hp->h_addr, hp->h_length);
data/rplay-3.3.2/rplayd/server.c:134:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy((char *) &sin.sin_addr.s_addr, (char *) &addr, sizeof(addr));
data/rplay-3.3.2/rplayd/sound.c:131: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(buf, "^\\(");
data/rplay-3.3.2/rplayd/sound.c:142:6:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
	    strcat(buf, "\\|");
data/rplay-3.3.2/rplayd/sound.c:146: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(buf, "\\)");
data/rplay-3.3.2/rplayd/sound.c:188: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 soundname[MAXPATHLEN];
data/rplay-3.3.2/rplayd/sound.c:224: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[MAXPATHLEN], *p;
data/rplay-3.3.2/rplayd/sound.c:246:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(filename, "r");
data/rplay-3.3.2/rplayd/sound.c:382: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 line[RPTP_MAX_LINE];
data/rplay-3.3.2/rplayd/sound.c:775: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[SOUND_MAX_HEADER_SIZE];
data/rplay-3.3.2/rplayd/sound.c:801: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(buf, "HELPER");	/* XXX: not used; see below */
data/rplay-3.3.2/rplayd/sound.c:808: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(buf, "CDROM");
data/rplay-3.3.2/rplayd/sound.c:952: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 id[5];
data/rplay-3.3.2/rplayd/sound.c:974:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(id, p, 4);
data/rplay-3.3.2/rplayd/sound.c:1090: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 id[5];
data/rplay-3.3.2/rplayd/sound.c:1111:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(id, p, 4);
data/rplay-3.3.2/rplayd/sound.c:1970: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 *argv[64];	/* XXX */
data/rplay-3.3.2/rplayd/sound.c:1972: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[MAXPATHLEN], *p;
data/rplay-3.3.2/rplayd/sound.c:1977:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		input_fd = open(s->path, O_RDONLY /* | O_NDELAY */ , 0);
data/rplay-3.3.2/rplayd/sound.c:2055:15:  [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).
	    si->fd = open(s->path, O_RDONLY | O_NDELAY, 0);
data/rplay-3.3.2/rplayd/sound.c:2360:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(b->buf, data->buf, data->nbytes);
data/rplay-3.3.2/rplayd/sound.c:2399:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(b->buf, data->buf, data->nbytes);
data/rplay-3.3.2/rplayd/sound.c:2407:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(si->gsm_bit_frame, b->buf + b->offset, nbytes);
data/rplay-3.3.2/rplayd/sound.c:2414: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(data->buf + data->nbytes, (char *) sample, sizeof(sample));
data/rplay-3.3.2/rplayd/sound.c:2543: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(b->buf + b->nbytes, f->buf + si->buffer_offset + si->skip, i);
data/rplay-3.3.2/rplayd/sound.c:2600: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(b->buf, si->sound->cache + si->offset, i);
data/rplay-3.3.2/rplayd/sound.h:186: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 title[80];
data/rplay-3.3.2/rplayd/spool.c:322:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		id = atoi(a2->sound + 1);
data/rplay-3.3.2/rplayd/spool.c:445: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[RPTP_MAX_LINE];
data/rplay-3.3.2/rplayd/spool.c:446: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 line[RPTP_MAX_LINE];
data/rplay-3.3.2/rplayd/spool.c:836: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_buf[MAXPATHLEN];
data/rplay-3.3.2/rplayd/spool.c:853: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).
		s->starting_track = atoi(p);
data/rplay-3.3.2/rplayd/spool.c:857: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).
		    s->ending_track = atoi(p);
data/rplay-3.3.2/rplayd/spool.c:863: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).
	    s->starting_track = atoi(p);
data/rplay-3.3.2/rplayd/spool.c:864: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).
	    s->ending_track = atoi(p);
data/rplay-3.3.2/rplayd/ulaw.c:66:17:  [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 unsigned char _ulinear2ulaw[8192] =
data/rplay-3.3.2/rplayd/xhash.c:131:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char name[MAXPATHLEN];
data/rplay-3.3.2/rptp/rptp.c:142: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 rptp_buf[4096];
data/rplay-3.3.2/rptp/rptp.c:143: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 command[RPTP_MAX_LINE];
data/rplay-3.3.2/rptp/rptp.c:144: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 response[RPTP_MAX_LINE];
data/rplay-3.3.2/rptp/rptp.c:160: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[256];
data/rplay-3.3.2/rptp/rptp.c:164: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 *av[RPTP_MAX_ARGS], *p, *host = NULL;
data/rplay-3.3.2/rptp/rptp.c:166: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 numeric_string[128];
data/rplay-3.3.2/rptp/rptp.c:189: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).
	    port = atoi(optarg);
data/rplay-3.3.2/rptp/rptp.c:376:21:  [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).
	port = argc == 3 ? atoi(argv[2]) : RPTP_PORT;
data/rplay-3.3.2/rptp/rptp.c:643: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 line[RPTP_MAX_LINE];
data/rplay-3.3.2/rptp/rptp.c:656:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(argv[1], "r");
data/rplay-3.3.2/rptp/rptp.c:722: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 line[RPTP_MAX_LINE];
data/rplay-3.3.2/rptp/rptp.c:759:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(filename, "w");
data/rplay-3.3.2/rptp/rptp.c:768:9:  [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).
	size = atoi(rptp_parse(response, "size"));
data/rplay-3.3.2/rptp/rptp.c:773:9:  [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).
	size = atoi(strtok(NULL, "\r\n"));
data/rplay-3.3.2/rptp/rptp.c:884: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(command, "set volume");
data/rplay-3.3.2/rptp/rptp.c:944: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(command, "skip id=#0 count=1");
data/rplay-3.3.2/rptp/rptp.c:1019: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[8192];
data/rplay-3.3.2/rptp/rptp.c:1020: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 line[80];
data/rplay-3.3.2/rptp/rptp.c:1029:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(command, "monitor");
data/rplay-3.3.2/rptp/rptp.c:1050: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 (p) sample_rate = atoi(p);
data/rplay-3.3.2/rptp/rptp.c:1053: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).
    if (p) precision = atoi(p);
data/rplay-3.3.2/rptp/rptp.c:1056:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (p) channels = atoi(p);
data/rplay-3.3.2/rx/_rx.h:145: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 re_syntax_table[CHAR_SET_SIZE];
data/rplay-3.3.2/rx/inst-rxposix.h:35:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char fastmap[256];
data/rplay-3.3.2/rx/rgx.c:165: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 (it->owner_data, SCM_RO_CHARS (pat), SCM_RO_LENGTH (pat));
data/rplay-3.3.2/rx/rxbitset.c:359:22:  [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.
      s = ((unsigned char *)a)[x];
data/rplay-3.3.2/rx/rxgnucomp.c:37: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 re_syntax_table[CHAR_SET_SIZE];
data/rplay-3.3.2/rx/rxgnucomp.c:265: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 rx_id_translation[256] =
data/rplay-3.3.2/rx/rxgnucomp.c:553: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 validate_inv_tr [CHAR_SET_SIZE];
data/rplay-3.3.2/rx/rxgnucomp.c:935:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char str[CHAR_CLASS_MAX_LENGTH + 1];
data/rplay-3.3.2/rx/rxnode.c:125: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 (to->contents, from->contents, from->reallen);
data/rplay-3.3.2/rx/rxposix.c:316:37:  [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.
	      && (preg->fastmap[((unsigned char *)string)[x]])))
data/rplay-3.3.2/rx/rxsuper.c:1351: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 cset_space[1024];	/* this limit is far from unreasonable */
data/rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:159:3:  [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(filename, "/");
data/rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:169:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((strlen(dp->d_name) > 3) &&
data/rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:170: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).
	!strcmp(dp->d_name + strlen(dp->d_name) - 3, ".au"))
data/rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:184: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).
	filename[strlen(filename) - dp->d_namlen] = '\0';
data/rplay-3.3.2/contrib/jukebox-1.3/jukebox.c:269:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      songs[nsongs - 1].name = (char *)malloc(strlen(s) + 1);
data/rplay-3.3.2/contrib/mailsound/mailsound.c:90:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size = strlen(buffer) + 1;
data/rplay-3.3.2/contrib/mailsound/mailsound.c:107: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).
		size += strlen(buffer) + 1;
data/rplay-3.3.2/contrib/rplaytool-1.1/getopt.c:198: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).
extern int strlen (const char *);
data/rplay-3.3.2/contrib/rplaytool-1.1/getopt.c:488: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 (nameend - nextchar == strlen (p->name))
data/rplay-3.3.2/contrib/rplaytool-1.1/getopt.c:512: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).
	  nextchar += strlen (nextchar);
data/rplay-3.3.2/contrib/rplaytool-1.1/getopt.c:542: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).
		  nextchar += strlen (nextchar);
data/rplay-3.3.2/contrib/rplaytool-1.1/getopt.c:555: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).
		  nextchar += strlen (nextchar);
data/rplay-3.3.2/contrib/rplaytool-1.1/getopt.c:559: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).
	  nextchar += strlen (nextchar);
data/rplay-3.3.2/contrib/rplaytool-1.1/rptp.c:171: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).
	sprintf (buf + strlen (buf), "sample-rate=%d ", info->sample_rate);
data/rplay-3.3.2/contrib/rplaytool-1.1/rptp.c:176: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).
	sprintf (buf + strlen (buf), "volume=%d ", info->volume);
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:61:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (String)malloc((strlen(new_item) + 1) * sizeof(char));
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:142:10:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  while (fscanf(list_file, "%1023s", buffer) > 0)
data/rplay-3.3.2/contrib/xjukebox-0.9/xjukebox.c:225: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).
  new_item->sound = (char *)malloc((20 + strlen(name_buf)) * sizeof(char));
data/rplay-3.3.2/devrplay/devrplay.c:276:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(info, getinfo(), sizeof(info)-1);
data/rplay-3.3.2/examples/async2.c:31:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    buf[strlen(buf) - 1] = '\0';
data/rplay-3.3.2/gsm/toast.c:133:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (  (l = strlen(av0)) >= 3 /* strlen("cat") */
data/rplay-3.3.2/gsm/toast.c:189: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 (max_filename_length > 0 && strlen(end) > max_filename_length) {
data/rplay-3.3.2/gsm/toast.c:205: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).
	size_t nlen = strlen(name);
data/rplay-3.3.2/gsm/toast.c:206: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).
	size_t slen = strlen(suf);
data/rplay-3.3.2/gsm/toast.c:270:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	maxlen = strlen(name) + 1 + strlen(want) + strlen(cut);
data/rplay-3.3.2/gsm/toast.c:270: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).
	maxlen = strlen(name) + 1 + strlen(want) + strlen(cut);
data/rplay-3.3.2/gsm/toast.c:270:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	maxlen = strlen(name) + 1 + strlen(want) + strlen(cut);
data/rplay-3.3.2/gsm/toast.c:311:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	for (c = reply = getchar(); c != '\n' && c != EOF; c = getchar()) ;
data/rplay-3.3.2/gsm/toast.c:311:57:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	for (c = reply = getchar(); c != '\n' && c != EOF; c = getchar()) ;
data/rplay-3.3.2/gsm/toast.c:472: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).
			inname = strcpy(emalloc(strlen(name)+1), name);
data/rplay-3.3.2/gsm/toast.h:69: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).
		extern int	strlen	P((char *));
data/rplay-3.3.2/gsm/toast_alaw.c:320:30:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	for (i = 0; i < 160 && (c = fgetc(in)) != EOF; i++) buf[i] = A2S( c );
data/rplay-3.3.2/gsm/toast_audio.c:49:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (  				      (i = getc(f)) == EOF
data/rplay-3.3.2/gsm/toast_audio.c:50:45:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	   || ((u =        (unsigned char)i), (i = getc(f)) == EOF)
data/rplay-3.3.2/gsm/toast_audio.c:51:45:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	   || ((u = (u<<8)|(unsigned char)i), (i = getc(f)) == EOF)
data/rplay-3.3.2/gsm/toast_audio.c:52:45:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	   || ((u = (u<<8)|(unsigned char)i), (i = getc(f)) == EOF)) return -1;
data/rplay-3.3.2/gsm/toast_audio.c:61:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (  fgetc(in) != '.' 
data/rplay-3.3.2/gsm/toast_audio.c:62:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	   || fgetc(in) != 's'
data/rplay-3.3.2/gsm/toast_audio.c:63:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	   || fgetc(in) != 'n'
data/rplay-3.3.2/gsm/toast_audio.c:64:8:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	   || fgetc(in) != 'd'
data/rplay-3.3.2/gsm/toast_audio.c:88:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (getc(in) == EOF) {
data/rplay-3.3.2/gsm/toast_ulaw.c:608:30:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	for (i = 0; i < 160 && (c = fgetc(in)) != EOF; i++) buf[i] = U2S(c);
data/rplay-3.3.2/lib/getopt.c:198: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).
extern int strlen (const char *);
data/rplay-3.3.2/lib/getopt.c:488: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 (nameend - nextchar == strlen (p->name))
data/rplay-3.3.2/lib/getopt.c:512: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).
	  nextchar += strlen (nextchar);
data/rplay-3.3.2/lib/getopt.c:542: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).
		  nextchar += strlen (nextchar);
data/rplay-3.3.2/lib/getopt.c:555: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).
		  nextchar += strlen (nextchar);
data/rplay-3.3.2/lib/getopt.c:559: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).
	  nextchar += strlen (nextchar);
data/rplay-3.3.2/lib/hash.c:911:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  retval = malloc (strlen (answer) + 1);
data/rplay-3.3.2/lib/strdup.c:43:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p = (char *) malloc(strlen(str) + 1);
data/rplay-3.3.2/lib/tilde.c:53: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).
#define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x))
data/rplay-3.3.2/lib/tilde.c:109: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).
  string_len = strlen (string);
data/rplay-3.3.2/lib/tilde.c:121: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 (strncmp (string + i, prefixes[j], strlen (prefixes[j])) == 0)
data/rplay-3.3.2/lib/tilde.c:123: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).
		  *len = strlen (prefixes[j]) - 1;
data/rplay-3.3.2/lib/tilde.c:141: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).
  string_len = strlen (string);
data/rplay-3.3.2/lib/tilde.c:150: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 (strncmp (string + i, suffixes[j], strlen (suffixes[j])) == 0)
data/rplay-3.3.2/lib/tilde.c:182:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (result + result_index, string, start);
data/rplay-3.3.2/lib/tilde.c:198:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (tilde_word, string, end);
data/rplay-3.3.2/lib/tilde.c:205: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).
      len = strlen (expansion);
data/rplay-3.3.2/lib/tilde.c:248: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).
	  temp_name = xmalloc (1 + strlen (&dirname[1])
data/rplay-3.3.2/lib/tilde.c:249:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				 + (temp_home ? strlen (temp_home) : 0));
data/rplay-3.3.2/lib/tilde.c:263:24:  [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).
	  username = xmalloc (strlen (dirname));
data/rplay-3.3.2/lib/tilde.c:281: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).
		      temp_name = xmalloc (1 + strlen (expansion)
data/rplay-3.3.2/lib/tilde.c:282: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).
						  + strlen (&dirname[i]));
data/rplay-3.3.2/lib/tilde.c:294: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).
	      temp_name = xmalloc (1 + strlen (user_entry->pw_dir)
data/rplay-3.3.2/lib/tilde.c:295:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				     + strlen (&dirname[i]));
data/rplay-3.3.2/librplay/async.c:213:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return rptp_async_write(rptp_fd, callback, buf, strlen(buf)) != strlen(buf) ? -1 : 0;
data/rplay-3.3.2/librplay/async.c:213:66:  [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 rptp_async_write(rptp_fd, callback, buf, strlen(buf)) != strlen(buf) ? -1 : 0;
data/rplay-3.3.2/librplay/async.c:527:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	n = read(rptp_fd, buffer, sizeof(buffer));
data/rplay-3.3.2/librplay/rplay.c:94:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p = (char *) malloc(strlen(str) + 1);
data/rplay-3.3.2/librplay/rplay.c:237: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(rp->list_name) + 1;
data/rplay-3.3.2/librplay/rplay.c:283: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).
	    len = strlen(attrs->sound) + 1;
data/rplay-3.3.2/librplay/rplay.c:307: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).
	    len = strlen(attrs->rptp_server) + 1;
data/rplay-3.3.2/librplay/rplay.c:339: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).
	    len = strlen(attrs->client_data) + 1;
data/rplay-3.3.2/librplay/rplay.c:402: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).
	    packet += strlen(packet) + 1;
data/rplay-3.3.2/librplay/rplay.c:411: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).
	    packet += strlen(packet) + 1;
data/rplay-3.3.2/librplay/rplay.c:424: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).
	    packet += strlen(packet) + 1;
data/rplay-3.3.2/librplay/rplay.c:447: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).
	    packet += strlen(packet) + 1;
data/rplay-3.3.2/librplay/rplay.c:1114: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(p) + 1;
data/rplay-3.3.2/librplay/rptp.c:84:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    p = (char *) malloc(strlen(str) + 1);
data/rplay-3.3.2/librplay/rptp.c:221:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	nread = read(rptp_fd, ptr, nleft);
data/rplay-3.3.2/librplay/rptp.c:324:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return rptp_write(rptp_fd, buf, strlen(buf)) != strlen(buf) ? -1 : 0;
data/rplay-3.3.2/librplay/rptp.c:324:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return rptp_write(rptp_fd, buf, strlen(buf)) != strlen(buf) ? -1 : 0;
data/rplay-3.3.2/librplay/rptp.c:387:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	x = read(rptp_fd, tmp_buf, i == n ? n : i + 1);
data/rplay-3.3.2/rplay/rplay.c:329: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).
		name = (char *) malloc(strlen(cwd) + strlen(argv[optind]) + 2);
data/rplay-3.3.2/rplay/rplay.c:329:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		name = (char *) malloc(strlen(cwd) + strlen(argv[optind]) + 2);
data/rplay-3.3.2/rplay/rplay.c:331:3:  [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(name, "/");
data/rplay-3.3.2/rplay/rplay.c:824:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	n = read(fd, buffer, buffer_size);
data/rplay-3.3.2/rplay/rplay.c:903:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    sprintf(str + strlen(str), "input-format=%s ", p);
data/rplay-3.3.2/rplay/rplay.c:906:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    sprintf(str + strlen(str), "input-sample-rate=%s ", p);
data/rplay-3.3.2/rplay/rplay.c:909:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    sprintf(str + strlen(str), "input-bits=%s ", p);
data/rplay-3.3.2/rplay/rplay.c:912:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    sprintf(str + strlen(str), "input-channels=%s ", p);
data/rplay-3.3.2/rplay/rplay.c:915:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    sprintf(str + strlen(str), "input-byte-order=%s ", p);
data/rplay-3.3.2/rplay/rplay.c:918:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    sprintf(str + strlen(str), "input-offset=%s ", p);
data/rplay-3.3.2/rplayd/command.c:180:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(command_buffer, buf, sizeof(command_buffer));
data/rplay-3.3.2/rplayd/command.c:298: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).
	b->nbytes += strlen(b->buf);
data/rplay-3.3.2/rplayd/command.c:303:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    b->nbytes += strlen(fmt);
data/rplay-3.3.2/rplayd/command.c:765:2:  [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(buf, "r");
data/rplay-3.3.2/rplayd/command.c:769:2:  [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(buf, "w");
data/rplay-3.3.2/rplayd/command.c:773:2:  [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(buf, "x");
data/rplay-3.3.2/rplayd/command.c:1455:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buf, event_string, sizeof(buf));
data/rplay-3.3.2/rplayd/command.c:1635: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).
	    n += strlen(argv[i]);
data/rplay-3.3.2/rplayd/command.c:1686: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).
	n += strlen(argv[i]);
data/rplay-3.3.2/rplayd/command.c:1891:6:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	    strncat(b->buf + b->nbytes, buf, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/command.c:1892:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    b->nbytes += strlen(buf);
data/rplay-3.3.2/rplayd/command.c:1904:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(b->buf + b->nbytes, buf, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/command.c:1905: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).
		b->nbytes += strlen(buf);
data/rplay-3.3.2/rplayd/command.c:1910:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(b->buf + b->nbytes, buf, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/command.c:1911: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).
		b->nbytes += strlen(buf);
data/rplay-3.3.2/rplayd/command.c:1949:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(b->buf + b->nbytes, buf, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/command.c:1950: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).
		b->nbytes += strlen(buf);
data/rplay-3.3.2/rplayd/command.c:1956:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(b->buf + b->nbytes, buf, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/command.c:1957: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).
		b->nbytes += strlen(buf);
data/rplay-3.3.2/rplayd/command.c:1978:6:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	    strncat(b->buf + b->nbytes, buf, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/command.c:1979:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    b->nbytes += strlen(buf);
data/rplay-3.3.2/rplayd/command.c:2000:6:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	    strncat(b->buf + b->nbytes, buf, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/command.c:2001:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    b->nbytes += strlen(buf);
data/rplay-3.3.2/rplayd/command.c:2013:6:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	    strncat(b->buf + b->nbytes, buf, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/command.c:2014:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    b->nbytes += strlen(buf);
data/rplay-3.3.2/rplayd/command.c:2026:6:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	    strncat(b->buf + b->nbytes, buf, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/command.c:2027:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    b->nbytes += strlen(buf);
data/rplay-3.3.2/rplayd/command.c:2068:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(b->buf + b->nbytes, buf, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/command.c:2069: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).
		b->nbytes += strlen(buf);
data/rplay-3.3.2/rplayd/command.c:2074:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(b->buf + b->nbytes, buf, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/command.c:2075: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).
		b->nbytes += strlen(buf);
data/rplay-3.3.2/rplayd/command.c:2092:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(info, value, sizeof(info));
data/rplay-3.3.2/rplayd/command.c:2117:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(b->buf + b->nbytes, buf, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/command.c:2118: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).
		b->nbytes += strlen(buf);
data/rplay-3.3.2/rplayd/command.c:2127:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(b->buf + b->nbytes, buf, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/command.c:2128: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).
		b->nbytes += strlen(buf);
data/rplay-3.3.2/rplayd/command.c:2138:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(b->buf + b->nbytes, buf, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/command.c:2139: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).
		b->nbytes += strlen(buf);
data/rplay-3.3.2/rplayd/command.c:2145:6:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	    strncat(b->buf + b->nbytes, buf, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/command.c:2146:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    b->nbytes += strlen(buf);
data/rplay-3.3.2/rplayd/command.c:2150:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat(b->buf + b->nbytes, buf, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/command.c:2151: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).
	b->nbytes += strlen(buf);
data/rplay-3.3.2/rplayd/command.c:2156:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    strncat(b->buf + b->nbytes, buf, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/command.c:2157: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).
    b->nbytes += strlen(buf);
data/rplay-3.3.2/rplayd/connection.c:235: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).
	b->nbytes = strlen(b->buf);
data/rplay-3.3.2/rplayd/connection.c:327: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).
	write(fd, line, strlen(line));
data/rplay-3.3.2/rplayd/connection.c:339: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).
	write(fd, line, strlen(line));
data/rplay-3.3.2/rplayd/connection.c:470:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		n = read(c->fd, c->event->buffer->buf,
data/rplay-3.3.2/rplayd/connection.c:522:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    n = read(c->fd, c->event->buffer->buf,
data/rplay-3.3.2/rplayd/connection.c:572:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		n = read(c->fd, c->event->buffer->buf, size);
data/rplay-3.3.2/rplayd/connection.c:656:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    n = read(c->fd, buf, i == n ? n : i + 1);
data/rplay-3.3.2/rplayd/connection.c:904: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).
    b->nbytes = strlen(b->buf);
data/rplay-3.3.2/rplayd/connection.c:1011: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).
	b->nbytes += strlen(b->buf);
data/rplay-3.3.2/rplayd/connection.c:1099: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).
    b->nbytes += strlen(b->buf);
data/rplay-3.3.2/rplayd/connection.c:1109:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat(line + length, buf, sizeof(line) - length);
data/rplay-3.3.2/rplayd/connection.c:1110: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).
	length += strlen(buf);
data/rplay-3.3.2/rplayd/connection.c:1113:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat(line + length, buf, sizeof(line) - length);
data/rplay-3.3.2/rplayd/connection.c:1114: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).
	length += strlen(buf);
data/rplay-3.3.2/rplayd/connection.c:1127:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat(line + length, buf, sizeof(line) - length);
data/rplay-3.3.2/rplayd/connection.c:1128: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).
	length += strlen(buf);
data/rplay-3.3.2/rplayd/connection.c:1133:6:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	    strncat(line + length, buf, sizeof(line) - length);
data/rplay-3.3.2/rplayd/connection.c:1134: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).
	    length += strlen(buf);
data/rplay-3.3.2/rplayd/connection.c:1204:6:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	    strncat(line + length, buf, sizeof(line) - length);
data/rplay-3.3.2/rplayd/connection.c:1205: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).
	    length += strlen(buf);
data/rplay-3.3.2/rplayd/connection.c:1211:6:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	    strncat(line + length, buf, sizeof(line) - length);
data/rplay-3.3.2/rplayd/connection.c:1212: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).
	    length += strlen(buf);
data/rplay-3.3.2/rplayd/connection.c:1218:6:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	    strncat(line + length, buf, sizeof(line) - length);
data/rplay-3.3.2/rplayd/connection.c:1219: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).
	    length += strlen(buf);
data/rplay-3.3.2/rplayd/connection.c:1223:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat(line + length, buf, sizeof(line) - length);
data/rplay-3.3.2/rplayd/connection.c:1224: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).
	length += strlen(buf);
data/rplay-3.3.2/rplayd/connection.c:1232:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat(b->buf + b->nbytes, line, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/connection.c:1242:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
    strncat(b->buf + b->nbytes, ".\r\n", BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/connection.c:1322: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).
	    length = strlen(buf);
data/rplay-3.3.2/rplayd/connection.c:1535: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).
	    length = strlen(buf);
data/rplay-3.3.2/rplayd/connection.c:1537: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).
	    length = strlen(buf);
data/rplay-3.3.2/rplayd/connection.c:1915: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).
		b->nbytes = strlen(b->buf);
data/rplay-3.3.2/rplayd/connection.c:1932: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).
		b->nbytes = strlen(b->buf);
data/rplay-3.3.2/rplayd/connection.c:1948: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).
	    b->nbytes = strlen(b->buf);
data/rplay-3.3.2/rplayd/connection.c:1966: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).
	    b->nbytes = strlen(b->buf);
data/rplay-3.3.2/rplayd/connection.c:2029: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).
		b->nbytes = strlen(b->buf);
data/rplay-3.3.2/rplayd/connection.c:2047: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).
	    b->nbytes = strlen(b->buf);
data/rplay-3.3.2/rplayd/connection.c:2073: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).
		b->nbytes = strlen(b->buf);
data/rplay-3.3.2/rplayd/host.c:95: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).
    b->nbytes += strlen(b->buf);
data/rplay-3.3.2/rplayd/host.c:164: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).
    SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE - b->nbytes), ".\r\n");
data/rplay-3.3.2/rplayd/host.c:167:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(expr_read) == 3)
data/rplay-3.3.2/rplayd/host.c:173: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).
	expr_read[strlen(expr_read) - 1] = ')';
data/rplay-3.3.2/rplayd/host.c:175:5:  [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(expr_read, "$");
data/rplay-3.3.2/rplayd/host.c:176:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(expr_write) == 3)
data/rplay-3.3.2/rplayd/host.c:182: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).
	expr_write[strlen(expr_write) - 1] = ')';
data/rplay-3.3.2/rplayd/host.c:184:5:  [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(expr_write, "$");
data/rplay-3.3.2/rplayd/host.c:185:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(expr_execute) == 3)
data/rplay-3.3.2/rplayd/host.c:191: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).
	expr_execute[strlen(expr_execute) - 1] = ')';
data/rplay-3.3.2/rplayd/host.c:193:5:  [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(expr_execute, "$");
data/rplay-3.3.2/rplayd/host.c:194:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(expr_monitor) == 3)
data/rplay-3.3.2/rplayd/host.c:200: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).
	expr_monitor[strlen(expr_monitor) - 1] = ')';
data/rplay-3.3.2/rplayd/host.c:202:5:  [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(expr_monitor, "$");
data/rplay-3.3.2/rplayd/host.c:295:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(line);
data/rplay-3.3.2/rplayd/misc.c:252:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    SNPRINTF(SIZE(buf + strlen(buf), sizeof(buf) - strlen(buf)), "%02d:%02d:%02d", hours, mins, secs);
data/rplay-3.3.2/rplayd/misc.c:252: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).
    SNPRINTF(SIZE(buf + strlen(buf), sizeof(buf) - strlen(buf)), "%02d:%02d:%02d", hours, mins, secs);
data/rplay-3.3.2/rplayd/misc.c:532:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
	strncat(string, "none,", sizeof(string) - strlen(string));
data/rplay-3.3.2/rplayd/misc.c:532: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).
	strncat(string, "none,", sizeof(string) - strlen(string));
data/rplay-3.3.2/rplayd/misc.c:536:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
	strncat(string, "speaker,", sizeof(string) - strlen(string));
data/rplay-3.3.2/rplayd/misc.c:536:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	strncat(string, "speaker,", sizeof(string) - strlen(string));
data/rplay-3.3.2/rplayd/misc.c:540:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
	strncat(string, "headphone,", sizeof(string) - strlen(string));
data/rplay-3.3.2/rplayd/misc.c:540:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	strncat(string, "headphone,", sizeof(string) - strlen(string));
data/rplay-3.3.2/rplayd/misc.c:544:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
	strncat(string, "lineout,", sizeof(string) - strlen(string));
data/rplay-3.3.2/rplayd/misc.c:544:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	strncat(string, "lineout,", sizeof(string) - strlen(string));
data/rplay-3.3.2/rplayd/misc.c:546: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).
    string[strlen(string) - 1] = '\0';
data/rplay-3.3.2/rplayd/rplayd.c:1967: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).
    SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), "host=%s", hostname);
data/rplay-3.3.2/rplayd/rplayd.c:1968: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).
    SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), " version=%s", RPLAY_VERSION);
data/rplay-3.3.2/rplayd/rplayd.c:1969: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).
    SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), " uptime=%s", time2string(time(0) - starttime));
data/rplay-3.3.2/rplayd/rplayd.c:1973:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), " audio-bits=%d", rplay_audio_precision);
data/rplay-3.3.2/rplayd/rplayd.c:1975:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), " audio-bufsize=%d", rplay_audio_bufsize);
data/rplay-3.3.2/rplayd/rplayd.c:1977:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), " audio-byte-order=%s",
data/rplay-3.3.2/rplayd/rplayd.c:1979:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), " audio-channels=%d", rplay_audio_channels);
data/rplay-3.3.2/rplayd/rplayd.c:1980:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), " audio-device=%s", rplay_audio_device);
data/rplay-3.3.2/rplayd/rplayd.c:1981:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), " audio-format=%s",
data/rplay-3.3.2/rplayd/rplayd.c:1984:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), " audio-fragsize=%d", rplay_audio_fragsize);
data/rplay-3.3.2/rplayd/rplayd.c:1986:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), " audio-port=%s",
data/rplay-3.3.2/rplayd/rplayd.c:1988:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), " audio-rate=%d", rplay_audio_rate);
data/rplay-3.3.2/rplayd/rplayd.c:1989:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), " audio-sample-rate=%d", rplay_audio_sample_rate);
data/rplay-3.3.2/rplayd/rplayd.c:1990:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), " volume=%d", rplay_audio_volume);
data/rplay-3.3.2/rplayd/rplayd.c:1992:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), " curr-bufsize=%d", curr_bufsize);
data/rplay-3.3.2/rplayd/rplayd.c:1994:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), " curr-rate=%d", curr_rate);
data/rplay-3.3.2/rplayd/rplayd.c:1995:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), " priority-threshold=%d",
data/rplay-3.3.2/rplayd/rplayd.c:1997:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), " audio-close=%d",
data/rplay-3.3.2/rplayd/rplayd.c:1999:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), " audio-device-status=%s",
data/rplay-3.3.2/rplayd/rplayd.c:2003: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).
    SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), "\r\n");
data/rplay-3.3.2/rplayd/rplayd.c:2005: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).
    b->nbytes = strlen(b->buf);
data/rplay-3.3.2/rplayd/rplayd.c:2205:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	iov[1].iov_len = strlen(message);
data/rplay-3.3.2/rplayd/rplayd.c:2235: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).
	    iov[0].iov_len = strlen(header);
data/rplay-3.3.2/rplayd/rplayd.c:2251: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).
	    iov[0].iov_len = strlen(header);
data/rplay-3.3.2/rplayd/server.c:89: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).
    b->nbytes += strlen(b->buf);
data/rplay-3.3.2/rplayd/server.c:155: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).
	n = strlen(line);
data/rplay-3.3.2/rplayd/sound.c:108: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).
    length = strlen("^\\(") + strlen("\\)") + strlen(dirs) + 1;
data/rplay-3.3.2/rplayd/sound.c:108: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).
    length = strlen("^\\(") + strlen("\\)") + strlen(dirs) + 1;
data/rplay-3.3.2/rplayd/sound.c:108:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen("^\\(") + strlen("\\)") + strlen(dirs) + 1;
data/rplay-3.3.2/rplayd/sound.c:115: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).
	    length += strlen("\\|") - strlen(":");
data/rplay-3.3.2/rplayd/sound.c:115: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).
	    length += strlen("\\|") - strlen(":");
data/rplay-3.3.2/rplayd/sound.c:150: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).
	   buf, strlen(buf), length);
data/rplay-3.3.2/rplayd/sound.c:386: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).
    SNPRINTF(SIZE(b->buf + strlen(b->buf), BUFFER_SIZE), "+message=\"sounds\"\r\n");
data/rplay-3.3.2/rplayd/sound.c:387: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).
    b->nbytes += strlen(b->buf);
data/rplay-3.3.2/rplayd/sound.c:408: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).
	n = strlen(line);
data/rplay-3.3.2/rplayd/sound.c:414:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat(b->buf + b->nbytes, line, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/sound.c:589: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 (strncmp(name, cdrom_table[i].name, strlen(cdrom_table[i].name)) == 0)
data/rplay-3.3.2/rplayd/sound.c:2117:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    n = read(si->fd, s->cache, s->size);
data/rplay-3.3.2/rplayd/spool.c:454: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).
    b->nbytes += strlen(b->buf);
data/rplay-3.3.2/rplayd/spool.c:462:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat(line + length, buf, sizeof(line) - length);
data/rplay-3.3.2/rplayd/spool.c:463: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).
	length += strlen(buf);
data/rplay-3.3.2/rplayd/spool.c:490:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat(line + length, buf, sizeof(line) - length);
data/rplay-3.3.2/rplayd/spool.c:491: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).
	length += strlen(buf);
data/rplay-3.3.2/rplayd/spool.c:514:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat(line + length, buf, sizeof(line) - length);
data/rplay-3.3.2/rplayd/spool.c:515: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).
	length += strlen(buf);
data/rplay-3.3.2/rplayd/spool.c:523:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat(b->buf + b->nbytes, line, BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/spool.c:533:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
    strncat(b->buf + b->nbytes, ".\r\n", BUFFER_SIZE - b->nbytes);
data/rplay-3.3.2/rplayd/spool.c:839:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(name_buf, sp->curr_attrs->sound, sizeof(name_buf));
data/rplay-3.3.2/rplayd/xhash.c:139:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(name, pathname, sizeof(name));
data/rplay-3.3.2/rptp/rptp.c:339: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(command, " ");
data/rplay-3.3.2/rptp/rptp.c:702: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).
	write(2, line, strlen(line));
data/rplay-3.3.2/rptp/rptp.c:792: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).
	write(2, line, strlen(line));
data/rplay-3.3.2/rptp/rptp.c:1063:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((n = read(rptp_fd, buf, sizeof(buf))) > 0)
data/rplay-3.3.2/rx/rxposix.c:147: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).
  return regncomp (preg, pattern, strlen (pattern), cflags);
data/rplay-3.3.2/rx/rxposix.c:173: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).
  msg_size = strlen (msg) + 1; /* Includes the 0.  */
data/rplay-3.3.2/rx/rxposix.c:178:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy (errbuf, msg, errbuf_size - 1);
data/rplay-3.3.2/rx/rxposix.c:451: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).
		   strlen (string),

ANALYSIS SUMMARY:

Hits = 848
Lines analyzed = 60452 in approximately 1.53 seconds (39512 lines/second)
Physical Source Lines of Code (SLOC) = 44213
Hits@level = [0] 716 [1] 259 [2] 424 [3]  48 [4] 109 [5]   8
Hits@level+ = [0+] 1564 [1+] 848 [2+] 589 [3+] 165 [4+] 117 [5+]   8
Hits/KSLOC@level+ = [0+] 35.3742 [1+] 19.1799 [2+] 13.3219 [3+] 3.73193 [4+] 2.64628 [5+] 0.180942
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.