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/faudio-20.11/cpp/X3DAudio.cpp
Examining data/faudio-20.11/cpp/X3DAudio.h
Examining data/faudio-20.11/cpp/XAPO.h
Examining data/faudio-20.11/cpp/XAPOBase.cpp
Examining data/faudio-20.11/cpp/XAPOBase.h
Examining data/faudio-20.11/cpp/XAPOFX.cpp
Examining data/faudio-20.11/cpp/XAPOFX.h
Examining data/faudio-20.11/cpp/XAudio2fx.cpp
Examining data/faudio-20.11/cpp/XAudio2fx.h
Examining data/faudio-20.11/cpp/com_utils.cpp
Examining data/faudio-20.11/cpp/com_utils.h
Examining data/faudio-20.11/cpp/com_utils_xact.cpp
Examining data/faudio-20.11/cpp/com_utils_xapofx.cpp
Examining data/faudio-20.11/cpp/win_device.cpp
Examining data/faudio-20.11/cpp/win_registry.cpp
Examining data/faudio-20.11/cpp/xact3.cpp
Examining data/faudio-20.11/cpp/xact3.h
Examining data/faudio-20.11/cpp/xaudio2.cpp
Examining data/faudio-20.11/cpp/xaudio2.h
Examining data/faudio-20.11/include/F3DAudio.h
Examining data/faudio-20.11/include/FACT.h
Examining data/faudio-20.11/include/FACT3D.h
Examining data/faudio-20.11/include/FAPO.h
Examining data/faudio-20.11/include/FAPOBase.h
Examining data/faudio-20.11/include/FAPOFX.h
Examining data/faudio-20.11/include/FAudio.h
Examining data/faudio-20.11/include/FAudioFX.h
Examining data/faudio-20.11/src/F3DAudio.c
Examining data/faudio-20.11/src/FACT.c
Examining data/faudio-20.11/src/FACT3D.c
Examining data/faudio-20.11/src/FACT_internal.h
Examining data/faudio-20.11/src/FAPOBase.c
Examining data/faudio-20.11/src/FAPOFX.c
Examining data/faudio-20.11/src/FAPOFX_echo.c
Examining data/faudio-20.11/src/FAPOFX_eq.c
Examining data/faudio-20.11/src/FAPOFX_masteringlimiter.c
Examining data/faudio-20.11/src/FAPOFX_reverb.c
Examining data/faudio-20.11/src/FAudio.c
Examining data/faudio-20.11/src/FAudioFX_reverb.c
Examining data/faudio-20.11/src/FAudioFX_volumemeter.c
Examining data/faudio-20.11/src/FAudio_gstreamer.c
Examining data/faudio-20.11/src/FAudio_internal.c
Examining data/faudio-20.11/src/FAudio_internal.h
Examining data/faudio-20.11/src/FAudio_internal_simd.c
Examining data/faudio-20.11/src/FAudio_operationset.c
Examining data/faudio-20.11/src/FAudio_platform_sdl2.c
Examining data/faudio-20.11/src/XNA_Song.c
Examining data/faudio-20.11/src/stb_vorbis.h
Examining data/faudio-20.11/src/FACT_internal.c
Examining data/faudio-20.11/tests/FAudio_compat.h
Examining data/faudio-20.11/tests/xaudio2.c
Examining data/faudio-20.11/utils/facttool/facttool.cpp
Examining data/faudio-20.11/utils/showriffheader/showriffheader.cpp
Examining data/faudio-20.11/utils/testfilter/audio.cpp
Examining data/faudio-20.11/utils/testfilter/audio.h
Examining data/faudio-20.11/utils/testfilter/audio_faudio.cpp
Examining data/faudio-20.11/utils/testfilter/audio_player.h
Examining data/faudio-20.11/utils/testfilter/audio_xaudio.cpp
Examining data/faudio-20.11/utils/testfilter/oscillator.cpp
Examining data/faudio-20.11/utils/testfilter/oscillator.h
Examining data/faudio-20.11/utils/testfilter/testfilter.cpp
Examining data/faudio-20.11/utils/testparse/testparse.c
Examining data/faudio-20.11/utils/testreverb/audio.cpp
Examining data/faudio-20.11/utils/testreverb/audio.h
Examining data/faudio-20.11/utils/testreverb/audio_faudio.cpp
Examining data/faudio-20.11/utils/testreverb/audio_xaudio.cpp
Examining data/faudio-20.11/utils/testreverb/testreverb.cpp
Examining data/faudio-20.11/utils/testvolumemeter/audio.cpp
Examining data/faudio-20.11/utils/testvolumemeter/audio.h
Examining data/faudio-20.11/utils/testvolumemeter/audio_faudio.cpp
Examining data/faudio-20.11/utils/testvolumemeter/testvolumemeter.cpp
Examining data/faudio-20.11/utils/testxwma/testxwma.cpp
Examining data/faudio-20.11/utils/wavcommon/dr_wav.h
Examining data/faudio-20.11/utils/wavcommon/wavs.cpp
Examining data/faudio-20.11/utils/wavcommon/wavs.h

