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/audacious-4.0.4/src/libaudtag/audtag.h
Examining data/audacious-4.0.4/src/libaudtag/id3/id3-common.h
Examining data/audacious-4.0.4/src/libaudtag/id3/id3v22.cc
Examining data/audacious-4.0.4/src/libaudtag/id3/id3-common.cc
Examining data/audacious-4.0.4/src/libaudtag/id3/id3v24.cc
Examining data/audacious-4.0.4/src/libaudtag/id3/id3v1.cc
Examining data/audacious-4.0.4/src/libaudtag/tag_module.cc
Examining data/audacious-4.0.4/src/libaudtag/ape/ape.cc
Examining data/audacious-4.0.4/src/libaudtag/util.h
Examining data/audacious-4.0.4/src/libaudtag/audtag.cc
Examining data/audacious-4.0.4/src/libaudtag/util.cc
Examining data/audacious-4.0.4/src/libaudtag/tag_module.h
Examining data/audacious-4.0.4/src/libaudtag/builtin.h
Examining data/audacious-4.0.4/src/libaudgui/equalizer.cc
Examining data/audacious-4.0.4/src/libaudgui/preset-browser.cc
Examining data/audacious-4.0.4/src/libaudgui/internal.h
Examining data/audacious-4.0.4/src/libaudgui/infopopup.cc
Examining data/audacious-4.0.4/src/libaudgui/status.cc
Examining data/audacious-4.0.4/src/libaudgui/file-opener.cc
Examining data/audacious-4.0.4/src/libaudgui/plugin-view.cc
Examining data/audacious-4.0.4/src/libaudgui/infowin.cc
Examining data/audacious-4.0.4/src/libaudgui/jump-to-track.cc
Examining data/audacious-4.0.4/src/libaudgui/libaudgui-gtk.h
Examining data/audacious-4.0.4/src/libaudgui/jump-to-track-cache.h
Examining data/audacious-4.0.4/src/libaudgui/url-opener.cc
Examining data/audacious-4.0.4/src/libaudgui/plugin-prefs.cc
Examining data/audacious-4.0.4/src/libaudgui/menu.cc
Examining data/audacious-4.0.4/src/libaudgui/list.h
Examining data/audacious-4.0.4/src/libaudgui/pixbufs.cc
Examining data/audacious-4.0.4/src/libaudgui/util.cc
Examining data/audacious-4.0.4/src/libaudgui/libaudgui.h
Examining data/audacious-4.0.4/src/libaudgui/eq-preset.cc
Examining data/audacious-4.0.4/src/libaudgui/prefs-widget.cc
Examining data/audacious-4.0.4/src/libaudgui/menu.h
Examining data/audacious-4.0.4/src/libaudgui/jump-to-track-cache.cc
Examining data/audacious-4.0.4/src/libaudgui/playlists.cc
Examining data/audacious-4.0.4/src/libaudgui/list.cc
Examining data/audacious-4.0.4/src/libaudgui/init.cc
Examining data/audacious-4.0.4/src/libaudgui/prefs-window.cc
Examining data/audacious-4.0.4/src/libaudgui/preset-browser.h
Examining data/audacious-4.0.4/src/libaudgui/scaled-image.cc
Examining data/audacious-4.0.4/src/libaudgui/about.cc
Examining data/audacious-4.0.4/src/libaudgui/urilist.cc
Examining data/audacious-4.0.4/src/libaudgui/queue-manager.cc
Examining data/audacious-4.0.4/src/libaudgui/jump-to-time.cc
Examining data/audacious-4.0.4/src/libaudgui/confirm.cc
Examining data/audacious-4.0.4/src/libaudgui/plugin-menu.cc
Examining data/audacious-4.0.4/src/libaudcore/parse.cc
Examining data/audacious-4.0.4/src/libaudcore/tuple-compiler.cc
Examining data/audacious-4.0.4/src/libaudcore/preferences.h
Examining data/audacious-4.0.4/src/libaudcore/playlist-cache.cc
Examining data/audacious-4.0.4/src/libaudcore/equalizer.cc
Examining data/audacious-4.0.4/src/libaudcore/runtime.h
Examining data/audacious-4.0.4/src/libaudcore/charset.cc
Examining data/audacious-4.0.4/src/libaudcore/objects.h
Examining data/audacious-4.0.4/src/libaudcore/playlist-data.h
Examining data/audacious-4.0.4/src/libaudcore/playlist-data.cc
Examining data/audacious-4.0.4/src/libaudcore/internal.h
Examining data/audacious-4.0.4/src/libaudcore/visualizer.h
Examining data/audacious-4.0.4/src/libaudcore/cue-cache.h
Examining data/audacious-4.0.4/src/libaudcore/plugins-internal.h
Examining data/audacious-4.0.4/src/libaudcore/equalizer-preset.cc
Examining data/audacious-4.0.4/src/libaudcore/threads.h
Examining data/audacious-4.0.4/src/libaudcore/playlist-utils.cc
Examining data/audacious-4.0.4/src/libaudcore/plugin-registry.cc
Examining data/audacious-4.0.4/src/libaudcore/effect.cc
Examining data/audacious-4.0.4/src/libaudcore/playlist-internal.h
Examining data/audacious-4.0.4/src/libaudcore/history.cc
Examining data/audacious-4.0.4/src/libaudcore/tests/test.cc
Examining data/audacious-4.0.4/src/libaudcore/tests/stubs.cc
Examining data/audacious-4.0.4/src/libaudcore/tests/test-mainloop.cc
Examining data/audacious-4.0.4/src/libaudcore/hook.cc
Examining data/audacious-4.0.4/src/libaudcore/config.cc
Examining data/audacious-4.0.4/src/libaudcore/output.cc
Examining data/audacious-4.0.4/src/libaudcore/index.cc
Examining data/audacious-4.0.4/src/libaudcore/cue-cache.cc
Examining data/audacious-4.0.4/src/libaudcore/drct.h
Examining data/audacious-4.0.4/src/libaudcore/preferences.cc
Examining data/audacious-4.0.4/src/libaudcore/vfs.cc
Examining data/audacious-4.0.4/src/libaudcore/adder.cc
Examining data/audacious-4.0.4/src/libaudcore/index.h
Examining data/audacious-4.0.4/src/libaudcore/tuple.cc
Examining data/audacious-4.0.4/src/libaudcore/timer.cc
Examining data/audacious-4.0.4/src/libaudcore/multihash.cc
Examining data/audacious-4.0.4/src/libaudcore/vfs.h
Examining data/audacious-4.0.4/src/libaudcore/plugin-load.cc
Examining data/audacious-4.0.4/src/libaudcore/i18n.h
Examining data/audacious-4.0.4/src/libaudcore/tuple.h
Examining data/audacious-4.0.4/src/libaudcore/output.h
Examining data/audacious-4.0.4/src/libaudcore/parse.h
Examining data/audacious-4.0.4/src/libaudcore/list.h
Examining data/audacious-4.0.4/src/libaudcore/stringbuf.cc
Examining data/audacious-4.0.4/src/libaudcore/mainloop.h
Examining data/audacious-4.0.4/src/libaudcore/art.cc
Examining data/audacious-4.0.4/src/libaudcore/plugin-init.cc
Examining data/audacious-4.0.4/src/libaudcore/vfs_async.cc
Examining data/audacious-4.0.4/src/libaudcore/ringbuf.cc
Examining data/audacious-4.0.4/src/libaudcore/logger.cc
Examining data/audacious-4.0.4/src/libaudcore/vis-runner.cc
Examining data/audacious-4.0.4/src/libaudcore/templates.h
Examining data/audacious-4.0.4/src/libaudcore/drct.cc
Examining data/audacious-4.0.4/src/libaudcore/hook.h
Examining data/audacious-4.0.4/src/libaudcore/playlist.h
Examining data/audacious-4.0.4/src/libaudcore/export.h
Examining data/audacious-4.0.4/src/libaudcore/equalizer.h
Examining data/audacious-4.0.4/src/libaudcore/tinylock.cc
Examining data/audacious-4.0.4/src/libaudcore/playlist.cc
Examining data/audacious-4.0.4/src/libaudcore/audstrings.h
Examining data/audacious-4.0.4/src/libaudcore/util.cc
Examining data/audacious-4.0.4/src/libaudcore/visualization.cc
Examining data/audacious-4.0.4/src/libaudcore/probe-buffer.h
Examining data/audacious-4.0.4/src/libaudcore/plugins.h
Examining data/audacious-4.0.4/src/libaudcore/vfs_local.h
Examining data/audacious-4.0.4/src/libaudcore/fft.cc
Examining data/audacious-4.0.4/src/libaudcore/art-search.cc
Examining data/audacious-4.0.4/src/libaudcore/tuple-compiler.h
Examining data/audacious-4.0.4/src/libaudcore/list.cc
Examining data/audacious-4.0.4/src/libaudcore/inifile.cc
Examining data/audacious-4.0.4/src/libaudcore/multihash.h
Examining data/audacious-4.0.4/src/libaudcore/interface.cc
Examining data/audacious-4.0.4/src/libaudcore/runtime.cc
Examining data/audacious-4.0.4/src/libaudcore/probe.cc
Examining data/audacious-4.0.4/src/libaudcore/vfs_local.cc
Examining data/audacious-4.0.4/src/libaudcore/audio.cc
Examining data/audacious-4.0.4/src/libaudcore/interface.h
Examining data/audacious-4.0.4/src/libaudcore/vfs_async.h
Examining data/audacious-4.0.4/src/libaudcore/scanner.h
Examining data/audacious-4.0.4/src/libaudcore/plugin.h
Examining data/audacious-4.0.4/src/libaudcore/ringbuf.h
Examining data/audacious-4.0.4/src/libaudcore/strpool.cc
Examining data/audacious-4.0.4/src/libaudcore/playback.cc
Examining data/audacious-4.0.4/src/libaudcore/tinylock.h
Examining data/audacious-4.0.4/src/libaudcore/eventqueue.cc
Examining data/audacious-4.0.4/src/libaudcore/probe-buffer.cc
Examining data/audacious-4.0.4/src/libaudcore/playlist-files.cc
Examining data/audacious-4.0.4/src/libaudcore/scanner.cc
Examining data/audacious-4.0.4/src/libaudcore/inifile.h
Examining data/audacious-4.0.4/src/libaudcore/probe.h
Examining data/audacious-4.0.4/src/libaudcore/audstrings.cc
Examining data/audacious-4.0.4/src/libaudcore/mainloop.cc
Examining data/audacious-4.0.4/src/libguess/libguess.h
Examining data/audacious-4.0.4/src/libguess/guess_impl.c
Examining data/audacious-4.0.4/src/libguess/dfa.c
Examining data/audacious-4.0.4/src/libguess/dfa.h
Examining data/audacious-4.0.4/src/libguess/guess.c
Examining data/audacious-4.0.4/src/libguess/guess_tab.c
Examining data/audacious-4.0.4/src/audtool/wrappers.h
Examining data/audacious-4.0.4/src/audtool/report.c
Examining data/audacious-4.0.4/src/audtool/audtool.h
Examining data/audacious-4.0.4/src/audtool/handlers_general.c
Examining data/audacious-4.0.4/src/audtool/handlers_playback.c
Examining data/audacious-4.0.4/src/audtool/handlers_vitals.c
Examining data/audacious-4.0.4/src/audtool/handlers_playqueue.c
Examining data/audacious-4.0.4/src/audtool/handlers_equalizer.c
Examining data/audacious-4.0.4/src/audtool/wrappers.c
Examining data/audacious-4.0.4/src/audtool/main.c
Examining data/audacious-4.0.4/src/audtool/handlers_playlist.c
Examining data/audacious-4.0.4/src/libaudqt/playlist-management.cc
Examining data/audacious-4.0.4/src/libaudqt/treeview.h
Examining data/audacious-4.0.4/src/libaudqt/info-widget.cc
Examining data/audacious-4.0.4/src/libaudqt/font-entry.cc
Examining data/audacious-4.0.4/src/libaudqt/prefs-window-qt.cc
Examining data/audacious-4.0.4/src/libaudqt/libaudqt.h
Examining data/audacious-4.0.4/src/libaudqt/libaudqt-internal.h
Examining data/audacious-4.0.4/src/libaudqt/art-qt.cc
Examining data/audacious-4.0.4/src/libaudqt/info-widget.h
Examining data/audacious-4.0.4/src/libaudqt/infopopup-qt.cc
Examining data/audacious-4.0.4/src/libaudqt/prefs-plugin.cc
Examining data/audacious-4.0.4/src/libaudqt/prefs-pluginlist-model.cc
Examining data/audacious-4.0.4/src/libaudqt/audqt.cc
Examining data/audacious-4.0.4/src/libaudqt/equalizer-qt.cc
Examining data/audacious-4.0.4/src/libaudqt/prefs-pluginlist-model.h
Examining data/audacious-4.0.4/src/libaudqt/treeview.cc
Examining data/audacious-4.0.4/src/libaudqt/plugin-menu-qt.cc
Examining data/audacious-4.0.4/src/libaudqt/queue-manager-qt.cc
Examining data/audacious-4.0.4/src/libaudqt/prefs-widget-qt.cc
Examining data/audacious-4.0.4/src/libaudqt/prefs-builder.cc
Examining data/audacious-4.0.4/src/libaudqt/volumebutton.cc
Examining data/audacious-4.0.4/src/libaudqt/about-qt.cc
Examining data/audacious-4.0.4/src/libaudqt/log-inspector.cc
Examining data/audacious-4.0.4/src/libaudqt/export.h
Examining data/audacious-4.0.4/src/libaudqt/colorbutton.h
Examining data/audacious-4.0.4/src/libaudqt/eq-preset-qt.cc
Examining data/audacious-4.0.4/src/libaudqt/menu-qt.cc
Examining data/audacious-4.0.4/src/libaudqt/menu.h
Examining data/audacious-4.0.4/src/libaudqt/prefs-widget.h
Examining data/audacious-4.0.4/src/libaudqt/iface.h
Examining data/audacious-4.0.4/src/libaudqt/colorbutton.cc
Examining data/audacious-4.0.4/src/libaudqt/fileopener.cc
Examining data/audacious-4.0.4/src/libaudqt/url-opener-qt.cc
Examining data/audacious-4.0.4/src/libaudqt/util-qt.cc
Examining data/audacious-4.0.4/src/libaudqt/file-entry.cc
Examining data/audacious-4.0.4/src/libaudqt/infowin-qt.cc
Examining data/audacious-4.0.4/src/audacious/main.h
Examining data/audacious-4.0.4/src/audacious/signals.cc
Examining data/audacious-4.0.4/src/audacious/dbus-server.cc
Examining data/audacious-4.0.4/src/audacious/util.h
Examining data/audacious-4.0.4/src/audacious/util.cc
Examining data/audacious-4.0.4/src/audacious/main.cc

