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/libtritonus-java-20070428/src/lib/alsa/common.h
Examining data/libtritonus-java-20070428/src/lib/alsa/init.c
Examining data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_Alsa.c
Examining data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaCtl.c
Examining data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaCtlCardInfo.c
Examining data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaMixer.c
Examining data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaMixerElement.c
Examining data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaPcm.c
Examining data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaPcmHWParams.c
Examining data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaPcmHWParamsFormatMask.c
Examining data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaPcmSWParams.c
Examining data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaSeq.c
Examining data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaSeqClientInfo.c
Examining data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaSeqEvent.c
Examining data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaSeqPortInfo.c
Examining data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaSeqPortSubscribe.c
Examining data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaSeqQueueInfo.c
Examining data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaSeqQueueStatus.c
Examining data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaSeqQueueTempo.c
Examining data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaSeqRemoveEvents.c
Examining data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaSeqSystemInfo.c
Examining data/libtritonus-java-20070428/src/lib/alsa/constants_check.h
Examining data/libtritonus-java-20070428/src/lib/cdparanoia/handle_t.h
Examining data/libtritonus-java-20070428/src/lib/cdparanoia/org_tritonus_lowlevel_cdda_cdparanoia_Cdparanoia.c
Examining data/libtritonus-java-20070428/src/lib/common/HandleFieldHandler.h
Examining data/libtritonus-java-20070428/src/lib/common/common.c
Examining data/libtritonus-java-20070428/src/lib/common/common.h
Examining data/libtritonus-java-20070428/src/lib/common/debug.h
Examining data/libtritonus-java-20070428/src/lib/cooked_ioctl/handlers.cc
Examining data/libtritonus-java-20070428/src/lib/cooked_ioctl/org_tritonus_lowlevel_cdda_cooked_ioctl_CookedIoctl.cc
Examining data/libtritonus-java-20070428/src/lib/esd/common.h
Examining data/libtritonus-java-20070428/src/lib/esd/org_tritonus_lowlevel_esd_EsdRecordingStream.c
Examining data/libtritonus-java-20070428/src/lib/esd/org_tritonus_lowlevel_esd_EsdStream.c
Examining data/libtritonus-java-20070428/src/lib/fluidsynth/org_tritonus_midi_device_fluidsynth_FluidSynthesizer.c
Examining data/libtritonus-java-20070428/src/lib/lame/windows/BladeMP3EncDLL.h
Examining data/libtritonus-java-20070428/src/lib/lame/windows/bladenc.c
Examining data/libtritonus-java-20070428/src/lib/lame/windows/bladenc.h
Examining data/libtritonus-java-20070428/src/lib/lame/lameapi.c
Examining data/libtritonus-java-20070428/src/lib/lame/lameapi.h
Examining data/libtritonus-java-20070428/src/lib/lame/org_tritonus_lowlevel_lame_Lame.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/books/coupled/res_books_stereo.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/books/floor/floor_books.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/books/uncoupled/res_books_uncoupled.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/analysis.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/backends.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/bitrate.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/bitrate.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/bitwise.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/block.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/codebook.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/codebook.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/codec_internal.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/common.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/envelope.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/envelope.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/floor0.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/floor1.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/framing.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/highlevel.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/info.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/lookup.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/lookup.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/lookup_data.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/lpc.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/lpc.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/lsp.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/lsp.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/mapping0.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/masking.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/mdct.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/mdct.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/misc.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/org_tritonus_lowlevel_pogg_Packet.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/org_tritonus_lowlevel_pvorbis_Block.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/org_tritonus_lowlevel_pvorbis_DspState.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/org_tritonus_lowlevel_pvorbis_Info.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/os.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/psy.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/psy.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/registry.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/registry.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/res0.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/scales.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/sharedbook.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/smallft.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/smallft.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/synthesis.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/vorbisenc.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/window.c
Examining data/libtritonus-java-20070428/src/lib/pvorbis/window.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/modes/floor_all.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/modes/psych_11.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/modes/psych_16.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/modes/psych_44.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/modes/psych_8.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/modes/residue_16.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/modes/residue_44.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/modes/residue_44u.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/modes/residue_8.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/modes/setup_11.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/modes/setup_16.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/modes/setup_22.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/modes/setup_32.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/modes/setup_44.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/modes/setup_44u.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/modes/setup_8.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/modes/setup_X.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/ogg/config_types.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/ogg/ogg.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/ogg/os_types.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/vorbis/vorbisenc.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/vorbis/codec.h
Examining data/libtritonus-java-20070428/src/lib/pvorbis/org_tritonus_lowlevel_pogg_Buffer.c
Examining data/libtritonus-java-20070428/src/lib/vorbis/common.h
Examining data/libtritonus-java-20070428/src/lib/vorbis/org_tritonus_lowlevel_ogg_Buffer.c
Examining data/libtritonus-java-20070428/src/lib/vorbis/org_tritonus_lowlevel_ogg_Packet.c
Examining data/libtritonus-java-20070428/src/lib/vorbis/org_tritonus_lowlevel_ogg_Page.c
Examining data/libtritonus-java-20070428/src/lib/vorbis/org_tritonus_lowlevel_ogg_StreamState.c
Examining data/libtritonus-java-20070428/src/lib/vorbis/org_tritonus_lowlevel_ogg_SyncState.c
Examining data/libtritonus-java-20070428/src/lib/vorbis/org_tritonus_lowlevel_vorbis_Block.c
Examining data/libtritonus-java-20070428/src/lib/vorbis/org_tritonus_lowlevel_vorbis_Comment.c
Examining data/libtritonus-java-20070428/src/lib/vorbis/org_tritonus_lowlevel_vorbis_DspState.c
Examining data/libtritonus-java-20070428/src/lib/vorbis/org_tritonus_lowlevel_vorbis_Info.c
Examining data/libtritonus-java-20070428/test/misc/oggstreamtest.c