FINAL RESULTS:

data/faudio-20.11/src/FAudio_internal.h:77:25:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define FAudio_snprintf snprintf
data/faudio-20.11/src/FAudio_internal.h:78:26:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define FAudio_vsnprintf vsnprintf
data/faudio-20.11/src/FAudio_internal.h:552:25:  [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.
) __attribute__((format(printf,5,6)));
data/faudio-20.11/tests/xaudio2.c:96:103:  [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.
static void ok_(const char *file, int line, BOOL success, const char *fmt, ...) __attribute__((format(printf, 4, 5)));
data/faudio-20.11/tests/xaudio2.c:104:9:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vfprintf(stdout, fmt, va);
data/faudio-20.11/src/FAudio_internal.h:80:23:  [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.
#define FAudio_getenv getenv
data/faudio-20.11/cpp/win_device.cpp:10:8:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 wchar_t friendlyName[MAX_FRIENDLY_NAME];
data/faudio-20.11/cpp/win_registry.cpp:47: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 str_clsid[40];
data/faudio-20.11/cpp/win_registry.cpp:50:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char key[2048];
data/faudio-20.11/cpp/win_registry.cpp:61:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[2048];
data/faudio-20.11/cpp/win_registry.cpp:80:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char str_clsid[40];
data/faudio-20.11/include/FACT.h:208: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 szBankName[64];
data/faudio-20.11/include/FACT.h:220: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 friendlyName[64];
data/faudio-20.11/include/FACT.h:235: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 friendlyName[0xFF];
data/faudio-20.11/src/FAudio.c:2876: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 loc[64];
data/faudio-20.11/src/FAudio_internal.c:38:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char output[1024];
data/faudio-20.11/src/FAudio_internal.h:46:39:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define FAudio_memcpy(dst, src, size) memcpy(dst, src, size)
data/faudio-20.11/src/XNA_Song.c:40: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.
#ifdef memcpy /* Thanks, Apple! */
data/faudio-20.11/src/XNA_Song.c:41: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.
#undef memcpy
data/faudio-20.11/src/XNA_Song.c:43: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.
#define memcpy FAudio_memcpy
data/faudio-20.11/src/XNA_Song.c:72: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).
#define fopen(path, mode) FAudio_fopen(path)
data/faudio-20.11/src/stb_vorbis.h:1022: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.
   static signed char log2_4[16] = { 0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4 };
data/faudio-20.11/src/stb_vorbis.h:1361: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(data, z->stream, n);
data/faudio-20.11/src/stb_vorbis.h:2288: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(x, buffer, sizeof(*x) * n2);
data/faudio-20.11/src/stb_vorbis.h:2312: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(x, buffer, sizeof(*x) * n2);
data/faudio-20.11/src/stb_vorbis.h:2333: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(x, buffer, sizeof(*x) * n);
data/faudio-20.11/src/stb_vorbis.h:2349: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(temp, buffer, n2 * sizeof(float));
data/faudio-20.11/src/stb_vorbis.h:2991:10:  [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(w, u, sizeof(u));
data/faudio-20.11/src/stb_vorbis.h:3289: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(really_zero_channel, zero_channel, sizeof(really_zero_channel[0]) * f->channels);
data/faudio-20.11/src/stb_vorbis.h:3768:10:  [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(c->codeword_lengths, lengths, c->entries);
data/faudio-20.11/src/stb_vorbis.h:4944: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 header[6];
data/faudio-20.11/src/stb_vorbis.h:5079: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).
   f = fopen(filename, "rb");
data/faudio-20.11/src/stb_vorbis.h:5138: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.
   typedef char stb_vorbis_float_size_test[sizeof(float)==4 && sizeof(int) == 4];
data/faudio-20.11/src/stb_vorbis.h:5453:13:  [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(buffer[i]+n, f->channel_buffers[i]+f->channel_buffer_start, sizeof(float)*k);
data/faudio-20.11/utils/facttool/facttool.cpp:144:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			static char enginename[64] = "AudioEngine.xgs";
data/faudio-20.11/utils/facttool/facttool.cpp:343:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			static char soundbankname[64] = "Sound Bank.xsb";
data/faudio-20.11/utils/facttool/facttool.cpp:373:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			static char wavebankname[64] = "Wave Bank.xwb";
data/faudio-20.11/utils/facttool/facttool.cpp:492: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 nameText[255];
data/faudio-20.11/utils/facttool/facttool.cpp:503: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 playText[64];
data/faudio-20.11/utils/facttool/facttool.cpp:1048: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 playText[16];
data/faudio-20.11/utils/showriffheader/showriffheader.cpp:170:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *hFile = fopen(filename, "rb");
data/faudio-20.11/utils/testreverb/audio.cpp:5:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *audio_voice_type_names[3] = 
data/faudio-20.11/utils/testreverb/audio.h:75: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.
extern const char *audio_voice_type_names[3];
data/faudio-20.11/utils/testreverb/audio_xaudio.cpp:250: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(&context->reverb_params, params, sizeof(ReverbParameters));
data/faudio-20.11/utils/testreverb/testreverb.cpp:99: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(&reverb_params, &audio_reverb_presets[preset_index], sizeof(ReverbParameters));
data/faudio-20.11/utils/testxwma/testxwma.cpp:101:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *hFile = fopen(filename, "rb");
data/faudio-20.11/utils/wavcommon/dr_wav.h:959:44:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define DRWAV_COPY_MEMORY(dst, src, sz)    memcpy((dst), (src), (sz))
data/faudio-20.11/utils/wavcommon/dr_wav.h:1498: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.
        unsigned char sizeInBytes[4];
data/faudio-20.11/utils/wavcommon/dr_wav.h:1512: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.
        unsigned char sizeInBytes[8];
data/faudio-20.11/utils/wavcommon/dr_wav.h:1581: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 fmt[16];
data/faudio-20.11/utils/wavcommon/dr_wav.h:1632: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.
        unsigned char fmt_cbSize[2];
data/faudio-20.11/utils/wavcommon/dr_wav.h:1652:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 fmtext[22];
data/faudio-20.11/utils/wavcommon/dr_wav.h:1774: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 riff[4];
data/faudio-20.11/utils/wavcommon/dr_wav.h:1818: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.
        unsigned char chunkSizeBytes[4];
data/faudio-20.11/utils/wavcommon/dr_wav.h:1819: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.
        unsigned char wave[4];
data/faudio-20.11/utils/wavcommon/dr_wav.h:1838: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.
        unsigned char chunkSizeBytes[8];
data/faudio-20.11/utils/wavcommon/dr_wav.h:1987:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 smplHeaderData[36];    /* 36 = size of the smpl header section, not including the loop data. */
data/faudio-20.11/utils/wavcommon/dr_wav.h:2006:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 smplLoopData[24];  /* 24 = size of a loop section in the smpl chunk. */
data/faudio-20.11/utils/wavcommon/dr_wav.h:2794: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).
    *ppFile = fopen(pFilePath, pOpenMode);
data/faudio-20.11/utils/wavcommon/dr_wav.h:2799:19:  [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).
        *ppFile = fopen(pFilePath, pOpenMode);
data/faudio-20.11/utils/wavcommon/dr_wav.h:2869: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 pOpenModeMB[32] = {0};
data/faudio-20.11/utils/wavcommon/dr_wav.h:2901:19:  [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).
        *ppFile = fopen(pFilePathMB, pOpenModeMB);
data/faudio-20.11/utils/wavcommon/dr_wav.h:4083: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 sampleData[4096];
data/faudio-20.11/utils/wavcommon/dr_wav.h:4116: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 sampleData[4096];
data/faudio-20.11/utils/wavcommon/dr_wav.h:4144: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 sampleData[4096];
data/faudio-20.11/utils/wavcommon/dr_wav.h:4172: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 sampleData[4096];
data/faudio-20.11/utils/wavcommon/dr_wav.h:4409: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 sampleData[4096];
data/faudio-20.11/utils/wavcommon/dr_wav.h:4485: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 sampleData[4096];
data/faudio-20.11/utils/wavcommon/dr_wav.h:4519: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 sampleData[4096];
data/faudio-20.11/utils/wavcommon/dr_wav.h:4546: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 sampleData[4096];
data/faudio-20.11/utils/wavcommon/dr_wav.h:4809: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 sampleData[4096];
data/faudio-20.11/utils/wavcommon/dr_wav.h:4891: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 sampleData[4096];
data/faudio-20.11/utils/wavcommon/dr_wav.h:4919: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 sampleData[4096];
data/faudio-20.11/utils/wavcommon/dr_wav.h:4947: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 sampleData[4096];
data/faudio-20.11/include/FAudio.h:1286:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	FAudio_readfunc read;
data/faudio-20.11/src/FACT_internal.c:1919:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	lpOverlapped->InternalHigh = (void*) (size_t) (io->read(
data/faudio-20.11/src/FAudio.c:2941:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while((count = io_data->read(io_data->data, (void*) buffer, 1, 1024*1024)) > 0)
data/faudio-20.11/src/FAudio_internal.h:50: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).
#define FAudio_strlen(ptr) strlen(ptr)
data/faudio-20.11/src/FAudio_internal.h:861:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	FAudio_readfunc read;
data/faudio-20.11/src/FAudio_platform_sdl2.c:337:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	io->read = (FAudio_readfunc) rwops->read;
data/faudio-20.11/src/FAudio_platform_sdl2.c:351:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	io->read = (FAudio_readfunc) rwops->read;
data/faudio-20.11/src/FAudio_platform_sdl2.c:380:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	io->read = (FAudio_readfunc) rwops->read;
data/faudio-20.11/src/XNA_Song.c:74:41:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define fread(dst, size, count, io) io->read(io->data, dst, size, count)
data/faudio-20.11/tests/xaudio2.c:79:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep(millis * 1000);

ANALYSIS SUMMARY:

Hits = 84
Lines analyzed = 47496 in approximately 2.93 seconds (16210 lines/second)
Physical Source Lines of Code (SLOC) = 36334
Hits@level = [0] 108 [1]  10 [2]  68 [3]   1 [4]   5 [5]   0
Hits@level+ = [0+] 192 [1+]  84 [2+]  74 [3+]   6 [4+]   5 [5+]   0
Hits/KSLOC@level+ = [0+] 5.28431 [1+] 2.31188 [2+] 2.03666 [3+] 0.165135 [4+] 0.137612 [5+]   0
Dot directories skipped = 2 (--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.