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/libcddb-1.3.2/include/cddb/cddb_log.h
Examining data/libcddb-1.3.2/include/cddb/ll.h
Examining data/libcddb-1.3.2/include/cddb/cddb_conn.h
Examining data/libcddb-1.3.2/include/cddb/cddb_ni.h
Examining data/libcddb-1.3.2/include/cddb/cddb_error.h
Examining data/libcddb-1.3.2/include/cddb/cddb_config.h
Examining data/libcddb-1.3.2/include/cddb/cddb_cmd.h
Examining data/libcddb-1.3.2/include/cddb/cddb_regex.h
Examining data/libcddb-1.3.2/include/cddb/cddb_disc.h
Examining data/libcddb-1.3.2/include/cddb/cddb_net.h
Examining data/libcddb-1.3.2/include/cddb/cddb_cmd_ni.h
Examining data/libcddb-1.3.2/include/cddb/version.h
Examining data/libcddb-1.3.2/include/cddb/cddb_site.h
Examining data/libcddb-1.3.2/include/cddb/cddb_conn_ni.h
Examining data/libcddb-1.3.2/include/cddb/cddb_track.h
Examining data/libcddb-1.3.2/include/cddb/cddb_log_ni.h
Examining data/libcddb-1.3.2/include/cddb/cddb.h
Examining data/libcddb-1.3.2/examples/do_album.c
Examining data/libcddb-1.3.2/examples/cd_access.c
Examining data/libcddb-1.3.2/examples/do_read.c
Examining data/libcddb-1.3.2/examples/main.c
Examining data/libcddb-1.3.2/examples/do_search.c
Examining data/libcddb-1.3.2/examples/main.h
Examining data/libcddb-1.3.2/examples/do_query.c
Examining data/libcddb-1.3.2/examples/do_sites.c
Examining data/libcddb-1.3.2/examples/do_display.c
Examining data/libcddb-1.3.2/lib/cddb_log.c
Examining data/libcddb-1.3.2/lib/cddb_track.c
Examining data/libcddb-1.3.2/lib/cddb_util.c
Examining data/libcddb-1.3.2/lib/ll.c
Examining data/libcddb-1.3.2/lib/cddb_cmd.c
Examining data/libcddb-1.3.2/lib/cddb_regex.c
Examining data/libcddb-1.3.2/lib/cddb.c
Examining data/libcddb-1.3.2/lib/cddb_net.c
Examining data/libcddb-1.3.2/lib/cddb_site.c
Examining data/libcddb-1.3.2/lib/cddb_error.c
Examining data/libcddb-1.3.2/lib/cddb_conn.c
Examining data/libcddb-1.3.2/lib/cddb_disc.c

FINAL RESULTS:

data/libcddb-1.3.2/examples/main.c:140:9:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vfprintf(stderr, fmt, ap);
data/libcddb-1.3.2/lib/cddb_cmd.c:502:22:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
                rv = vsnprintf(buf, c->buf_size, CDDB_COMMANDS[cmd], args);