FINAL RESULTS:

data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaPcmHWParams.c:177:20:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	snd_pcm_access_t		access;
data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaPcmHWParams.c:182:50:  [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.
	nReturn = snd_pcm_hw_params_get_access(handle, &access);
data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaPcmHWParams.c:184: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.
	return access;
data/libtritonus-java-20070428/src/lib/common/debug.h:39:36:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define out(...) if (debug_flag) { fprintf(debug_file, __VA_ARGS__); \
data/libtritonus-java-20070428/src/lib/pvorbis/analysis.c:73:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,"%s_%d.m",base,i);
data/libtritonus-java-20070428/src/lib/lame/windows/bladenc.c:74:8:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
		hDLL=LoadLibrary(name);
data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaSeq.c:1089: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(ptr, handle->data.ext.ptr, handle->data.ext.len);
data/libtritonus-java-20070428/src/lib/alsa/org_tritonus_lowlevel_alsa_AlsaSeq.c:1205: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(ptr, handle->data.ext.ptr, handle->data.ext.len);
data/libtritonus-java-20070428/src/lib/cdparanoia/org_tritonus_lowlevel_cdda_cdparanoia_Cdparanoia.c:310:9:  [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(pbData, psBuffer, CD_FRAMESIZE_RAW);
data/libtritonus-java-20070428/src/lib/cooked_ioctl/org_tritonus_lowlevel_cdda_cooked_ioctl_CookedIoctl.cc:40:13:  [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).
	cdrom_fd = open(cd_dev, O_RDONLY | O_NONBLOCK);
data/libtritonus-java-20070428/src/lib/esd/org_tritonus_lowlevel_esd_EsdStream.c:49:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char		name[20];
data/libtritonus-java-20070428/src/lib/esd/org_tritonus_lowlevel_esd_EsdStream.c:52: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(name, "trit%d", (int) obj);	// DANGEROUS!!
data/libtritonus-java-20070428/src/lib/lame/lameapi.c:106: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(s, "%d.%d", major, minor);
data/libtritonus-java-20070428/src/lib/lame/lameapi.c:110:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(s, "alpha");
data/libtritonus-java-20070428/src/lib/lame/lameapi.c:114:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(s, "beta");
data/libtritonus-java-20070428/src/lib/lame/lameapi.c:132:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(thisString, "LAME ");
data/libtritonus-java-20070428/src/lib/lame/lameapi.c:143:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(thisString, "; psy model ");
data/libtritonus-java-20070428/src/lib/lame/lameapi.c:153:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(thisString, "; ");
data/libtritonus-java-20070428/src/lib/lame/windows/bladenc.c:37: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(s, "%d.%d", major, minor);
data/libtritonus-java-20070428/src/lib/lame/windows/bladenc.c:41:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(s, "alpha");
data/libtritonus-java-20070428/src/lib/lame/windows/bladenc.c:45:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(s, "beta");
data/libtritonus-java-20070428/src/lib/lame/windows/bladenc.c:339:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(thisString, "; dll ");
data/libtritonus-java-20070428/src/lib/lame/windows/bladenc.c:349: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(thisString, "; %d-%d-%d", version.wYear, version.byMonth, version.byDay);
data/libtritonus-java-20070428/src/lib/lame/windows/bladenc.c:355:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(thisString, "; MMX");
data/libtritonus-java-20070428/src/lib/pvorbis/analysis.c:70: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[80];
data/libtritonus-java-20070428/src/lib/pvorbis/analysis.c:74: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).
    of=fopen(buffer,"w");
data/libtritonus-java-20070428/src/lib/pvorbis/bitrate.c:215: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(&temp,bm->packetbuffers,sizeof(vb->opb));
data/libtritonus-java-20070428/src/lib/pvorbis/bitrate.c:216: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(bm->packetbuffers,&vb->opb,sizeof(vb->opb));
data/libtritonus-java-20070428/src/lib/pvorbis/bitrate.c:243: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(&temp,bm->packetbuffers+head,sizeof(vb->opb));
data/libtritonus-java-20070428/src/lib/pvorbis/bitrate.c:244: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(bm->packetbuffers+head,&vb->opb,sizeof(vb->opb));
data/libtritonus-java-20070428/src/lib/pvorbis/bitrate.c:502: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(op,bm->packets,sizeof(*op));
data/libtritonus-java-20070428/src/lib/pvorbis/bitrate.c:515: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(op,bm->packets+bm->next_to_flush,sizeof(*op));
data/libtritonus-java-20070428/src/lib/pvorbis/block.c:576: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(vbi->pcmdelay[i],v->pcm[i],(vb->pcmend+beginW)*sizeof(*vbi->pcmdelay[i]));
data/libtritonus-java-20070428/src/lib/pvorbis/codebook.c:565: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(qv,testvec[ptr],sizeof(*qv)*TESTSIZE);
data/libtritonus-java-20070428/src/lib/pvorbis/envelope.c:297:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	      char buf[80];
data/libtritonus-java-20070428/src/lib/pvorbis/envelope.c:298:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	      sprintf(buf,"delL%d",m);
data/libtritonus-java-20070428/src/lib/pvorbis/envelope.c:304:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	      char buf[80];
data/libtritonus-java-20070428/src/lib/pvorbis/envelope.c:305:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	      sprintf(buf,"delR%d",m);
data/libtritonus-java-20070428/src/lib/pvorbis/floor1.c:892:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  char buffer[80];
data/libtritonus-java-20070428/src/lib/pvorbis/floor1.c:893:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf(buffer,"line_%dx%ld_class%d.vqd",
data/libtritonus-java-20070428/src/lib/pvorbis/floor1.c:895: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).
	  of=fopen(buffer,"a");
data/libtritonus-java-20070428/src/lib/pvorbis/floor1.c:916: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 buffer[80];
data/libtritonus-java-20070428/src/lib/pvorbis/floor1.c:917:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf(buffer,"line_%dx%ld_%dsub%d.vqd",
data/libtritonus-java-20070428/src/lib/pvorbis/floor1.c:919:9:  [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).
	    of=fopen(buffer,"a");
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:227: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(temp,og->header,og->header_len);
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:231: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(temp,og->body,og->body_len);
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:485: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(buf,og.header,og.header_len);
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:486: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(buf+og.header_len,og.body,og.body_len);
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:734: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(ogg_sync_buffer(&oy,og[i].header_len),og[i].header,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:737: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(ogg_sync_buffer(&oy,og[i].body_len),og[i].body,og[i].body_len);
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:779: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(ogg_sync_buffer(&oy,og[i].header_len),og[i].header,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:782: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(ogg_sync_buffer(&oy,og[i].body_len),og[i].body,og[i].body_len);
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:822: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(ogg_sync_buffer(&oy,og[1].header_len),og[1].header,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:828: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(ogg_sync_buffer(&oy,og[1].header_len),og[1].header+3,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:834: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(ogg_sync_buffer(&oy,og[1].header_len),og[1].header+23,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:841: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(ogg_sync_buffer(&oy,og[1].header_len),og[1].header+28,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:846: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(ogg_sync_buffer(&oy,og[1].body_len),og[1].body,1000);
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:850: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(ogg_sync_buffer(&oy,og[1].body_len),og[1].body+1000,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:864: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(ogg_sync_buffer(&oy,og[1].header_len),og[1].header,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:868: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(ogg_sync_buffer(&oy,og[1].body_len),og[1].body,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:872: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(ogg_sync_buffer(&oy,og[1].header_len),og[1].header,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:878: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(ogg_sync_buffer(&oy,og[1].header_len),og[1].header+20,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:881: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(ogg_sync_buffer(&oy,og[1].body_len),og[1].body,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:896: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(ogg_sync_buffer(&oy,og[1].body_len),og[1].body,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:900: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(ogg_sync_buffer(&oy,og[1].header_len),og[1].header,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:904: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(ogg_sync_buffer(&oy,og[1].body_len),og[1].body,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:908: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(ogg_sync_buffer(&oy,og[2].header_len),og[2].header,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:915: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(ogg_sync_buffer(&oy,og[2].header_len),og[2].header+20,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:918: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(ogg_sync_buffer(&oy,og[2].body_len),og[2].body,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:932: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(ogg_sync_buffer(&oy,og[1].header_len),og[1].header,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:936: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(ogg_sync_buffer(&oy,og[1].body_len),og[1].body,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:940: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(ogg_sync_buffer(&oy,og[2].header_len),og[2].header,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:944: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(ogg_sync_buffer(&oy,og[2].header_len),og[2].header,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:950: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(ogg_sync_buffer(&oy,og[2].body_len),og[2].body,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:954: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(ogg_sync_buffer(&oy,og[3].header_len),og[3].header,
data/libtritonus-java-20070428/src/lib/pvorbis/framing.c:958: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(ogg_sync_buffer(&oy,og[3].body_len),og[3].body,
data/libtritonus-java-20070428/src/lib/pvorbis/info.c:290: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->header2,opb.buffer,oggpack_bytes(&opb));
data/libtritonus-java-20070428/src/lib/pvorbis/mapping0.c:564:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  char buf[80];
data/libtritonus-java-20070428/src/lib/pvorbis/mapping0.c:565:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf(buf,"maskI%c%d",i?'R':'L',k);
data/libtritonus-java-20070428/src/lib/pvorbis/mapping0.c:583:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  char buf[80];
data/libtritonus-java-20070428/src/lib/pvorbis/mapping0.c:587:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf(buf,"resI%c%d",i?'R':'L',k);
data/libtritonus-java-20070428/src/lib/pvorbis/org_tritonus_lowlevel_pogg_Buffer.c:224:9:  [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(buffer2, buffer, nBytes);
data/libtritonus-java-20070428/src/lib/pvorbis/org_tritonus_lowlevel_pogg_Packet.c:217:9:  [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(handle->packet, data + nOffset, nLength);
data/libtritonus-java-20070428/src/lib/pvorbis/psy.c:119: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(workc[i][j+2],tonemasks[i][j],EHMER_MAX*sizeof(*tonemasks[i][j]));
data/libtritonus-java-20070428/src/lib/pvorbis/psy.c:120: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(workc[i][0],tonemasks[i][0],EHMER_MAX*sizeof(*tonemasks[i][0]));
data/libtritonus-java-20070428/src/lib/pvorbis/psy.c:121: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(workc[i][1],tonemasks[i][0],EHMER_MAX*sizeof(*tonemasks[i][0]));
data/libtritonus-java-20070428/src/lib/pvorbis/psy.c:137: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(athc[j],ath,EHMER_MAX*sizeof(**athc));
data/libtritonus-java-20070428/src/lib/pvorbis/res0.c:86: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 buffer[80];
data/libtritonus-java-20070428/src/lib/pvorbis/res0.c:91:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf(buffer,"res_part%d_pass%d.vqd",j,k);
data/libtritonus-java-20070428/src/lib/pvorbis/res0.c:92:9:  [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).
	    of=fopen(buffer,"a");
data/libtritonus-java-20070428/src/lib/pvorbis/res0.c:415: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 buffer[80];
data/libtritonus-java-20070428/src/lib/pvorbis/res0.c:418: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(buffer,"resaux_%d.vqd",look->train_seq);
data/libtritonus-java-20070428/src/lib/pvorbis/res0.c:419: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).
      of=fopen(buffer,"a");
data/libtritonus-java-20070428/src/lib/pvorbis/res0.c:451: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[80];
data/libtritonus-java-20070428/src/lib/pvorbis/res0.c:477:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buffer,"resaux_%d.vqd",look->train_seq);
data/libtritonus-java-20070428/src/lib/pvorbis/res0.c:478:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  of=fopen(buffer,"a");
data/libtritonus-java-20070428/src/lib/pvorbis/vorbisenc.c:213: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(f,in+x[is],sizeof(*f));
data/libtritonus-java-20070428/src/lib/pvorbis/vorbisenc.c:253: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(g,in+(int)x[is],sizeof(*g));
data/libtritonus-java-20070428/src/lib/pvorbis/vorbisenc.c:282: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(g->coupling_prepointamp,p[is].pre,sizeof(*p[is].pre)*PACKETBLOBS);
data/libtritonus-java-20070428/src/lib/pvorbis/vorbisenc.c:283: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(g->coupling_postpointamp,p[is].post,sizeof(*p[is].post)*PACKETBLOBS);
data/libtritonus-java-20070428/src/lib/pvorbis/vorbisenc.c:338: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(p,&_psy_info_template,sizeof(*p));
data/libtritonus-java-20070428/src/lib/pvorbis/vorbisenc.c:483: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(r,res->res,sizeof(*r));
data/libtritonus-java-20070428/src/lib/pvorbis/vorbisenc.c:600: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(ci->mode_param[i],mode+i,sizeof(*_mode_template));
data/libtritonus-java-20070428/src/lib/pvorbis/vorbisenc.c:604: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(ci->map_param[i],map+i,sizeof(*map));
data/libtritonus-java-20070428/src/lib/esd/org_tritonus_lowlevel_esd_EsdRecordingStream.c:55:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	nBytesRead = read(nFd, buffer, nLength);
data/libtritonus-java-20070428/src/lib/lame/lameapi.c:107: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).
	thislen=strlen(s); len-=thislen; s+=thislen; result+=thislen;
data/libtritonus-java-20070428/src/lib/lame/lameapi.c:155:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(thisString, version.features, size-1);
data/libtritonus-java-20070428/src/lib/lame/lameapi.c:157: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).
		result=strlen(charBuffer);
data/libtritonus-java-20070428/src/lib/lame/windows/bladenc.c:38: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).
	thislen=strlen(s); len-=thislen; s+=thislen; result+=thislen;
data/libtritonus-java-20070428/src/lib/lame/windows/bladenc.c:350: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).
		len=strlen(thisString);
data/libtritonus-java-20070428/src/lib/pvorbis/codebook.c:330:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  lok = oggpack_look(b, read);
data/libtritonus-java-20070428/src/lib/pvorbis/codebook.c:332:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while(lok<0 && read>1)
data/libtritonus-java-20070428/src/lib/pvorbis/codebook.c:333:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    lok = oggpack_look(b, --read);
data/libtritonus-java-20070428/src/lib/pvorbis/codebook.c:347:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(book->dec_codelengths[lo]<=read){
data/libtritonus-java-20070428/src/lib/pvorbis/codebook.c:353:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  oggpack_adv(b, read);
data/libtritonus-java-20070428/src/lib/pvorbis/codebook.c:554:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  oggpack_buffer read;
data/libtritonus-java-20070428/src/lib/pvorbis/codebook.c:586:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    oggpack_readinit(&read,oggpack_get_buffer(&write),oggpack_bytes(&write));
data/libtritonus-java-20070428/src/lib/pvorbis/codebook.c:587:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(vorbis_staticbook_unpack(&read,&s)){
data/libtritonus-java-20070428/src/lib/pvorbis/codebook.c:597:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if(vorbis_book_decodev_set(&c,iv+i,&read,c.dim)==-1){

ANALYSIS SUMMARY:

Hits = 119
Lines analyzed = 69225 in approximately 2.44 seconds (28369 lines/second)
Physical Source Lines of Code (SLOC) = 53963
Hits@level = [0] 1184 [1]  15 [2]  98 [3]   1 [4]   5 [5]   0
Hits@level+ = [0+] 1303 [1+] 119 [2+] 104 [3+]   6 [4+]   5 [5+]   0
Hits/KSLOC@level+ = [0+] 24.1462 [1+] 2.20521 [2+] 1.92725 [3+] 0.111187 [4+] 0.0926561 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.