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/libcdaudio-0.99.12p2/src/cdaudio.h
Examining data/libcdaudio-0.99.12p2/src/cddb.h
Examining data/libcdaudio-0.99.12p2/src/compat.h
Examining data/libcdaudio-0.99.12p2/src/cdindex.c
Examining data/libcdaudio-0.99.12p2/src/coverart.c
Examining data/libcdaudio-0.99.12p2/src/data.c
Examining data/libcdaudio-0.99.12p2/src/base64.c
Examining data/libcdaudio-0.99.12p2/src/extra_objs.c
Examining data/libcdaudio-0.99.12p2/src/cdaudio-irix.c
Examining data/libcdaudio-0.99.12p2/src/cdaudio-beos.c
Examining data/libcdaudio-0.99.12p2/src/cddb.c
Examining data/libcdaudio-0.99.12p2/src/cdaudio.c
Examining data/libcdaudio-0.99.12p2/src/changer.c

FINAL RESULTS:

data/libcdaudio-0.99.12p2/src/cdaudio.c:139:11:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
    len = readlink(device_name, devname, 255);
data/libcdaudio-0.99.12p2/src/cddb.c:2300:8:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if(system(outbuffer) != 0)
data/libcdaudio-0.99.12p2/src/extra_objs.c:33:1:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
snprintf(char *dest, int size, const char *format, ...)
data/libcdaudio-0.99.12p2/src/extra_objs.c:39:12:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  result = vsprintf(dest, format, ap);
data/libcdaudio-0.99.12p2/src/cddb.c:478:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if(getenv("HOME") == NULL) {
data/libcdaudio-0.99.12p2/src/cddb.c:491:45:  [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.
  snprintf(inbuffer, 108, "%s/.cdserverrc", getenv("HOME"));
data/libcdaudio-0.99.12p2/src/cddb.c:539:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if(getenv("HOME") == NULL) {
data/libcdaudio-0.99.12p2/src/cddb.c:548:50:  [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.
  snprintf(localconfpath, 108, "%s/.cdserverrc", getenv("HOME"));
data/libcdaudio-0.99.12p2/src/cddb.c:1590:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if(getenv("HOME") == NULL) {
data/libcdaudio-0.99.12p2/src/cddb.c:1618:39:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  snprintf(root_dir, 256, "%s/.cddb", getenv("HOME"));
data/libcdaudio-0.99.12p2/src/cddb.c:1720:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if(getenv("HOME") == NULL) {
data/libcdaudio-0.99.12p2/src/cddb.c:1753:39:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  snprintf(root_dir, 256, "%s/.cddb", getenv("HOME"));
data/libcdaudio-0.99.12p2/src/cddb.c:1992:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if(getenv("HOME") == NULL) {
data/libcdaudio-0.99.12p2/src/cddb.c:1998:39:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  snprintf(root_dir, 256, "%s/.cddb", getenv("HOME"));
data/libcdaudio-0.99.12p2/src/cddb.c:2045:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if(getenv("HOME") == NULL) {
data/libcdaudio-0.99.12p2/src/cddb.c:2059:39:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  snprintf(root_dir, 256, "%s/.cddb", getenv("HOME"));
data/libcdaudio-0.99.12p2/src/cddb.c:2235:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if((home = getenv("HOME")) == NULL) {
data/libcdaudio-0.99.12p2/src/cddb.c:2337:5:  [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.
	   getenv("HOME"), cddb_genre(data.data_genre),
data/libcdaudio-0.99.12p2/src/cdindex.c:505: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.
   if(getenv("HOME") == NULL) {
data/libcdaudio-0.99.12p2/src/cdindex.c:510:43:  [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.
   snprintf(root_dir, 256, "%s/.cdindex", getenv("HOME"));
data/libcdaudio-0.99.12p2/src/cdindex.c:607: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.
   if(getenv("HOME") == NULL) {
data/libcdaudio-0.99.12p2/src/cdindex.c:621:43:  [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.
   snprintf(root_dir, 256, "%s/.cdindex", getenv("HOME"));
data/libcdaudio-0.99.12p2/src/cdindex.c:782: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.
   if(getenv("HOME") == NULL) {
data/libcdaudio-0.99.12p2/src/cdindex.c:796:43:  [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.
   snprintf(root_dir, 256, "%s/.cdindex", getenv("HOME"));
data/libcdaudio-0.99.12p2/src/cdindex.c:838: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.
   if(getenv("HOME") == NULL) {
data/libcdaudio-0.99.12p2/src/cdindex.c:878:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	    getenv("HOME"), entry.entry_cdindex_id);
data/libcdaudio-0.99.12p2/src/coverart.c:286:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if(getenv("HOME") == NULL) {
data/libcdaudio-0.99.12p2/src/coverart.c:291:43:  [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.
  snprintf(root_dir, 256, "%s/.coverart", getenv("HOME"));
data/libcdaudio-0.99.12p2/src/coverart.c:355:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if(getenv("HOME") == NULL) {
data/libcdaudio-0.99.12p2/src/coverart.c:371:43:  [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.
  snprintf(root_dir, 256, "%s/.coverart", getenv("HOME"));
data/libcdaudio-0.99.12p2/src/coverart.c:399:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if(getenv("HOME") == NULL) {
data/libcdaudio-0.99.12p2/src/coverart.c:411:5:  [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.
	   getenv("HOME"), cdindex_id,
data/libcdaudio-0.99.12p2/src/cdaudio-beos.c:55:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((cd_desc = open (device_name, O_RDONLY | O_NONBLOCK)) < 0)
data/libcdaudio-0.99.12p2/src/cdaudio-beos.c:57:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((cd_desc = open (device_name, O_RDONLY)) < 0)
data/libcdaudio-0.99.12p2/src/cdaudio-irix.c:255: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(disc, cddevs[cd_desc].disc, sizeof(struct disc_info));
data/libcdaudio-0.99.12p2/src/cdaudio.c:130: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 devname[255];
data/libcdaudio-0.99.12p2/src/cdaudio.c:146: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).
  if((mounts = fopen(MNTTAB, "r")) == NULL)
data/libcdaudio-0.99.12p2/src/cdaudio.c:183:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if((cd_desc = open(device_name, O_RDONLY | O_NONBLOCK)) < 0)
data/libcdaudio-0.99.12p2/src/cdaudio.c:185:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if((cd_desc = open(device_name, O_RDONLY)) < 0)
data/libcdaudio-0.99.12p2/src/cdaudio.c:747: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(&disc->disc_time, &status.status_disc_time,
data/libcdaudio-0.99.12p2/src/cdaudio.c:749: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(&disc->disc_track_time, &status.status_track_time,
data/libcdaudio-0.99.12p2/src/cdaudio.h:150:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char cddb_message[256];
data/libcdaudio-0.99.12p2/src/cdaudio.h:164: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 entry_cdindex_id[CDINDEX_ID_SIZE];      /* CD Index ID of entry */
data/libcdaudio-0.99.12p2/src/cdaudio.h:178: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 server_name[256];                        /* Server name */
data/libcdaudio-0.99.12p2/src/cdaudio.h:185: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 host_addressing[256];
data/libcdaudio-0.99.12p2/src/cdaudio.h:191: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 hello_program[256];                      /* Program name*/
data/libcdaudio-0.99.12p2/src/cdaudio.h:192: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 hello_version[256];                      /* Version */
data/libcdaudio-0.99.12p2/src/cdaudio.h:199:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char list_title[64];                         /* Title of entry */
data/libcdaudio-0.99.12p2/src/cdaudio.h:200: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 list_artist[64];                        /* Entry's artist */
data/libcdaudio-0.99.12p2/src/cdaudio.h:283: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 list_album[64];
data/libcdaudio-0.99.12p2/src/cdaudio.h:284: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 list_artist[64];
data/libcdaudio-0.99.12p2/src/cdaudio.h:300: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 art_mime_type[16];                       /* MIME type of image */
data/libcdaudio-0.99.12p2/src/cdaudio.h:301: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 art_image[DISC_ART_SIZE];                /* Stored image */
data/libcdaudio-0.99.12p2/src/cdaudio.h:308: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 art_mime_type[16];
data/libcdaudio-0.99.12p2/src/cdaudio.h:314: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 track_name[256];                         /* Track name */
data/libcdaudio-0.99.12p2/src/cdaudio.h:315: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 track_artist[256];                       /* Track specific
data/libcdaudio-0.99.12p2/src/cdaudio.h:317:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char track_extended[EXTENDED_DATA_SIZE];      /* Extended
data/libcdaudio-0.99.12p2/src/cdaudio.h:324: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 data_cdindex_id[CDINDEX_ID_SIZE];        /* CD Index ID */
data/libcdaudio-0.99.12p2/src/cdaudio.h:328: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 data_title[256];                         /* Disc title */
data/libcdaudio-0.99.12p2/src/cdaudio.h:329: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 data_artist[256];                        /* Album artist */
data/libcdaudio-0.99.12p2/src/cdaudio.h:330: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 data_extended[EXTENDED_DATA_SIZE];       /* Extended
data/libcdaudio-0.99.12p2/src/cdaudio.h:351: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 data_cdindex_id[CDINDEX_ID_SIZE];
data/libcdaudio-0.99.12p2/src/cdaudio.h:371: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 data_cdindex_id[CDINDEX_ID_SIZE];        /* CDI ID */
data/libcdaudio-0.99.12p2/src/cdaudio.h:372: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 disc_info[128];                          /* Artist name / Disc
data/libcdaudio-0.99.12p2/src/cdaudio.h:389: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 data_cdindex_id[CDINDEX_ID_SIZE];
data/libcdaudio-0.99.12p2/src/cddb.c:75:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char cddb_message[256];
data/libcdaudio-0.99.12p2/src/cddb.c:87: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 *bufptr, buf[16];
data/libcdaudio-0.99.12p2/src/cddb.c:441: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(proxy, &proxy_host.host_server,
data/libcdaudio-0.99.12p2/src/cddb.c:497:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if((cddbconf = fopen(inbuffer, "r")) == NULL) {
data/libcdaudio-0.99.12p2/src/cddb.c:549:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if((cddbconf = fopen(localconfpath, "w")) == NULL) {
data/libcdaudio-0.99.12p2/src/cddb.c:684: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(&sin.sin_addr, host->h_addr, host->h_length);
data/libcdaudio-0.99.12p2/src/cddb.c:886: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 (cddb_message, "cannot cd_stat CDROM device");
data/libcdaudio-0.99.12p2/src/cddb.c:943: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 (cddb_message, "cannot send to socket");
data/libcdaudio-0.99.12p2/src/cddb.c:963: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 (cddb_message, "cannot read CDDB line");
data/libcdaudio-0.99.12p2/src/cddb.c:982: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 (cddb_message, "cannot parse");
data/libcdaudio-0.99.12p2/src/cddb.c:1010:9:  [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 (cddb_message, "cannot parse");
data/libcdaudio-0.99.12p2/src/cddb.c:1019:9:  [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 (cddb_message, "cannot parse");
data/libcdaudio-0.99.12p2/src/cddb.c:1030:9:  [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 (cddb_message, "cannot parse");
data/libcdaudio-0.99.12p2/src/cddb.c:1072:11:  [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 (cddb_message, "cannot parse");
data/libcdaudio-0.99.12p2/src/cddb.c:1084:11:  [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 (cddb_message, "cannot parse");
data/libcdaudio-0.99.12p2/src/cddb.c:1313: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(buffer, "sites\n");
data/libcdaudio-0.99.12p2/src/cddb.c:1347: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 outbuffer[8];
data/libcdaudio-0.99.12p2/src/cddb.c:1349: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(outbuffer, "quit\n");
data/libcdaudio-0.99.12p2/src/cddb.c:1677: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).
      cddb_data = fopen(file, "r");
data/libcdaudio-0.99.12p2/src/cddb.c:1808: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).
  if((cddb_data = fopen(file, "w")) == NULL) {
data/libcdaudio-0.99.12p2/src/cddb.c:1989: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 root_dir[256], genre_dir[256], file[256];
data/libcdaudio-0.99.12p2/src/cddb.c:2043: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 root_dir[256], file[256];
data/libcdaudio-0.99.12p2/src/cddb.c:2098: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 http_string[512];
data/libcdaudio-0.99.12p2/src/cddb.c:2120: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 http_string[512];
data/libcdaudio-0.99.12p2/src/cddb.c:2142: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 http_string[512];
data/libcdaudio-0.99.12p2/src/cddb.c:2166: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 http_string[512];
data/libcdaudio-0.99.12p2/src/cddb.c:2186: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 http_string[512];
data/libcdaudio-0.99.12p2/src/cddb.c:2207: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 http_string[512];
data/libcdaudio-0.99.12p2/src/cddb.c:2229: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 inbuffer[512], outbuffer[512], cddb_file[512], *home;
data/libcdaudio-0.99.12p2/src/cddb.c:2345: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).
  cddb_entry = fopen(cddb_file, "r");
data/libcdaudio-0.99.12p2/src/cddb.h:33: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 track_name[MAX_EXTEMPORANEOUS_LINES][80];
data/libcdaudio-0.99.12p2/src/cddb.h:35: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 track_extended[MAX_EXTENDED_LINES][80];
data/libcdaudio-0.99.12p2/src/cddb.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 data_cdindex_id[CDINDEX_ID_SIZE];
data/libcdaudio-0.99.12p2/src/cddb.h:43: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 data_title[MAX_EXTEMPORANEOUS_LINES][80];
data/libcdaudio-0.99.12p2/src/cddb.h:45: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 data_extended[MAX_EXTENDED_LINES][80];
data/libcdaudio-0.99.12p2/src/cdindex.c:90:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char data[SHA_BLOCKSIZE];
data/libcdaudio-0.99.12p2/src/cdindex.c:205: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(((unsigned char *) sha->data) + sha->local, buffer, i);
data/libcdaudio-0.99.12p2/src/cdindex.c:215: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(sha->data, buffer, SHA_BLOCKSIZE);
data/libcdaudio-0.99.12p2/src/cdindex.c:221: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(sha->data, buffer, count);
data/libcdaudio-0.99.12p2/src/cdindex.c:226:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
sha_final(unsigned char digest[20], struct sha_data *sha)
data/libcdaudio-0.99.12p2/src/cdindex.c:280: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 digest[20], temp[9];
data/libcdaudio-0.99.12p2/src/cdindex.c:440: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 outbuffer[512];
data/libcdaudio-0.99.12p2/src/cdindex.c:441: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 inbuffer[256];
data/libcdaudio-0.99.12p2/src/cdindex.c:442: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 string[512];
data/libcdaudio-0.99.12p2/src/cdindex.c:501: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 root_dir[256], file[256], inbuffer[512], procbuffer[512];
data/libcdaudio-0.99.12p2/src/cdindex.c:550:18:  [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).
   cdindex_xml = fopen(file, "r");
data/libcdaudio-0.99.12p2/src/cdindex.c:603: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 root_dir[256], file[256];
data/libcdaudio-0.99.12p2/src/cdindex.c:636: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).
   if((cdindex_xml = fopen(file, "w")) == NULL)
data/libcdaudio-0.99.12p2/src/cdindex.c:780: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 root_dir[256], file[256];
data/libcdaudio-0.99.12p2/src/cdindex.c:833: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 outbuffer[512], cdindex_file[256];
data/libcdaudio-0.99.12p2/src/cdindex.c:885: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).
   cdindex_entry = fopen(cdindex_file, "r");
data/libcdaudio-0.99.12p2/src/coverart.c:66: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 hexval[3];
data/libcdaudio-0.99.12p2/src/coverart.c:106: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 procbuffer[128];
data/libcdaudio-0.99.12p2/src/coverart.c:156:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char inbuffer[512];
data/libcdaudio-0.99.12p2/src/coverart.c:179: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 cdindex_id[CDINDEX_ID_SIZE], outbuffer[512];
data/libcdaudio-0.99.12p2/src/coverart.c:195: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 artistbuffer[64], albumbuffer[64], outbuffer[512];
data/libcdaudio-0.99.12p2/src/coverart.c:218: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 outbuffer[512], inbuffer[512], *artptr;
data/libcdaudio-0.99.12p2/src/coverart.c:260: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(artptr, inbuffer, bytes_read);
data/libcdaudio-0.99.12p2/src/coverart.c:282: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 root_dir[256], procbuffer[256], id[CDINDEX_ID_SIZE];
data/libcdaudio-0.99.12p2/src/coverart.c:326:25:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if((coverart_fd = open(procbuffer, O_RDONLY)) < 0)
data/libcdaudio-0.99.12p2/src/coverart.c:348: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 root_dir[256], file[256], id[CDINDEX_ID_SIZE],
data/libcdaudio-0.99.12p2/src/coverart.c:426: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 cdindex_id[CDINDEX_ID_SIZE];
data/libcdaudio-0.99.12p2/src/data.c:33:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
data_process_block(char *outbuffer, int len, char (*block)[80], int bounds);
data/libcdaudio-0.99.12p2/src/data.c:33:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
data_process_block(char *outbuffer, int len, char (*block)[80], int bounds);
data/libcdaudio-0.99.12p2/src/data.c:37:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
data_format_block(char (*block)[80], int arraylen, char *inbuffer);
data/libcdaudio-0.99.12p2/src/data.c:74:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
data_process_block(char *outbuffer, int len,
data/libcdaudio-0.99.12p2/src/data.c:75:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		   char (*block)[80], int bounds)
data/libcdaudio-0.99.12p2/src/data.c:139:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
data_format_block(char (*block)[80], int arraylen, char *inbuffer)
data/libcdaudio-0.99.12p2/src/cdaudio.c:142:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(devname, device_name, 255);
data/libcdaudio-0.99.12p2/src/cdaudio.c:143: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(devname);
data/libcdaudio-0.99.12p2/src/cddb.c:232:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (outdata->data_cdindex_id, indata->data_cdindex_id,
data/libcdaudio-0.99.12p2/src/cddb.c:239: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).
  outdata->data_title_len = strlen (indata->data_title) + 1;
data/libcdaudio-0.99.12p2/src/cddb.c:244:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (outdata->data_title, indata->data_title,
data/libcdaudio-0.99.12p2/src/cddb.c:247:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  outdata->data_artist_len = strlen (indata->data_artist) + 1;
data/libcdaudio-0.99.12p2/src/cddb.c:252:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (outdata->data_artist, indata->data_artist,
data/libcdaudio-0.99.12p2/src/cddb.c:255:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  outdata->data_extended_len = strlen (indata->data_extended) + 1;
data/libcdaudio-0.99.12p2/src/cddb.c:259:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (outdata->data_extended, indata->data_extended,
data/libcdaudio-0.99.12p2/src/cddb.c:265: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).
        strlen (indata->data_track[track].track_name) + 1;
data/libcdaudio-0.99.12p2/src/cddb.c:270:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (outdata->data_track[track]->track_name,
data/libcdaudio-0.99.12p2/src/cddb.c:275: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).
        strlen (indata->data_track[track].track_artist) + 1;
data/libcdaudio-0.99.12p2/src/cddb.c:280:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (outdata->data_track[track]->track_artist,
data/libcdaudio-0.99.12p2/src/cddb.c:285: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).
        strlen (indata->data_track[track].track_extended) + 1;
data/libcdaudio-0.99.12p2/src/cddb.c:290:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (outdata->data_track[track]->track_extended,
data/libcdaudio-0.99.12p2/src/cddb.c:305:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(outdata->data_cdindex_id, indata->data_cdindex_id,
data/libcdaudio-0.99.12p2/src/cddb.c:312:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(outdata->data_title, indata->data_title, 256);
data/libcdaudio-0.99.12p2/src/cddb.c:313:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(outdata->data_artist, indata->data_artist, 256);
data/libcdaudio-0.99.12p2/src/cddb.c:314:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(outdata->data_extended, indata->data_extended,
data/libcdaudio-0.99.12p2/src/cddb.c:318:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(outdata->data_track[track].track_name,
data/libcdaudio-0.99.12p2/src/cddb.c:320:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(outdata->data_track[track].track_artist,
data/libcdaudio-0.99.12p2/src/cddb.c:322:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(outdata->data_track[track].track_extended,
data/libcdaudio-0.99.12p2/src/cddb.c:372:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(host->host_server.server_name, url,
data/libcdaudio-0.99.12p2/src/cddb.c:388:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(procbuffer, url, index);
data/libcdaudio-0.99.12p2/src/cddb.c:401:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(host->host_addressing, url, index);
data/libcdaudio-0.99.12p2/src/cddb.c:423:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  line[strlen(line) - 1] = '\0';
data/libcdaudio-0.99.12p2/src/cddb.c:480:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(cddb_message, "$HOME is not set!", 256);
data/libcdaudio-0.99.12p2/src/cddb.c:510: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).
    for(index = 0; index < strlen(inbuffer); index++)
data/libcdaudio-0.99.12p2/src/cddb.c:541:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(cddb_message, "$HOME is not set!", 256);
data/libcdaudio-0.99.12p2/src/cddb.c:680:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(cddb_message, strerror(errno), 256);
data/libcdaudio-0.99.12p2/src/cddb.c:689:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(cddb_message, strerror(errno), 256);
data/libcdaudio-0.99.12p2/src/cddb.c:695:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(cddb_message, strerror(errno), 256);
data/libcdaudio-0.99.12p2/src/cddb.c:761:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(send(sock, outbuffer, strlen(outbuffer), 0) < 0) {
data/libcdaudio-0.99.12p2/src/cddb.c:780:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(send(sock, outbuffer, strlen(outbuffer), 0) < 0) {
data/libcdaudio-0.99.12p2/src/cddb.c:834:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	  strncpy(cddb_message, "Unexpected socket closure", 256);
data/libcdaudio-0.99.12p2/src/cddb.c:894:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (cddb_message, strerror (ENOMEM), sizeof cddb_message);
data/libcdaudio-0.99.12p2/src/cddb.c:902:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (cddb_message, strerror (ENOMEM), sizeof cddb_message);
data/libcdaudio-0.99.12p2/src/cddb.c:916:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(outbuffer, outtemp, 1024);
data/libcdaudio-0.99.12p2/src/cddb.c:929:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(outbuffer, outtemp, 1024);
data/libcdaudio-0.99.12p2/src/cddb.c:931:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(outtemp, outbuffer, 1024);
data/libcdaudio-0.99.12p2/src/cddb.c:941:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(send(sock, outbuffer, strlen(outbuffer), 0) < 0) {
data/libcdaudio-0.99.12p2/src/cddb.c:955:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (cddb_message, strerror (ENOMEM), sizeof cddb_message);
data/libcdaudio-0.99.12p2/src/cddb.c:968:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cddb_message, "404 CDDB CGI not found", 256);
data/libcdaudio-0.99.12p2/src/cddb.c:978:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(cddb_message, inbuffer + 4, 256);
data/libcdaudio-0.99.12p2/src/cddb.c:1001:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(query->query_list[0].list_title, inbuffer + index + 2, 64);
data/libcdaudio-0.99.12p2/src/cddb.c:1037:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(query->query_list[0].list_artist, inbuffer, 64);
data/libcdaudio-0.99.12p2/src/cddb.c:1039:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(query->query_list[0].list_title, inbuffer, 64);
data/libcdaudio-0.99.12p2/src/cddb.c:1040:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant character.
      strncpy(query->query_list[0].list_artist, "", 64);
data/libcdaudio-0.99.12p2/src/cddb.c:1062:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(query->query_list[query->query_matches].list_title,
data/libcdaudio-0.99.12p2/src/cddb.c:1092:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(query->query_list[query->query_matches++].list_artist,
data/libcdaudio-0.99.12p2/src/cddb.c:1095:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(query->query_list[query->query_matches].list_title,
data/libcdaudio-0.99.12p2/src/cddb.c:1097:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant character.
	strncpy(query->query_list[query->query_matches++].list_artist,
data/libcdaudio-0.99.12p2/src/cddb.c:1118:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  line[strlen(line) - 1] = '\0';
data/libcdaudio-0.99.12p2/src/cddb.c:1141:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(data->data_title[data->data_title_index++], value, 80);
data/libcdaudio-0.99.12p2/src/cddb.c:1146:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(data->data_track[strtol((char *)var + 6, NULL, 10)]
data/libcdaudio-0.99.12p2/src/cddb.c:1154:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(data->data_extended[data->data_extended_index++], value, 80);
data/libcdaudio-0.99.12p2/src/cddb.c:1159:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(data->data_track[strtol((char *)var + 4, NULL, 10)]
data/libcdaudio-0.99.12p2/src/cddb.c:1213: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).
  if (send(sock, outbuffer, strlen(outbuffer), 0) < 0)
data/libcdaudio-0.99.12p2/src/cddb.c:1266:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(host->host_server.server_name, line, 256);
data/libcdaudio-0.99.12p2/src/cddb.c:1288:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(host->host_addressing, line + 1, 256);
data/libcdaudio-0.99.12p2/src/cddb.c:1290:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant character.
    strncpy(host->host_addressing, "", 256);
data/libcdaudio-0.99.12p2/src/cddb.c:1317:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  send(sock, buffer, strlen(buffer), 0);
data/libcdaudio-0.99.12p2/src/cddb.c:1350:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  send(sock, outbuffer, strlen(outbuffer), 0);
data/libcdaudio-0.99.12p2/src/cddb.c:1375:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(cddb_message, "404 CDDB CGI not found", 256);
data/libcdaudio-0.99.12p2/src/cddb.c:1385:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(cddb_message, (char *)inbuffer + 4, 256);
data/libcdaudio-0.99.12p2/src/cddb.c:1437:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(hello.hello_program, PACKAGE, 256);
data/libcdaudio-0.99.12p2/src/cddb.c:1438:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(hello.hello_version, VERSION, 256);
data/libcdaudio-0.99.12p2/src/cddb.c:1557:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
  strcpy(data->data_title, "");
data/libcdaudio-0.99.12p2/src/cddb.c:1558:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
  strcpy(data->data_artist, "");
data/libcdaudio-0.99.12p2/src/cddb.c:1561:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(data->data_track[index].track_name, "");
data/libcdaudio-0.99.12p2/src/cddb.c:1592:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(cddb_message, "$HOME is not set!", 256);
data/libcdaudio-0.99.12p2/src/cddb.c:1722:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(cddb_message, "$HOME is not set!", 256);
data/libcdaudio-0.99.12p2/src/cddb.c:1994:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(cddb_message, "$HOME is not set!", 256);
data/libcdaudio-0.99.12p2/src/cddb.c:2047:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(cddb_message, "$HOME is not set!", 256);
data/libcdaudio-0.99.12p2/src/cddb.c:2237:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(cddb_message, "$HOME is not set!", 256);
data/libcdaudio-0.99.12p2/src/cddb.c:2255:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(cddb_message, "No CDDB entry present in cache", 256);
data/libcdaudio-0.99.12p2/src/cddb.c:2262:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(cddb_message, strerror(errno), 256);
data/libcdaudio-0.99.12p2/src/cddb.c:2268:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(cddb_message, strerror(errno), 256);
data/libcdaudio-0.99.12p2/src/cddb.c:2273:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(strlen(data.data_title) < 1 || strcmp(data.data_title, "Unknown") == 0) {
data/libcdaudio-0.99.12p2/src/cddb.c:2275:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(cddb_message, "Edit the disc title before submission.", 256);
data/libcdaudio-0.99.12p2/src/cddb.c:2280:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant character.
    strncpy(data.data_artist, "", 256);
data/libcdaudio-0.99.12p2/src/cddb.c:2313:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  send(sock, outbuffer, strlen(outbuffer), 0);
data/libcdaudio-0.99.12p2/src/cddb.c:2317:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  send(sock, outbuffer, strlen(outbuffer), 0);
data/libcdaudio-0.99.12p2/src/cddb.c:2321:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  send(sock, outbuffer, strlen(outbuffer), 0);
data/libcdaudio-0.99.12p2/src/cddb.c:2325:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  send(sock, outbuffer, strlen(outbuffer), 0);
data/libcdaudio-0.99.12p2/src/cddb.c:2329:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  send(sock, outbuffer, strlen(outbuffer), 0);
data/libcdaudio-0.99.12p2/src/cddb.c:2331:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  strncpy(outbuffer,
data/libcdaudio-0.99.12p2/src/cddb.c:2334:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  send(sock, outbuffer, strlen(outbuffer), 0);
data/libcdaudio-0.99.12p2/src/cddb.c:2343:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  send(sock, outbuffer, strlen(outbuffer), 0);
data/libcdaudio-0.99.12p2/src/cddb.c:2348:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    send(sock, outbuffer, strlen(outbuffer), 0);
data/libcdaudio-0.99.12p2/src/cddb.c:2354:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(cddb_message, inbuffer, 256);
data/libcdaudio-0.99.12p2/src/cddb.c:2370:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(data.data_artist, "Unknown", 256);
data/libcdaudio-0.99.12p2/src/cddb.c:2374:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(data.data_track[index].track_name, "Unknown", 256);
data/libcdaudio-0.99.12p2/src/cdindex.c:286:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   sha_update(&sha, temp, strlen(temp));
data/libcdaudio-0.99.12p2/src/cdindex.c:288:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   sha_update(&sha, temp, strlen(temp));
data/libcdaudio-0.99.12p2/src/cdindex.c:291:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   sha_update(&sha, temp, strlen(temp));
data/libcdaudio-0.99.12p2/src/cdindex.c:298:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      sha_update(&sha, temp, strlen(temp));
data/libcdaudio-0.99.12p2/src/cdindex.c:334:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if(read(sock, &inchar, 1) <= 0)
data/libcdaudio-0.99.12p2/src/cdindex.c:421:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
     strncpy(data->data_artist, value, 256);
data/libcdaudio-0.99.12p2/src/cdindex.c:423:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(data->data_title, value, 256);
data/libcdaudio-0.99.12p2/src/cdindex.c:426:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
     strncpy(data->data_track[strtol((char *)var + 5, NULL, 10) - 1]
data/libcdaudio-0.99.12p2/src/cdindex.c:429:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
     strncpy(data->data_track[strtol((char *)var + 6, NULL, 10) - 1]
data/libcdaudio-0.99.12p2/src/cdindex.c:459:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   write(sock, outbuffer, strlen(outbuffer));
data/libcdaudio-0.99.12p2/src/cdindex.c:506:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(cddb_message, "$HOME is not set!", 256);
data/libcdaudio-0.99.12p2/src/cdindex.c:559:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	 strncpy(inbuffer, strtok(NULL, ">"), 512);
data/libcdaudio-0.99.12p2/src/cdindex.c:560:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	 strncpy(data->data_title, strtok(inbuffer, "<"), 256);
data/libcdaudio-0.99.12p2/src/cdindex.c:565:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	 strncpy(data->data_artist, "(various)", 256);
data/libcdaudio-0.99.12p2/src/cdindex.c:569:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	 strncpy(inbuffer, strtok(NULL, ">"), 512);
data/libcdaudio-0.99.12p2/src/cdindex.c:570:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	 strncpy(data->data_artist, strtok(inbuffer, "<"), 256);
data/libcdaudio-0.99.12p2/src/cdindex.c:580:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(inbuffer, strtok(NULL, ">"), 512);
data/libcdaudio-0.99.12p2/src/cdindex.c:581:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(data->data_track[track].track_artist,
data/libcdaudio-0.99.12p2/src/cdindex.c:587:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	 strncpy(inbuffer, strtok(NULL, ">"), 512);
data/libcdaudio-0.99.12p2/src/cdindex.c:588:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	 strncpy(data->data_track[track].track_name,
data/libcdaudio-0.99.12p2/src/cdindex.c:608:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(cddb_message, "$HOME is not set!", 256);
data/libcdaudio-0.99.12p2/src/cdindex.c:783:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(cddb_message, "$HOME is not set!", 256);
data/libcdaudio-0.99.12p2/src/cdindex.c:839:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(cddb_message, "$HOME is not set!", 256);
data/libcdaudio-0.99.12p2/src/cdindex.c:852:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(cddb_message, "No CD Index entry present in cache", 256);
data/libcdaudio-0.99.12p2/src/cdindex.c:858:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	 strncpy(cddb_message, strerror(errno), 256);
data/libcdaudio-0.99.12p2/src/cdindex.c:867:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	 strncpy(cddb_message, strerror(errno), 256);
data/libcdaudio-0.99.12p2/src/cdindex.c:872:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   write(sock, outbuffer, strlen(outbuffer));
data/libcdaudio-0.99.12p2/src/cdindex.c:874:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
   strncpy(outbuffer, "Content-Type: text/plain\n", 512);
data/libcdaudio-0.99.12p2/src/cdindex.c:875:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   write(sock, outbuffer, strlen(outbuffer));
data/libcdaudio-0.99.12p2/src/cdindex.c:883:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   write(sock, outbuffer, strlen(outbuffer));
data/libcdaudio-0.99.12p2/src/cdindex.c:888:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      write(sock, outbuffer, strlen(outbuffer));
data/libcdaudio-0.99.12p2/src/changer.c:111:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(CD.data_cdindex_id, data.data_cdindex_id, CDINDEX_ID_SIZE);
data/libcdaudio-0.99.12p2/src/changer.c:113:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(strlen(data.data_artist) > 0) {
data/libcdaudio-0.99.12p2/src/changer.c:114:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(data.data_artist[strlen(data.data_artist) - 1] == ' ')
data/libcdaudio-0.99.12p2/src/changer.c:121:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(CD.disc_info, data.data_title, 128);
data/libcdaudio-0.99.12p2/src/coverart.c:136:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(query->query_list[n].list_artist, procbuffer,
data/libcdaudio-0.99.12p2/src/coverart.c:137: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).
	      (strlen(procbuffer) < 64) ? (strlen(procbuffer) - 1) : 64); 
data/libcdaudio-0.99.12p2/src/coverart.c:137:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      (strlen(procbuffer) < 64) ? (strlen(procbuffer) - 1) : 64); 
data/libcdaudio-0.99.12p2/src/coverart.c:138:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(query->query_list[n].list_album,
data/libcdaudio-0.99.12p2/src/coverart.c:141:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(query->query_list[n].list_album, procbuffer, 64);
data/libcdaudio-0.99.12p2/src/coverart.c:183:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  write(sock, outbuffer, strlen(outbuffer));
data/libcdaudio-0.99.12p2/src/coverart.c:206:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  write(sock, outbuffer, strlen(outbuffer));
data/libcdaudio-0.99.12p2/src/coverart.c:239:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  write(sock, outbuffer, strlen(outbuffer));
data/libcdaudio-0.99.12p2/src/coverart.c:242:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(strlen(inbuffer) <= 1) {
data/libcdaudio-0.99.12p2/src/coverart.c:248:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(art->art_mime_type, strtok(NULL, " "), 16);
data/libcdaudio-0.99.12p2/src/coverart.c:249:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if(art->art_mime_type[strlen(art->art_mime_type) - 1] == 0xD)
data/libcdaudio-0.99.12p2/src/coverart.c:250:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  art->art_mime_type[strlen(art->art_mime_type) - 1] = '\0';
data/libcdaudio-0.99.12p2/src/coverart.c:258:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while((bytes_read = read(sock, inbuffer, 512)) > 0) {
data/libcdaudio-0.99.12p2/src/coverart.c:287:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cddb_message, "$HOME is not set!", 256);
data/libcdaudio-0.99.12p2/src/coverart.c:310: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).
    if(strncmp(id, d->d_name, strlen(id) - 1) == 0) {
data/libcdaudio-0.99.12p2/src/coverart.c:311:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(procbuffer, d->d_name, 256);
data/libcdaudio-0.99.12p2/src/coverart.c:312:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      index = strlen(d->d_name);
data/libcdaudio-0.99.12p2/src/coverart.c:317:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	art->art_mime_type[6 + (strlen(d->d_name) - index)] = '\0';
data/libcdaudio-0.99.12p2/src/coverart.c:329:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if(read(coverart_fd, art->art_image, art->art_length) < 0)
data/libcdaudio-0.99.12p2/src/coverart.c:356:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cddb_message, "$HOME is not set!", 256);
data/libcdaudio-0.99.12p2/src/coverart.c:364:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(procbuffer, art.art_mime_type, 16);
data/libcdaudio-0.99.12p2/src/coverart.c:367:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(extension, strtok(NULL, "/"), 16);
data/libcdaudio-0.99.12p2/src/coverart.c:369:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(extension, procbuffer, 16);
data/libcdaudio-0.99.12p2/src/coverart.c:400:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cddb_message, "$HOME is not set!", 256);
data/libcdaudio-0.99.12p2/src/data.c:148:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(procbuffer, inbuffer, 64);
data/libcdaudio-0.99.12p2/src/data.c:174:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(outdata->data_cdindex_id, indata->data_cdindex_id,
data/libcdaudio-0.99.12p2/src/data.c:185:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(outdata->data_artist, procbuffer, index);
data/libcdaudio-0.99.12p2/src/data.c:186:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(outdata->data_title, (char *)procbuffer + index + 3, 256);
data/libcdaudio-0.99.12p2/src/data.c:188:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant character.
    strncpy(outdata->data_artist, "", 256);
data/libcdaudio-0.99.12p2/src/data.c:189:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(outdata->data_title, procbuffer, 256);
data/libcdaudio-0.99.12p2/src/data.c:204:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(outdata->data_track[index].track_artist,
data/libcdaudio-0.99.12p2/src/data.c:205: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).
	      trackbuffer, strlen(trackbuffer) - 1);
data/libcdaudio-0.99.12p2/src/data.c:206:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(outdata->data_track[index].track_name,
data/libcdaudio-0.99.12p2/src/data.c:209:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant character.
      strncpy(outdata->data_track[index].track_artist, "", 256);
data/libcdaudio-0.99.12p2/src/data.c:210:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(outdata->data_track[index].track_name, trackbuffer, 256);
data/libcdaudio-0.99.12p2/src/data.c:241:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(outdata->data_cdindex_id, indata->data_cdindex_id,
data/libcdaudio-0.99.12p2/src/data.c:247:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(strlen(indata->data_artist))
data/libcdaudio-0.99.12p2/src/data.c:251:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(procbuffer, indata->data_title, EXTENDED_DATA_SIZE);
data/libcdaudio-0.99.12p2/src/data.c:258:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(strlen(outdata->data_title[outdata->data_title_index]) <= 0)
data/libcdaudio-0.99.12p2/src/data.c:268:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(strlen(outdata->data_extended[outdata->data_extended_index]) <= 0)
data/libcdaudio-0.99.12p2/src/data.c:274:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(strlen(indata->data_track[index].track_artist) > 0)
data/libcdaudio-0.99.12p2/src/data.c:279:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(trackbuffer, indata->data_track[index].track_name, 256);
data/libcdaudio-0.99.12p2/src/data.c:285:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(outdata->data_track[index]
data/libcdaudio-0.99.12p2/src/data.c:298:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(outdata->data_track[index]

ANALYSIS SUMMARY:

Hits = 305
Lines analyzed = 6964 in approximately 0.19 seconds (37266 lines/second)
Physical Source Lines of Code (SLOC) = 5253
Hits@level = [0] 107 [1] 172 [2] 101 [3]  28 [4]   3 [5]   1
Hits@level+ = [0+] 412 [1+] 305 [2+] 133 [3+]  32 [4+]   4 [5+]   1
Hits/KSLOC@level+ = [0+] 78.4314 [1+] 58.0621 [2+] 25.3189 [3+] 6.09176 [4+] 0.76147 [5+] 0.190367
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.