FINAL RESULTS:

data/audacious-4.0.4/src/libaudcore/runtime.cc:92:15:  [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.
    int len = readlink("/proc/self/exe", buf, buf.len());
data/audacious-4.0.4/src/libaudcore/adder.cc:94:5:  [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(
data/audacious-4.0.4/src/libaudcore/audstrings.cc:173:15:  [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.
    int len = vsnprintf(str, str.len(), format, args);
data/audacious-4.0.4/src/libaudcore/audstrings.cc:183:16:  [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.
    int len1 = vsnprintf(str + len0, str.len() - len0, format, args);
data/audacious-4.0.4/src/libaudcore/strpool.cc:72: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(node->str(), s);
data/audacious-4.0.4/src/audacious/main.cc:269:31:  [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.
    const char * startup_id = getenv ("DESKTOP_STARTUP_ID");
data/audacious-4.0.4/src/libaudcore/playlist.cc:569:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(time(nullptr));
data/audacious-4.0.4/src/libaudcore/runtime.cc:250:22:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
    g_setenv("HOME", g_get_home_dir(), true);
data/audacious-4.0.4/src/libaudcore/util.cc:42:32:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
            g_filename_to_utf8(g_get_home_dir(), -1, nullptr, nullptr, nullptr);
data/audacious-4.0.4/src/libaudcore/util.cc:68:38:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
    StringBuf name = filename_build({g_get_tmp_dir(), "audacious-temp-XXXXXX"});
data/audacious-4.0.4/src/audacious/dbus-server.cc:218:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char * fields[Tuple::n_fields + 1];
data/audacious-4.0.4/src/audacious/main.cc:192:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char pad[21] = "                    ";
data/audacious-4.0.4/src/audacious/util.cc:41:41:  [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.
        argv[i] = String (str_convert ((char *) split[i],
data/audacious-4.0.4/src/audtool/handlers_equalizer.c:68:16:  [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).
    int band = atoi (argv[1]);
data/audacious-4.0.4/src/audtool/handlers_equalizer.c:115:16:  [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).
    int band = atoi (argv[1]);
data/audacious-4.0.4/src/audtool/handlers_general.c:47:15:  [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).
    int vol = atoi (argv[1]);
data/audacious-4.0.4/src/audtool/handlers_playlist.c:85:28:  [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).
    if (argc < 2 || (pos = atoi (argv[1])) < 1)
data/audacious-4.0.4/src/audtool/handlers_playlist.c:185:62:  [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).
    obj_audacious_call_set_active_playlist_sync (dbus_proxy, atoi (argv[1]) - 1, NULL, NULL);
data/audacious-4.0.4/src/audtool/handlers_playlist.c:338:28:  [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).
    if (argc < 3 || (pos = atoi (argv[2])) < 1)
data/audacious-4.0.4/src/audtool/handlers_playlist.c:354:28:  [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).
    if (argc < 3 || (pos = atoi (argv[2])) < 1)
data/audacious-4.0.4/src/audtool/main.c:171: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 name[32];
data/audacious-4.0.4/src/audtool/main.c:173: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 (name, "org.atheme.audacious");
data/audacious-4.0.4/src/audtool/main.c:175:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf (name, "org.atheme.audacious-%d", instance);
data/audacious-4.0.4/src/libaudcore/adder.cc:85: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.
static char status_path[512];
data/audacious-4.0.4/src/libaudcore/adder.cc:93: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 scratch[128];
data/audacious-4.0.4/src/libaudcore/audstrings.cc:40: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 ascii_to_hex[256] =
data/audacious-4.0.4/src/libaudcore/audstrings.cc:50: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 hex_to_ascii[16] = {'0', '1', '2', '3', '4', '5', '6', '7',
data/audacious-4.0.4/src/libaudcore/audstrings.cc:53: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 uri_legal_table[256] =
data/audacious-4.0.4/src/libaudcore/audstrings.cc:69: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 swap_case[256] =
data/audacious-4.0.4/src/libaudcore/audstrings.cc:127: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(str, s, len);
data/audacious-4.0.4/src/libaudcore/audstrings.cc:143:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(set, s, len);
data/audacious-4.0.4/src/libaudcore/audstrings.cc:391:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(out, str, block);
data/audacious-4.0.4/src/libaudcore/audstrings.cc:406: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, str, len);
data/audacious-4.0.4/src/libaudcore/audstrings.cc:574:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(set, s, len);
data/audacious-4.0.4/src/libaudcore/audstrings.cc:922: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 dmap[256] = {0};
data/audacious-4.0.4/src/libaudcore/audstrings.cc:971:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(set, sep, seplen);
data/audacious-4.0.4/src/libaudcore/audstrings.cc:977:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(set, s, len);
data/audacious-4.0.4/src/libaudcore/equalizer-preset.cc:128: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 header[31];
data/audacious-4.0.4/src/libaudcore/equalizer-preset.cc:129: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 bands[11];
data/audacious-4.0.4/src/libaudcore/equalizer-preset.cc:130: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 preset_name[181];
data/audacious-4.0.4/src/libaudcore/equalizer-preset.cc:161: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 name[257];
data/audacious-4.0.4/src/libaudcore/equalizer-preset.cc:162: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 bands[11];
data/audacious-4.0.4/src/libaudcore/index.cc:123:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(to, from, len);
data/audacious-4.0.4/src/libaudcore/index.cc:213: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((char *)m_data + to, (char *)b.m_data + from, len);
data/audacious-4.0.4/src/libaudcore/interface.cc:210:42:  [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).
EXPORT void aud_ui_show_filebrowser(bool open)
data/audacious-4.0.4/src/libaudcore/interface.cc:213:45:  [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).
        current_interface->show_filebrowser(open);
data/audacious-4.0.4/src/libaudcore/interface.h:42:35:  [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).
void aud_ui_show_filebrowser(bool open);
data/audacious-4.0.4/src/libaudcore/output.cc:503:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buffer1.begin(), data, sizeof(float) * samples);
data/audacious-4.0.4/src/libaudcore/parse.h:42: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 m_key[512];
data/audacious-4.0.4/src/libaudcore/playlist-utils.cc:319:54:  [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).
            PlaylistEx::insert_with_stamp(count + i, atoi(number));
data/audacious-4.0.4/src/libaudcore/plugin.h:153: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).
    virtual VFSImpl * fopen(const char * filename, const char * mode,
data/audacious-4.0.4/src/libaudcore/plugin.h:530:40:  [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).
    virtual void show_filebrowser(bool open) = 0;
data/audacious-4.0.4/src/libaudcore/probe-buffer.cc:68:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buffer, m_buffer + m_at, copy);
data/audacious-4.0.4/src/libaudcore/ringbuf.cc:126:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(areas.area1, from, areas.len1);
data/audacious-4.0.4/src/libaudcore/ringbuf.cc:127:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(areas.area2, (const char *)from + areas.len1, areas.len2);
data/audacious-4.0.4/src/libaudcore/ringbuf.cc:137: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(areas.area1, from, areas.len1);
data/audacious-4.0.4/src/libaudcore/ringbuf.cc:138: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(areas.area2, (const char *)from + areas.len1, areas.len2);
data/audacious-4.0.4/src/libaudcore/ringbuf.cc:152: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(to, areas.area1, areas.len1);
data/audacious-4.0.4/src/libaudcore/ringbuf.cc:153: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((char *)to + areas.len1, areas.area2, areas.len2);
data/audacious-4.0.4/src/libaudcore/runtime.cc:246:23:  [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 *)aud_paths[AudPath::PlaylistDir], strerror(errno));
data/audacious-4.0.4/src/libaudcore/stringbuf.cc:50: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[Size - sizeof top];
data/audacious-4.0.4/src/libaudcore/stringbuf.cc:181:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(new_data, m_data, bytes_to_copy);
data/audacious-4.0.4/src/libaudcore/stringbuf.cc:271:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(m_data + pos, s, len);
data/audacious-4.0.4/src/libaudcore/templates.h:299: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 data[sizeof...(args) + 1] = {args..., '\0'};
data/audacious-4.0.4/src/libaudcore/tests/test.cc:41: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 packed[30];
data/audacious-4.0.4/src/libaudcore/tests/test.cc:486: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 expect[262145];
data/audacious-4.0.4/src/libaudcore/tuple-compiler.cc:78:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        integer = atoi(name);
data/audacious-4.0.4/src/libaudcore/tuple-compiler.cc:471:43:  [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).
                        resulti = tmpi1 - atoi(tmps2);
data/audacious-4.0.4/src/libaudcore/tuple-compiler.cc:473:35:  [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).
                        resulti = atoi(tmps1) - tmpi2;
data/audacious-4.0.4/src/libaudcore/tuple.cc:299:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(subtunes, subs, sizeof subtunes[0] * nsubs);
data/audacious-4.0.4/src/libaudcore/tuple.cc:681:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    value = val ? atoi(val) / 1000 : 0;
data/audacious-4.0.4/src/libaudcore/vfs.cc:97:26:  [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).
    VFSImpl * impl = tp->fopen(strip_subtune(filename), mode, m_error);
data/audacious-4.0.4/src/libaudcore/vfs.cc:110:25:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
EXPORT VFSFile VFSFile::tmpfile()
data/audacious-4.0.4/src/libaudcore/vfs.h:129:20:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    static VFSFile tmpfile();
data/audacious-4.0.4/src/libaudcore/vfs_local.cc:79:27:  [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).
VFSImpl * LocalTransport::fopen(const char * uri, const char * mode,
data/audacious-4.0.4/src/libaudcore/vfs_local.cc:129:27:  [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).
VFSImpl * StdinTransport::fopen(const char * uri, const char * mode,
data/audacious-4.0.4/src/libaudcore/vfs_local.cc:143:21:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    FILE * stream = tmpfile();
data/audacious-4.0.4/src/libaudcore/vfs_local.h:30:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    VFSImpl * fopen(const char * filename, const char * mode, String & error);
data/audacious-4.0.4/src/libaudcore/vfs_local.h:41:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    VFSImpl * fopen(const char * filename, const char * mode, String & error);
data/audacious-4.0.4/src/libaudcore/vis-runner.cc:202:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(current_node->data + channels * current_frames, &data[at],
data/audacious-4.0.4/src/libaudcore/visualization.cc:71:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(mono, data, sizeof(float) * 512);
data/audacious-4.0.4/src/libaudgui/about.cc:36:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char * titles[2] = {N_("Credits"), N_("License")};
data/audacious-4.0.4/src/libaudgui/about.cc:37:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char * text[2] = {credits, license};
data/audacious-4.0.4/src/libaudgui/equalizer.cc:124:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char * const names[AUD_EQ_NBANDS] = {N_("31 Hz"), N_("63 Hz"),
data/audacious-4.0.4/src/libaudgui/file-opener.cc:50:9:  [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 (open)
data/audacious-4.0.4/src/libaudgui/file-opener.cc:72:49:  [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).
static GtkWidget * create_filebrowser (gboolean open)
data/audacious-4.0.4/src/libaudgui/file-opener.cc:76:9:  [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 (open)
data/audacious-4.0.4/src/libaudgui/file-opener.cc:138:73:  [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).
    g_object_set_data ((GObject *) chooser, "do-open", GINT_TO_POINTER (open));
data/audacious-4.0.4/src/libaudgui/file-opener.cc:148:42:  [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).
EXPORT void audgui_run_filebrowser (bool open)
data/audacious-4.0.4/src/libaudgui/file-opener.cc:150:79:  [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).
    audgui_show_unique_window (AUDGUI_FILEBROWSER_WINDOW, create_filebrowser (open));
data/audacious-4.0.4/src/libaudgui/infowin.cc:49: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 * codec_labels[CODEC_ITEMS] = {
data/audacious-4.0.4/src/libaudgui/infowin.cc:190:31:  [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).
        tuple.set_int (field, atoi (text));
data/audacious-4.0.4/src/libaudgui/infowin.cc:474:56:  [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 * text = codec_values[row] ? (const char *) codec_values[row] : _("N/A");
data/audacious-4.0.4/src/libaudgui/init.cc:47: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 * const window_names[AUDGUI_NUM_UNIQUE_WINDOWS] = {
data/audacious-4.0.4/src/libaudgui/libaudgui.h:54:35:  [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).
void audgui_run_filebrowser (bool open);
data/audacious-4.0.4/src/libaudgui/libaudgui.h:99:39:  [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).
void audgui_show_add_url_window (bool open);
data/audacious-4.0.4/src/libaudgui/prefs-window.cc:376: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 * const titlestring_presets[TITLESTRING_NPRESETS] = {
data/audacious-4.0.4/src/libaudgui/prefs-window.cc:387: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 * const titlestring_preset_names[TITLESTRING_NPRESETS] = {
data/audacious-4.0.4/src/libaudgui/url-opener.cc:36:9:  [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 (open)
data/audacious-4.0.4/src/libaudgui/url-opener.cc:52:44:  [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).
static GtkWidget * create_url_opener (bool open)
data/audacious-4.0.4/src/libaudgui/url-opener.cc:61:9:  [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 (open)
data/audacious-4.0.4/src/libaudgui/url-opener.cc:87:68:  [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).
    g_object_set_data ((GObject *) entry, "open", GINT_TO_POINTER (open));
data/audacious-4.0.4/src/libaudgui/url-opener.cc:111:46:  [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).
EXPORT void audgui_show_add_url_window (bool open)
data/audacious-4.0.4/src/libaudgui/url-opener.cc:113:77:  [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).
    audgui_show_unique_window (AUDGUI_URL_OPENER_WINDOW, create_url_opener (open));
data/audacious-4.0.4/src/libaudqt/about-qt.cc:37:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char * titles[2] = {N_("Credits"), N_("License")};
data/audacious-4.0.4/src/libaudqt/about-qt.cc:38:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char * filenames[2] = {"AUTHORS", "COPYING"};
data/audacious-4.0.4/src/libaudqt/equalizer-qt.cc:119:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char * const names[AUD_EQ_NBANDS] = {
data/audacious-4.0.4/src/libaudqt/iface.h:39:32:  [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).
    void show_filebrowser(bool open)
data/audacious-4.0.4/src/libaudqt/iface.h:41: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).
        fileopener_show(open ? FileMode::Open : FileMode::Add);
data/audacious-4.0.4/src/libaudqt/libaudqt.h:95:26:  [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).
void urlopener_show(bool open);
data/audacious-4.0.4/src/libaudqt/prefs-window-qt.cc:369: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 * const titlestring_presets[TITLESTRING_NPRESETS] = {
data/audacious-4.0.4/src/libaudqt/prefs-window-qt.cc:381: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 * const titlestring_preset_names[TITLESTRING_NPRESETS] = {
data/audacious-4.0.4/src/libaudqt/url-opener-qt.cc:38:38:  [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).
static QDialog * buildUrlDialog(bool open)
data/audacious-4.0.4/src/libaudqt/url-opener-qt.cc:45:9:  [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 (open)
data/audacious-4.0.4/src/libaudqt/url-opener-qt.cc:113:41:  [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).
                     [dialog, combobox, open]() {
data/audacious-4.0.4/src/libaudqt/url-opener-qt.cc:116:30:  [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 (open)
data/audacious-4.0.4/src/libaudqt/url-opener-qt.cc:132:33:  [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).
EXPORT void urlopener_show(bool open)
data/audacious-4.0.4/src/libaudqt/url-opener-qt.cc:136:35:  [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).
        s_dialog = buildUrlDialog(open);
data/audacious-4.0.4/src/libaudtag/ape/ape.cc:37: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 magic[8];
data/audacious-4.0.4/src/libaudtag/ape/ape.cc:260:42:  [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).
            tuple.set_int (Tuple::Track, atoi (pair.value));
data/audacious-4.0.4/src/libaudtag/ape/ape.cc:262:41:  [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).
            tuple.set_int (Tuple::Year, atoi (pair.value));
data/audacious-4.0.4/src/libaudtag/ape/ape.cc:337: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 (header.magic, "APETAGEX", 8);
data/audacious-4.0.4/src/libaudtag/id3/id3-common.cc:41:23:  [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.
        if (! ((const char *) mem)[0] && ! ((const char *) mem)[1])
data/audacious-4.0.4/src/libaudtag/id3/id3-common.cc:41:52:  [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.
        if (! ((const char *) mem)[0] && ! ((const char *) mem)[1])
data/audacious-4.0.4/src/libaudtag/id3/id3-common.cc:111:17:  [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).
    if (text && atoi (text) > 0)
data/audacious-4.0.4/src/libaudtag/id3/id3-common.cc:114:31:  [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).
        tuple.set_int (field, atoi (text));
data/audacious-4.0.4/src/libaudtag/id3/id3-common.cc:126:32:  [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).
    if (text && (tlen_length = atoi (text)))
data/audacious-4.0.4/src/libaudtag/id3/id3-common.cc:143:24:  [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).
        numericgenre = atoi (text + 1);
data/audacious-4.0.4/src/libaudtag/id3/id3-common.cc:145:24:  [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).
        numericgenre = atoi (text);
data/audacious-4.0.4/src/libaudtag/id3/id3v1.cc:33: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 header[3];
data/audacious-4.0.4/src/libaudtag/id3/id3v1.cc:34: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 title[30];
data/audacious-4.0.4/src/libaudtag/id3/id3v1.cc:35: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 artist[30];
data/audacious-4.0.4/src/libaudtag/id3/id3v1.cc:36: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 album[30];
data/audacious-4.0.4/src/libaudtag/id3/id3v1.cc:37: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 year[4];
data/audacious-4.0.4/src/libaudtag/id3/id3v1.cc:38: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 comment[30];
data/audacious-4.0.4/src/libaudtag/id3/id3v1.cc:43: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 header[4];
data/audacious-4.0.4/src/libaudtag/id3/id3v1.cc:44: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 title[60];
data/audacious-4.0.4/src/libaudtag/id3/id3v1.cc:45: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 artist[60];
data/audacious-4.0.4/src/libaudtag/id3/id3v1.cc:46: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 album[60];
data/audacious-4.0.4/src/libaudtag/id3/id3v1.cc:48: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 genre[30];
data/audacious-4.0.4/src/libaudtag/id3/id3v1.cc:49: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 start[6];
data/audacious-4.0.4/src/libaudtag/id3/id3v1.cc:50: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 end[6];
data/audacious-4.0.4/src/libaudtag/id3/id3v1.cc:116: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).
    if (atoi (year))
data/audacious-4.0.4/src/libaudtag/id3/id3v1.cc:117:37:  [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).
        tuple.set_int (Tuple::Year, atoi (year));
data/audacious-4.0.4/src/libaudtag/id3/id3v22.cc:54: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 * id3_frames[ID3_TAGS_NO] = {
data/audacious-4.0.4/src/libaudtag/id3/id3v22.cc:76: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 magic[3];
data/audacious-4.0.4/src/libaudtag/id3/id3v22.cc:84: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 key[3];
data/audacious-4.0.4/src/libaudtag/id3/id3v22.cc:85:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char size[3];
data/audacious-4.0.4/src/libaudtag/id3/id3v24.cc:61: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 * id3_frames[ID3_TAGS_NO] = {
data/audacious-4.0.4/src/libaudtag/id3/id3v24.cc:84: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 magic[3];
data/audacious-4.0.4/src/libaudtag/id3/id3v24.cc:92: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 key[4];
data/audacious-4.0.4/src/libaudtag/id3/id3v24.cc:321: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 (& header, data, sizeof (ID3v24FrameHeader));
data/audacious-4.0.4/src/libaudtag/id3/id3v24.cc:432: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 (header.magic, "ID3", 3);
data/audacious-4.0.4/src/libaudtag/id3/id3v24.cc:489: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 (& frame[3], utf16, 2 * words);
data/audacious-4.0.4/src/libaudtag/id3/id3v24.cc:511: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 (& frame[1], "eng", 3);             /* language */
data/audacious-4.0.4/src/libaudtag/id3/id3v24.cc:515: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 (& frame[10], utf16, 2 * words);
data/audacious-4.0.4/src/libaudtag/id3/id3v24.cc:666:26:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    auto temp = VFSFile::tmpfile ();
data/audacious-4.0.4/src/libguess/dfa.h:30:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    signed char (*states)[256];
data/audacious-4.0.4/src/audacious/main.cc:199:41:  [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).
         arg_info.long_arg, (int) (20 - strlen (arg_info.long_arg)), pad,
data/audacious-4.0.4/src/audacious/util.cc:42:10:  [1] (buffer) wcslen:
  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).
         wcslen (split[i]) * sizeof (wchar_t), UTF16_NATIVE, "UTF-8"));
data/audacious-4.0.4/src/libaudcore/audstrings.cc:112: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).
        return strlen(s);
data/audacious-4.0.4/src/libaudcore/audstrings.cc:124: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(s);
data/audacious-4.0.4/src/libaudcore/audstrings.cc:139:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int len = strlen(s);
data/audacious-4.0.4/src/libaudcore/audstrings.cc:189: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).
    return !g_ascii_strncasecmp(str, prefix, strlen(prefix));
data/audacious-4.0.4/src/libaudcore/audstrings.cc:194: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).
    int len1 = strlen(str);
data/audacious-4.0.4/src/libaudcore/audstrings.cc:195: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).
    int len2 = strlen(suffix);
data/audacious-4.0.4/src/libaudcore/audstrings.cc:214: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).
    int len = strlen(s);
data/audacious-4.0.4/src/libaudcore/audstrings.cc:307:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    StringBuf buf(strlen(str));
data/audacious-4.0.4/src/libaudcore/audstrings.cc:318: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).
    StringBuf buf(6 * strlen(str));
data/audacious-4.0.4/src/libaudcore/audstrings.cc:338:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    StringBuf buf(strlen(str));
data/audacious-4.0.4/src/libaudcore/audstrings.cc:349: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).
    StringBuf buf(6 * strlen(str));
data/audacious-4.0.4/src/libaudcore/audstrings.cc:379: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(str);
data/audacious-4.0.4/src/libaudcore/audstrings.cc:417: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(str);
data/audacious-4.0.4/src/libaudcore/audstrings.cc:490: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).
    int homelen = home ? strlen(home) : 0;
data/audacious-4.0.4/src/libaudcore/audstrings.cc:570:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int len = strlen(s);
data/audacious-4.0.4/src/libaudcore/audstrings.cc:687: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).
    const char * end = uri + strlen(uri);
data/audacious-4.0.4/src/libaudcore/audstrings.cc:961:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int seplen = strlen(sep);
data/audacious-4.0.4/src/libaudcore/audstrings.cc:965:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int len = strlen(s);
data/audacious-4.0.4/src/libaudcore/charset.cc:46: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(str);
data/audacious-4.0.4/src/libaudcore/charset.cc:142:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    auto rd = settings_lock.read();
data/audacious-4.0.4/src/libaudcore/charset.cc:145: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(str);
data/audacious-4.0.4/src/libaudcore/equalizer-preset.cc:167:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(name, preset.name, 257);
data/audacious-4.0.4/src/libaudcore/logger.cc:99:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    auto rd = lock.read();
data/audacious-4.0.4/src/libaudcore/runtime.cc:134: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).
    buf.resize(strlen(buf));
data/audacious-4.0.4/src/libaudcore/runtime.cc:147:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int oldlen = strlen(from);
data/audacious-4.0.4/src/libaudcore/runtime.cc:148:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int newlen = strlen(to);
data/audacious-4.0.4/src/libaudcore/stringbuf.cc:265: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(s);
data/audacious-4.0.4/src/libaudcore/strpool.cc:67:39:  [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).
        auto size = sizeof(StrNode) + strlen(s) + 1;
data/audacious-4.0.4/src/libaudcore/threads.h:78:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    reader read() __attribute__((warn_unused_result)) { return reader(this); }
data/audacious-4.0.4/src/libaudcore/util.cc:105: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).
    int len_a = dot_a ? dot_a - a : strlen(a);
data/audacious-4.0.4/src/libaudcore/util.cc:106: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).
    int len_b = dot_b ? dot_b - b : strlen(b);
data/audacious-4.0.4/src/libaudgui/jump-to-track-cache.cc:205: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).
        match_string[strlen (match_string) - 1] = 0;
data/audacious-4.0.4/src/libaudgui/urilist.cc:83:39:  [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).
            buf.insert (filename, -1, strlen (filename));
data/audacious-4.0.4/src/libaudtag/ape/ape.cc:279:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int key_len = strlen (key) + 1;
data/audacious-4.0.4/src/libaudtag/ape/ape.cc:280: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).
    int value_len = strlen (value);
data/audacious-4.0.4/src/libaudtag/id3/id3-common.cc:237: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).
    size -= strlen (domain) + 1;
data/audacious-4.0.4/src/libaudtag/id3/id3-common.cc:238: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).
    data += strlen (domain) + 1;
data/audacious-4.0.4/src/libaudtag/id3/id3v1.cc:90: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).
    str.resize (strlen (str));
data/audacious-4.0.4/src/libaudtag/id3/id3v24.cc:391:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (header.key, frame.key, 4);

ANALYSIS SUMMARY:

Hits = 199
Lines analyzed = 46430 in approximately 1.18 seconds (39294 lines/second)
Physical Source Lines of Code (SLOC) = 32560
Hits@level = [0]  90 [1]  41 [2] 148 [3]   5 [4]   4 [5]   1
Hits@level+ = [0+] 289 [1+] 199 [2+] 158 [3+]  10 [4+]   5 [5+]   1
Hits/KSLOC@level+ = [0+] 8.87592 [1+] 6.11179 [2+] 4.85258 [3+] 0.307125 [4+] 0.153563 [5+] 0.0307125
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.