data/libcddb-1.3.2/lib/cddb_cmd.c:1126:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(buf, offset);
data/libcddb-1.3.2/lib/cddb_cmd.c:1284:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(p, CDDB_CATEGORY[i]); p += strlen(CDDB_CATEGORY[i]);
data/libcddb-1.3.2/lib/cddb_cmd.c:1363:13:  [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(buf, remaining, __VA_ARGS__); remaining -= l; buf += l;
data/libcddb-1.3.2/lib/cddb_conn.c:104:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(c->cache_dir, "%s/%s", s, DEFAULT_CACHE);
data/libcddb-1.3.2/lib/cddb_conn.c:555:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(c->cache_dir, "%s%s", home, dir + 1);
data/libcddb-1.3.2/lib/cddb_disc.c:369:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(disc->title+old_len, title);
data/libcddb-1.3.2/lib/cddb_disc.c:405:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(disc->artist+old_len, artist);
data/libcddb-1.3.2/lib/cddb_disc.c:441:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(disc->ext_data+old_len, ext_data);
data/libcddb-1.3.2/lib/cddb_log.c:65:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(buf, sizeof(buf)-1, format, args);
data/libcddb-1.3.2/lib/cddb_net.c:216:10:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    rv = vsnprintf(buf, c->buf_size, format, ap);
data/libcddb-1.3.2/lib/cddb_track.c:230:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(track->title+old_len, title);
data/libcddb-1.3.2/lib/cddb_track.c:272:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(track->artist+old_len, artist);
data/libcddb-1.3.2/lib/cddb_track.c:308:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(track->ext_data+old_len, ext_data);
data/libcddb-1.3.2/examples/main.c:221:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        aux = getenv(ENV_HTTP_PROXY);
data/libcddb-1.3.2/examples/main.c:274:19:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((arg = getopt(argc, argv, OPT_STRING)) != -1) {
data/libcddb-1.3.2/lib/cddb_conn.c:102:13:  [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.
        s = getenv("HOME");
data/libcddb-1.3.2/lib/cddb_conn.c:552:20:  [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.
            home = getenv("HOME");
data/libcddb-1.3.2/include/cddb/cddb_disc.h:71:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern const char *CDDB_CATEGORY[CDDB_CAT_LAST];
data/libcddb-1.3.2/lib/cddb_cmd.c:34:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *CDDB_COMMANDS[CMD_LAST] = {
data/libcddb-1.3.2/lib/cddb_cmd.c:168:23:  [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).
        c->cache_fp = fopen(fn, mode);
data/libcddb-1.3.2/lib/cddb_cmd.c:1080:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *buf, offset[32];
data/libcddb-1.3.2/lib/cddb_cmd.c:1258: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(p, "&allfields="); p += 11;
data/libcddb-1.3.2/lib/cddb_cmd.c:1260: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(p, "YES"); p += 3;
data/libcddb-1.3.2/lib/cddb_cmd.c:1262: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(p, "NO"); p += 2;
data/libcddb-1.3.2/lib/cddb_cmd.c:1264:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(p, "&fields=artist"); p += 14;
data/libcddb-1.3.2/lib/cddb_cmd.c:1267:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(p, "&fields=title"); p += 13;
data/libcddb-1.3.2/lib/cddb_cmd.c:1270:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(p, "&fields=track"); p += 13;
data/libcddb-1.3.2/lib/cddb_cmd.c:1273:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(p, "&fields=rest"); p += 12;
data/libcddb-1.3.2/lib/cddb_cmd.c:1276: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(p, "&allcats="); p += 9;
data/libcddb-1.3.2/lib/cddb_cmd.c:1278: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(p, "YES"); p += 3;
data/libcddb-1.3.2/lib/cddb_cmd.c:1280: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(p, "NO"); p += 2;
data/libcddb-1.3.2/lib/cddb_cmd.c:1283:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                strcpy(p, "&cats="); p += 6;
data/libcddb-1.3.2/lib/cddb_cmd.c:1288: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(p, "&grouping=cats"); p += 14;
data/libcddb-1.3.2/lib/cddb_cmd.c:1297:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char paramstr[1024];        /* big enough! */
data/libcddb-1.3.2/lib/cddb_cmd.c:1434:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[WRITE_BUF_SIZE];
data/libcddb-1.3.2/lib/cddb_disc.c:32:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *CDDB_CATEGORY[CDDB_CAT_LAST] = {
data/libcddb-1.3.2/lib/cddb_log.c:32:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *_level_str[5] = { "debug", "info", "warning", "error", "critical" };
data/libcddb-1.3.2/lib/cddb_log.c:63:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1024] = { 0, };
data/libcddb-1.3.2/lib/cddb_regex.c:131:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    i = atoi(buf);
data/libcddb-1.3.2/lib/cddb_util.c:66: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(*out, buf, len);
data/libcddb-1.3.2/examples/main.c:258:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(aux, host, len);
data/libcddb-1.3.2/lib/cddb_cmd.c:123: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(c->cache_dir) + strlen(CDDB_CATEGORY[disc->category]) + 11;
data/libcddb-1.3.2/lib/cddb_cmd.c:123:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(c->cache_dir) + strlen(CDDB_CATEGORY[disc->category]) + 11;
data/libcddb-1.3.2/lib/cddb_cmd.c:370:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        s = s + strlen(s) - 1;
data/libcddb-1.3.2/lib/cddb_cmd.c:1120:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strlen(buf) + strlen(offset) >= c->buf_size) {
data/libcddb-1.3.2/lib/cddb_cmd.c:1120: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 (strlen(buf) + strlen(offset) >= c->buf_size) {
data/libcddb-1.3.2/lib/cddb_cmd.c:1284:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                strcpy(p, CDDB_CATEGORY[i]); p += strlen(CDDB_CATEGORY[i]);
data/libcddb-1.3.2/lib/cddb_cmd.c:1378: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).
    CDDB_WRITE_APPEND(21+strlen(c->cname)+strlen(c->cversion),
data/libcddb-1.3.2/lib/cddb_cmd.c:1378:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    CDDB_WRITE_APPEND(21+strlen(c->cname)+strlen(c->cversion),
data/libcddb-1.3.2/lib/cddb_cmd.c:1382: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).
    CDDB_WRITE_APPEND(11+strlen(disc->artist)+strlen(disc->title),
data/libcddb-1.3.2/lib/cddb_cmd.c:1382:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    CDDB_WRITE_APPEND(11+strlen(disc->artist)+strlen(disc->title),
data/libcddb-1.3.2/lib/cddb_cmd.c:1394: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).
    CDDB_WRITE_APPEND(8+strlen(s), "DGENRE=%s\n", s);
data/libcddb-1.3.2/lib/cddb_cmd.c:1400:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            CDDB_WRITE_APPEND(11+(i/10+1)+strlen(track->artist)+strlen(track->title),
data/libcddb-1.3.2/lib/cddb_cmd.c:1400:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            CDDB_WRITE_APPEND(11+(i/10+1)+strlen(track->artist)+strlen(track->title),
data/libcddb-1.3.2/lib/cddb_cmd.c:1403:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            CDDB_WRITE_APPEND(8+(i/10+1)+strlen(track->title),
data/libcddb-1.3.2/lib/cddb_cmd.c:1409: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).
        CDDB_WRITE_APPEND(6+strlen(disc->ext_data), "EXTD=%s\n", disc->ext_data);
data/libcddb-1.3.2/lib/cddb_cmd.c:1417:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            CDDB_WRITE_APPEND(6+(i/10+1)+strlen(track->ext_data), 
data/libcddb-1.3.2/lib/cddb_conn.c:103:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        c->cache_dir = (char*)malloc(strlen(s) + 1 + sizeof(DEFAULT_CACHE) + 1);
data/libcddb-1.3.2/lib/cddb_conn.c:392:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len += strlen(username);
data/libcddb-1.3.2/lib/cddb_conn.c:395:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len += strlen(password);
data/libcddb-1.3.2/lib/cddb_conn.c:494:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(c->user, email, len);
data/libcddb-1.3.2/lib/cddb_conn.c:554:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                c->cache_dir = (char*)malloc(strlen(home) + strlen(dir));
data/libcddb-1.3.2/lib/cddb_conn.c:554:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                c->cache_dir = (char*)malloc(strlen(home) + strlen(dir));
data/libcddb-1.3.2/lib/cddb_disc.c:365: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).
            old_len = strlen(disc->title);
data/libcddb-1.3.2/lib/cddb_disc.c:367: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).
        len = strlen(title);
data/libcddb-1.3.2/lib/cddb_disc.c:401: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).
            old_len = strlen(disc->artist);
data/libcddb-1.3.2/lib/cddb_disc.c:403: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).
        len = strlen(artist);
data/libcddb-1.3.2/lib/cddb_disc.c:437: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).
            old_len = strlen(disc->ext_data);
data/libcddb-1.3.2/lib/cddb_disc.c:439: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).
        len = strlen(ext_data);
data/libcddb-1.3.2/lib/cddb_regex.c:167:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(result, s + start, len);
data/libcddb-1.3.2/lib/cddb_track.c:226: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).
            old_len = strlen(track->title);
data/libcddb-1.3.2/lib/cddb_track.c:228: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).
        len = strlen(title);
data/libcddb-1.3.2/lib/cddb_track.c:268: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).
            old_len = strlen(track->artist);
data/libcddb-1.3.2/lib/cddb_track.c:270: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).
        len = strlen(artist);
data/libcddb-1.3.2/lib/cddb_track.c:304: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).
            old_len = strlen(track->ext_data);
data/libcddb-1.3.2/lib/cddb_track.c:306: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).
        len = strlen(ext_data);
data/libcddb-1.3.2/lib/cddb_util.c:40:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    inlen = strlen(in);

ANALYSIS SUMMARY:

Hits = 79
Lines analyzed = 8859 in approximately 0.28 seconds (32067 lines/second)
Physical Source Lines of Code (SLOC) = 4728
Hits@level = [0] 141 [1]  37 [2]  23 [3]   4 [4]  15 [5]   0
Hits@level+ = [0+] 220 [1+]  79 [2+]  42 [3+]  19 [4+]  15 [5+]   0
Hits/KSLOC@level+ = [0+] 46.5313 [1+] 16.709 [2+] 8.88325 [3+] 4.01861 [4+] 3.17259 [5+]   0
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.