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/normalize-audio-0.7.7/src/volume.c
Examining data/normalize-audio-0.7.7/src/mpegadjust.c
Examining data/normalize-audio-0.7.7/src/common.h
Examining data/normalize-audio-0.7.7/src/version.c
Examining data/normalize-audio-0.7.7/src/getopt.c
Examining data/normalize-audio-0.7.7/src/getopt1.c
Examining data/normalize-audio-0.7.7/src/getopt.h
Examining data/normalize-audio-0.7.7/src/wiener_af.c
Examining data/normalize-audio-0.7.7/src/wiener_af.h
Examining data/normalize-audio-0.7.7/src/riff.c
Examining data/normalize-audio-0.7.7/src/riff.h
Examining data/normalize-audio-0.7.7/src/mpegvolume.c
Examining data/normalize-audio-0.7.7/src/mktestwav.c
Examining data/normalize-audio-0.7.7/src/adjust.c
Examining data/normalize-audio-0.7.7/src/normalize.c
Examining data/normalize-audio-0.7.7/nid3lib/comment.c
Examining data/normalize-audio-0.7.7/nid3lib/frame_desc.c
Examining data/normalize-audio-0.7.7/nid3lib/genre.c
Examining data/normalize-audio-0.7.7/nid3lib/image.c
Examining data/normalize-audio-0.7.7/nid3lib/nid3.c
Examining data/normalize-audio-0.7.7/nid3lib/nid3.h
Examining data/normalize-audio-0.7.7/nid3lib/nid3P.h
Examining data/normalize-audio-0.7.7/nid3lib/rva.c
Examining data/normalize-audio-0.7.7/nid3lib/simple.c
Examining data/normalize-audio-0.7.7/nid3lib/text.c
Examining data/normalize-audio-0.7.7/nid3lib/versions.c
Examining data/normalize-audio-0.7.7/nid3lib/write.c
Examining data/normalize-audio-0.7.7/xmms-rva/rvaplugin.c

FINAL RESULTS:

data/normalize-audio-0.7.7/nid3lib/write.c:756:5:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    chmod(tmpfname, stbuf.st_mode); /* fchmod() not posix */
data/normalize-audio-0.7.7/src/adjust.c:580:3:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  chmod(tmpfile, stbuf.st_mode); /* fchmod() not posix */
data/normalize-audio-0.7.7/nid3lib/image.c:71:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(fullname, "%s.%c%c%c", fname, data[1], data[2], data[3]);
data/normalize-audio-0.7.7/nid3lib/image.c:89:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(fullname, "%s.%s", fname, mimetype);
data/normalize-audio-0.7.7/nid3lib/nid3.c:220: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(newtag->fname, fname);
data/normalize-audio-0.7.7/nid3lib/nid3.c:1266: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(f->id, id);
data/normalize-audio-0.7.7/nid3lib/rva.c:236: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((char *)f->data, ident);
data/normalize-audio-0.7.7/nid3lib/versions.c:231: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(mimetype, im_map->mimetype);
data/normalize-audio-0.7.7/nid3lib/versions.c:239: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(mimetype, imgtype);
data/normalize-audio-0.7.7/nid3lib/versions.c:249: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((char *)f->data + 1, mimetype);
data/normalize-audio-0.7.7/nid3lib/versions.c:293: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(imgtype, im_map->imgtype);
data/normalize-audio-0.7.7/nid3lib/versions.c:767: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(f->id, newid);
data/normalize-audio-0.7.7/nid3lib/write.c:725: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(tmpfname, tag->fname);
data/normalize-audio-0.7.7/nid3lib/write.c:921: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(p, sfx);
data/normalize-audio-0.7.7/src/adjust.c:566: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(tmpfile, filename);
data/normalize-audio-0.7.7/src/adjust.c:637: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(p, sfx);
data/normalize-audio-0.7.7/src/normalize.c:1028:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(buf, _(" %-17s  --%% done, ETA --:--:-- (batch  --%% done, ETA --:--:--)"),
data/normalize-audio-0.7.7/src/normalize.c:1031:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(buf, _(" %-17s  --%% done, ETA --:--:-- (batch %3.0f%% done, ETA %02d:%02d:%02d)"),
data/normalize-audio-0.7.7/src/normalize.c:1038:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, _(" %-17s %3.0f%% done, ETA %02d:%02d:%02d (batch %3.0f%% done, ETA %02d:%02d:%02d)"),
data/normalize-audio-0.7.7/src/getopt.c:212: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/normalize-audio-0.7.7/src/getopt.c:407:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  posixly_correct = getenv ("POSIXLY_CORRECT");
data/normalize-audio-0.7.7/src/getopt.c:975: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/normalize-audio-0.7.7/src/getopt.c:1006: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/normalize-audio-0.7.7/src/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 (int argc, char *const *argv, const char *shortopts);
data/normalize-audio-0.7.7/src/getopt.h:106: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/normalize-audio-0.7.7/src/getopt.h:108: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/normalize-audio-0.7.7/src/getopt.h:120: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/normalize-audio-0.7.7/src/getopt.h:121: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/normalize-audio-0.7.7/src/getopt1.c:68: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/normalize-audio-0.7.7/src/getopt1.c:125: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/normalize-audio-0.7.7/src/mktestwav.c:200:15:  [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,"hVa:b:c:f:r:s:",longopts,NULL)) != EOF) {
data/normalize-audio-0.7.7/src/normalize.c:233:15:  [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, "hVnvqbmcT:l:g:a:t:w:", longopts, NULL)) != EOF) {
data/normalize-audio-0.7.7/nid3lib/comment.c:37:12:  [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(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/nid3lib/comment.c:37:26:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memcpy(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/nid3lib/comment.c:38:27:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memmove(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/nid3lib/comment.c:241: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->data + 1, lang, 3);
data/normalize-audio-0.7.7/nid3lib/comment.c:242: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->data + 4, desc, desclen);
data/normalize-audio-0.7.7/nid3lib/comment.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(f->data + textoffset, text, textlen);
data/normalize-audio-0.7.7/nid3lib/image.c:118: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).
  out = fopen(fullname, "wb");
data/normalize-audio-0.7.7/nid3lib/nid3.c:38:12:  [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(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/nid3lib/nid3.c:38:26:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memcpy(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/nid3lib/nid3.c:39:27:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memmove(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/nid3lib/nid3.c:205:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open(fname, omode, 0666);
data/normalize-audio-0.7.7/nid3lib/nid3.c:393: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 xhdr[10];
data/normalize-audio-0.7.7/nid3lib/nid3.c:443: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 xhdr[6];
data/normalize-audio-0.7.7/nid3lib/nid3.c:483: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[128];
data/normalize-audio-0.7.7/nid3lib/nid3.c:562: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 buf[10];
data/normalize-audio-0.7.7/nid3lib/nid3.c:697: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 buf[10];
data/normalize-audio-0.7.7/nid3lib/nid3.c:722: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(newframe->id, buf, 4);
data/normalize-audio-0.7.7/nid3lib/nid3.c:808: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 buf[10];
data/normalize-audio-0.7.7/nid3lib/nid3.c:857: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(newframe->id, buf, 4);
data/normalize-audio-0.7.7/nid3lib/nid3.c:919: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 buf[6];
data/normalize-audio-0.7.7/nid3lib/nid3.c:963: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(newframe->id, buf, 3);
data/normalize-audio-0.7.7/nid3lib/nid3.c:1322: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->data, buf, size);
data/normalize-audio-0.7.7/nid3lib/nid3.h:91: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 peak[1];
data/normalize-audio-0.7.7/nid3lib/nid3P.h:36: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 title[31];
data/normalize-audio-0.7.7/nid3lib/nid3P.h:37: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 artist[31];
data/normalize-audio-0.7.7/nid3lib/nid3P.h:38: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 album[31];
data/normalize-audio-0.7.7/nid3lib/nid3P.h:39: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 year[5];
data/normalize-audio-0.7.7/nid3lib/nid3P.h:40: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 comment[31];
data/normalize-audio-0.7.7/nid3lib/nid3P.h:42: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 trackstr[4]; /* track number, as a string */
data/normalize-audio-0.7.7/nid3lib/nid3P.h:44: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 genrestr[4]; /* genre number, as a string */
data/normalize-audio-0.7.7/nid3lib/nid3P.h:82: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 id[5]; /* NUL terminated string */
data/normalize-audio-0.7.7/nid3lib/rva.c:38:12:  [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(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/nid3lib/rva.c:38:26:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memcpy(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/nid3lib/rva.c:39:27:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memmove(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/nid3lib/simple.c:115: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(tag->v1.genrestr, "%d", (int)tag->v1.genre);
data/normalize-audio-0.7.7/nid3lib/simple.c:131: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).
      tag->v1.genre = atoi(s) & 0xFF;
data/normalize-audio-0.7.7/nid3lib/simple.c:138: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).
	tag->v1.genre = atoi(s + 1) & 0xFF;
data/normalize-audio-0.7.7/nid3lib/simple.c:174: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(tag->v1.trackstr, "%d", (int)tag->v1.track);
data/normalize-audio-0.7.7/nid3lib/simple.c:185: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).
  tag->v1.track = atoi(s) & 0xFF;
data/normalize-audio-0.7.7/nid3lib/text.c:37:12:  [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(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/nid3lib/text.c:37:26:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memcpy(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/nid3lib/text.c:38:27:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memmove(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/nid3lib/text.c:146: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(fr->data + 1, text, len);
data/normalize-audio-0.7.7/nid3lib/versions.c:212: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 imgtype[4];
data/normalize-audio-0.7.7/nid3lib/versions.c:213: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 mimetype[32]; /* large enough for "image/" + largest string in map */
data/normalize-audio-0.7.7/nid3lib/versions.c:221: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(imgtype, data + 1, 3);
data/normalize-audio-0.7.7/nid3lib/versions.c:227: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(mimetype, "image/");
data/normalize-audio-0.7.7/nid3lib/versions.c:250: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->data + 1 + i + 1, data + 4, f->sz - 4);
data/normalize-audio-0.7.7/nid3lib/versions.c:261: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 imgtype[4], *mimetype = NULL;
data/normalize-audio-0.7.7/nid3lib/versions.c:311: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->data + 1, imgtype, 3);
data/normalize-audio-0.7.7/nid3lib/versions.c:334: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 buf[32];
data/normalize-audio-0.7.7/nid3lib/versions.c:406: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((char *)f->data + 1, "????" "-%c%c-%c%c",
data/normalize-audio-0.7.7/nid3lib/versions.c:421: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((char *)f->data + 1, "????" "-??" "-??T%c%c:%c%c",
data/normalize-audio-0.7.7/nid3lib/versions.c:456: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((char *)tdrc_f->data + 5, "-%c%c-%c%c",
data/normalize-audio-0.7.7/nid3lib/versions.c:479: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((char *)tdrc_f->data + 11, "T%c%c:%c%c",
data/normalize-audio-0.7.7/nid3lib/versions.c:502: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(tdrc_f->data + 1, f->data + 1, 4);
data/normalize-audio-0.7.7/nid3lib/versions.c:569:12:  [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.
	  dest += sprintf(dest, "(%d)", (int)gnum);
data/normalize-audio-0.7.7/nid3lib/write.c:39:12:  [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(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/nid3lib/write.c:39:26:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memcpy(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/nid3lib/write.c:40:27:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memmove(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/nid3lib/write.c:228: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(hdr, "ID3", 3);
data/normalize-audio-0.7.7/nid3lib/write.c:246: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 buf[10];
data/normalize-audio-0.7.7/nid3lib/write.c:260: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 buf[10];
data/normalize-audio-0.7.7/nid3lib/write.c:265: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(buf, "3DI", 3);
data/normalize-audio-0.7.7/nid3lib/write.c:279: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 hdr[10];
data/normalize-audio-0.7.7/nid3lib/write.c:288: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(hdr, f->id, 4);
data/normalize-audio-0.7.7/nid3lib/write.c:356: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 hdr[10];
data/normalize-audio-0.7.7/nid3lib/write.c:358: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(hdr, "ID3", 3);
data/normalize-audio-0.7.7/nid3lib/write.c:381: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 hdr[10];
data/normalize-audio-0.7.7/nid3lib/write.c:387: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(hdr, f->id, 4);
data/normalize-audio-0.7.7/nid3lib/write.c:433: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(buf, "TAG");
data/normalize-audio-0.7.7/nid3lib/write.c:574: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 copybuf[4096];
data/normalize-audio-0.7.7/nid3lib/write.c:575: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 v1buf[128];
data/normalize-audio-0.7.7/nid3lib/write.c:644:11:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    out = tmpfile();
data/normalize-audio-0.7.7/nid3lib/write.c:730:7:  [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(p, "_id3XXXXXX");
data/normalize-audio-0.7.7/nid3lib/write.c:737:7:  [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(tmpfname, "_id3XXXXXX");
data/normalize-audio-0.7.7/nid3lib/write.c:739:7:  [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(tmpfname, "/tmp/_id3XXXXXX");
data/normalize-audio-0.7.7/nid3lib/write.c:882: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).
    tag->fp = fopen(tag->fname, "rb+");
data/normalize-audio-0.7.7/nid3lib/write.c:910: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.
  static char sfx[7] = "AAAAAA";
data/normalize-audio-0.7.7/nid3lib/write.c:940: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(template, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0600);
data/normalize-audio-0.7.7/nid3lib/write.c:956: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[4096];
data/normalize-audio-0.7.7/nid3lib/write.c:973:12:  [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).
      in = fopen(oldpath, "rb");
data/normalize-audio-0.7.7/nid3lib/write.c:976:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      out = fopen(newpath, "wb");
data/normalize-audio-0.7.7/src/adjust.c:38:12:  [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(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/src/adjust.c:38:26:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memcpy(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/src/adjust.c:39:27:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memmove(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/src/adjust.c:216: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 prefix_buf[18];
data/normalize-audio-0.7.7/src/adjust.c:345:22:  [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 *tblout = fopen("lut.dat", "w");
data/normalize-audio-0.7.7/src/adjust.c:527:9:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  char *tmpfile, *p;
data/normalize-audio-0.7.7/src/adjust.c:554: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).
  read_fd = open(filename, O_RDONLY | O_BINARY);
data/normalize-audio-0.7.7/src/adjust.c:566:10:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  strcpy(tmpfile, filename);
data/normalize-audio-0.7.7/src/adjust.c:567:16:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  p = basename(tmpfile);
data/normalize-audio-0.7.7/src/adjust.c:568: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(p, "_normXXXXXX");
data/normalize-audio-0.7.7/src/adjust.c:569:23:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  write_fd = xmkstemp(tmpfile);
data/normalize-audio-0.7.7/src/adjust.c:574:10:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    free(tmpfile);
data/normalize-audio-0.7.7/src/adjust.c:580:9:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  chmod(tmpfile, stbuf.st_mode); /* fchmod() not posix */
data/normalize-audio-0.7.7/src/adjust.c:583: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).
  write_fd = open(filename, O_WRONLY | O_BINARY);
data/normalize-audio-0.7.7/src/adjust.c:598:10:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    free(tmpfile);
data/normalize-audio-0.7.7/src/adjust.c:605:15:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  if (xrename(tmpfile, filename) == -1) {
data/normalize-audio-0.7.7/src/adjust.c:607:6:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
	    tmpfile, filename, strerror(errno));
data/normalize-audio-0.7.7/src/adjust.c:608:10:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    free(tmpfile);
data/normalize-audio-0.7.7/src/adjust.c:611:8:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  free(tmpfile);
data/normalize-audio-0.7.7/src/adjust.c:626: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.
  static char sfx[7] = "AAAAAA";
data/normalize-audio-0.7.7/src/adjust.c:656: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(template, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0600);
data/normalize-audio-0.7.7/src/adjust.c:672: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[4096];
data/normalize-audio-0.7.7/src/adjust.c:689:12:  [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).
      in = fopen(oldpath, "rb");
data/normalize-audio-0.7.7/src/adjust.c:692:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      out = fopen(newpath, "wb");
data/normalize-audio-0.7.7/src/getopt.c:335: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 (new_str, __getopt_nonoption_flags, nonoption_flags_max_len);
data/normalize-audio-0.7.7/src/getopt.c:447: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 (__getopt_nonoption_flags, orig_str, len);
data/normalize-audio-0.7.7/src/mktestwav.c:120: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 pdata[8];
data/normalize-audio-0.7.7/src/mpegadjust.c:38:12:  [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(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/src/mpegadjust.c:38:26:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memcpy(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/src/mpegadjust.c:39:27:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memmove(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/src/mpegadjust.c:80: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 prefix_buf[18];
data/normalize-audio-0.7.7/src/mpegvolume.c:40:12:  [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(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/src/mpegvolume.c:40:26:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memcpy(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/src/mpegvolume.c:41:27:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memmove(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/src/mpegvolume.c:85: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 buffer[MPEG_BUFSZ + MAD_BUFFER_GUARD];
data/normalize-audio-0.7.7/src/mpegvolume.c:100: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 prefix_buf[18];
data/normalize-audio-0.7.7/src/mpegvolume.c:167:11:  [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).
  ds.in = fopen(filename, "rb");
data/normalize-audio-0.7.7/src/normalize.c:39:12:  [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(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/src/normalize.c:39:26:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memcpy(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/src/normalize.c:40:27:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memmove(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/src/normalize.c:184: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 cbuf[32];
data/normalize-audio-0.7.7/src/normalize.c:502: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(cbuf, "%0.4fdBFS", AMPTODBFS(level));
data/normalize-audio-0.7.7/src/normalize.c:626: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(cbuf, "%fdB", FRACTODB(gain));
data/normalize-audio-0.7.7/src/normalize.c:643: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(cbuf, "%0.6f", sis[i].level);
data/normalize-audio-0.7.7/src/normalize.c:645: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(cbuf, "%0.6f", sis[i].peak);
data/normalize-audio-0.7.7/src/normalize.c:647: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(cbuf, "%0.6f", target / sis[i].level);
data/normalize-audio-0.7.7/src/normalize.c:650: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(cbuf, "%0.4fdBFS", AMPTODBFS(sis[i].level));
data/normalize-audio-0.7.7/src/normalize.c:652: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(cbuf, "%0.4fdBFS", AMPTODBFS(sis[i].peak));
data/normalize-audio-0.7.7/src/normalize.c:654: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(cbuf, "%0.4fdB", AMPTODBFS(target / sis[i].level));
data/normalize-audio-0.7.7/src/normalize.c:662: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(cbuf, "%0.4fdBFS", AMPTODBFS(level));
data/normalize-audio-0.7.7/src/normalize.c:720: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 cbuf[32];
data/normalize-audio-0.7.7/src/normalize.c:807: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(cbuf, "%0.6f", sis[i].level);
data/normalize-audio-0.7.7/src/normalize.c:809: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(cbuf, "%0.6f", sis[i].peak);
data/normalize-audio-0.7.7/src/normalize.c:812: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(cbuf, "%0.4fdBFS", AMPTODBFS(sis[i].level));
data/normalize-audio-0.7.7/src/normalize.c:814: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(cbuf, "%0.4fdBFS", AMPTODBFS(sis[i].peak));
data/normalize-audio-0.7.7/src/normalize.c:819: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(cbuf, "%0.6f", target / sis[i].level);
data/normalize-audio-0.7.7/src/normalize.c:821: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(cbuf, "%0.4fdB", AMPTODBFS(target / sis[i].level));
data/normalize-audio-0.7.7/src/normalize.c:965: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[128];
data/normalize-audio-0.7.7/src/riff.c:194:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open(fname, open_mode, 0666);
data/normalize-audio-0.7.7/src/riff.c:431: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 id_s[5], typ_s[5];
data/normalize-audio-0.7.7/src/volume.c:38:12:  [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(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/src/volume.c:38:26:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memcpy(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/src/volume.c:39:27:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memmove(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/src/volume.c:163: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 prefix_buf[18];
data/normalize-audio-0.7.7/src/volume.c:394: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 prefix_buf[18];
data/normalize-audio-0.7.7/src/wiener_af.c:43:12:  [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(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/src/wiener_af.c:43:26:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memcpy(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/src/wiener_af.c:44:27:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#   define memmove(d,s,n) bcopy((s),(d),(n))
data/normalize-audio-0.7.7/src/wiener_af.c:129:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open(filename, flags, 0666);
data/normalize-audio-0.7.7/src/wiener_af.c:196: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(&fmt_le, fmt, sizeof(struct wavfmt));
data/normalize-audio-0.7.7/xmms-rva/rvaplugin.c:195:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *tblout = fopen("lut.dat", "w");
data/normalize-audio-0.7.7/xmms-rva/rvaplugin.c:371: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(curradj, _("No adjustment found in current file."));
data/normalize-audio-0.7.7/nid3lib/comment.c:246:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tag->v1.comment, text, 30);
data/normalize-audio-0.7.7/nid3lib/image.c:68: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).
    fullname = (char *)malloc(strlen(fname) + 4 + 1);
data/normalize-audio-0.7.7/nid3lib/image.c:86: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).
    fullname = (char *)malloc(strlen(fname) + strlen(mimetype) + 2);
data/normalize-audio-0.7.7/nid3lib/image.c:86: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).
    fullname = (char *)malloc(strlen(fname) + strlen(mimetype) + 2);
data/normalize-audio-0.7.7/nid3lib/image.c:90: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).
    data = data + strlen(mimetype) + 6 + 3;
data/normalize-audio-0.7.7/nid3lib/nid3.c:217: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).
  newtag->fname = (char *)malloc(strlen(fname) + 1);
data/normalize-audio-0.7.7/nid3lib/nid3.c:270:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    c = getc(stream);
data/normalize-audio-0.7.7/nid3lib/nid3.c:275:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc(stream);
data/normalize-audio-0.7.7/nid3lib/nid3.c:318:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc(stream);
data/normalize-audio-0.7.7/nid3lib/nid3.c:324:6:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	c = getc(stream);
data/normalize-audio-0.7.7/nid3lib/nid3.c:342:5:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    getc(stream);
data/normalize-audio-0.7.7/nid3lib/nid3.c:347:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc(stream);
data/normalize-audio-0.7.7/nid3lib/nid3.c:354:6:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	c = getc(stream);
data/normalize-audio-0.7.7/nid3lib/nid3.c:363:4:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  getc(stream); /* seek ahead 1 byte */
data/normalize-audio-0.7.7/nid3lib/nid3.c:430:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  if (getc(tag->fp) == EOF)
data/normalize-audio-0.7.7/nid3lib/nid3.c:471:6:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (getc(tag->fp) == EOF)
data/normalize-audio-0.7.7/nid3lib/nid3.c:489:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tag->v1.title, buf + 3, 30);
data/normalize-audio-0.7.7/nid3lib/nid3.c:490:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tag->v1.artist, buf + 33, 30);
data/normalize-audio-0.7.7/nid3lib/nid3.c:491:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tag->v1.album, buf + 63, 30);
data/normalize-audio-0.7.7/nid3lib/nid3.c:492:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tag->v1.year, buf + 93, 4);
data/normalize-audio-0.7.7/nid3lib/nid3.c:493:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tag->v1.comment, buf + 97, 30);
data/normalize-audio-0.7.7/nid3lib/nid3.c:1264:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(id) > 4)
data/normalize-audio-0.7.7/nid3lib/nid3.c:1340:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(fr->id, id, 4);
data/normalize-audio-0.7.7/nid3lib/rva.c:214: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).
  idlen = strlen(ident);
data/normalize-audio-0.7.7/nid3lib/rva.c:235:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(f->id, id, 4);
data/normalize-audio-0.7.7/nid3lib/simple.c:70:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tag->v1.title, s, 30);
data/normalize-audio-0.7.7/nid3lib/simple.c:88:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tag->v1.artist, s, 30);
data/normalize-audio-0.7.7/nid3lib/simple.c:106:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tag->v1.album, s, 30);
data/normalize-audio-0.7.7/nid3lib/simple.c:164:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tag->v1.year, s, 4);
data/normalize-audio-0.7.7/nid3lib/versions.c:241: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).
  i = strlen(mimetype);
data/normalize-audio-0.7.7/nid3lib/versions.c:280: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).
    len = strlen(mimetype);
data/normalize-audio-0.7.7/nid3lib/versions.c:302:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(imgtype, mimetype, 3);
data/normalize-audio-0.7.7/nid3lib/versions.c:341: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).
  len = strlen((char *)old_data + 1);
data/normalize-audio-0.7.7/nid3lib/versions.c:398:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strlen((char *)old_data + 1) != 4) {
data/normalize-audio-0.7.7/nid3lib/versions.c:413:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strlen((char *)old_data + 1) != 4) {
data/normalize-audio-0.7.7/nid3lib/versions.c:439:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strlen((char *)f->data + 1) != 4) {
data/normalize-audio-0.7.7/nid3lib/versions.c:462:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strlen((char *)f->data + 1) != 4) {
data/normalize-audio-0.7.7/nid3lib/versions.c:485:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strlen((char *)f->data + 1) != 4) {
data/normalize-audio-0.7.7/nid3lib/write.c:434:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(buf + 3, tag->v1.title, 30);
data/normalize-audio-0.7.7/nid3lib/write.c:435:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(buf + 33, tag->v1.artist, 30);
data/normalize-audio-0.7.7/nid3lib/write.c:436:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(buf + 63, tag->v1.album, 30);
data/normalize-audio-0.7.7/nid3lib/write.c:437:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(buf + 93, tag->v1.year, 4);
data/normalize-audio-0.7.7/nid3lib/write.c:438:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(buf + 97, tag->v1.comment, 30);
data/normalize-audio-0.7.7/nid3lib/write.c:722: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).
      tmpfname = (char *)malloc(strlen(tag->fname) + 16);
data/normalize-audio-0.7.7/nid3lib/write.c:914: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).
  p = template + strlen(template) - 6;
data/normalize-audio-0.7.7/src/adjust.c:356:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(prefix_buf, basename(filename), 17);
data/normalize-audio-0.7.7/src/adjust.c:531: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).
  i = strlen(filename);
data/normalize-audio-0.7.7/src/adjust.c:565: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).
  tmpfile = (char *)xmalloc(strlen(filename) + 16);
data/normalize-audio-0.7.7/src/adjust.c:630: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).
  p = template + strlen(template) - 6;
data/normalize-audio-0.7.7/src/getopt.c:236: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/normalize-audio-0.7.7/src/getopt.c:438: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).
	      int len = nonoption_flags_max_len = strlen (orig_str);
data/normalize-audio-0.7.7/src/getopt.c:662: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).
		== (unsigned int) strlen (p->name))
data/normalize-audio-0.7.7/src/getopt.c:686: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/normalize-audio-0.7.7/src/getopt.c:718: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/normalize-audio-0.7.7/src/getopt.c:734: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/normalize-audio-0.7.7/src/getopt.c:739: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/normalize-audio-0.7.7/src/getopt.c:850:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      if ((unsigned int) (nameend - nextchar) == strlen (p->name))
data/normalize-audio-0.7.7/src/getopt.c:873: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).
	    nextchar += strlen (nextchar);
data/normalize-audio-0.7.7/src/getopt.c:893: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).
		    nextchar += strlen (nextchar);
data/normalize-audio-0.7.7/src/getopt.c:907: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).
		    nextchar += strlen (nextchar);
data/normalize-audio-0.7.7/src/getopt.c:911: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).
	    nextchar += strlen (nextchar);
data/normalize-audio-0.7.7/src/mpegadjust.c:84:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(prefix_buf, basename(fname), 17);
data/normalize-audio-0.7.7/src/mpegvolume.c:185:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(ds.prefix_buf, basename(filename), 17);
data/normalize-audio-0.7.7/src/normalize.c:223:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(progname) > 16)
data/normalize-audio-0.7.7/src/volume.c:167: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).
  i = strlen(filename);
data/normalize-audio-0.7.7/src/volume.c:233:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(prefix_buf, basename(filename), 17);
data/normalize-audio-0.7.7/src/volume.c:431:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(prefix_buf, basename(filename), 17);

ANALYSIS SUMMARY:

Hits = 254
Lines analyzed = 11725 in approximately 0.40 seconds (29404 lines/second)
Physical Source Lines of Code (SLOC) = 8233
Hits@level = [0] 224 [1]  67 [2] 155 [3]  13 [4]  17 [5]   2
Hits@level+ = [0+] 478 [1+] 254 [2+] 187 [3+]  32 [4+]  19 [5+]   2
Hits/KSLOC@level+ = [0+] 58.059 [1+] 30.8515 [2+] 22.7135 [3+] 3.8868 [4+] 2.30779 [5+] 0.242925
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.