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/mp3splt-2.6.2+20170630/libmp3splt/doc/examples/minimal.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/include/libmp3splt/mp3splt.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/include/libmp3splt/version.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_frame_reader.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_frame_reader.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_md5_decoder.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_md5_decoder.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_metadata.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_metadata.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_metadata_utils.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_metadata_utils.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_silence.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_silence.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_tags.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_tags.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_utils.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_utils.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/from_flac_library.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/from_flac_library.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/md5.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/md5.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3_silence.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3_silence.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3_utils.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3_utils.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg_new_stream_handler.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg_new_stream_handler.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg_silence.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg_silence.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg_utils.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg_utils.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/silence_processors.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/silence_processors.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/audacity.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/audacity.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/cddb.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/cddb.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/cddb_cue_common.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/cddb_cue_common.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/checks.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/checks.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/client.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/client.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/conversions.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/conversions.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/cue.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/cue.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/debug.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/debug.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/errors.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/errors.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/filename_regex.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/filename_regex.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/freedb.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/freedb.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/freedb_utils.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/freedb_utils.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/input_output.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/input_output.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/mp3splt.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/options.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/options.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/output_format.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/output_format.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/pair.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/pair.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/plugins.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/plugins.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/proxy.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/proxy.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/silence_utils.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/silence_utils.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/socket_manager.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/socket_manager.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/split_points.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/split_points.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/splt.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/splt.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/splt_array.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/splt_array.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/sync_errors.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/sync_errors.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/tags_parser.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/tags_parser.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/tags_utils.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/tags_utils.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/types_func.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/types_func.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/utils.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/utils.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/win32.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/win32.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/wrap.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/src/wrap.h
Examining data/mp3splt-2.6.2+20170630/libmp3splt/test/test_filename_regex.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/test/test_minimum_track_join.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/test/test_pair.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/test/test_socket_manager.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/test/test_splitpoints_handling.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/test/test_splt_array.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/test/test_string_utils.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/test/test_tags_handling.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/test/tests.c
Examining data/mp3splt-2.6.2+20170630/libmp3splt/test/tests.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/all_includes.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/audacious_control.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/audacious_control.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/combo_helper.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/combo_helper.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/douglas_peucker.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/douglas_peucker.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/drag_and_drop.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/drag_and_drop.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/drawing_helper.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/drawing_helper.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/export.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/export.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/external_includes.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/freedb_window.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/freedb_window.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/gstreamer_control.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/gstreamer_control.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/import.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/import.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/libmp3splt_manager.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/libmp3splt_manager.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/main_window.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/main_window.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/messages_window.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/messages_window.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/mp3splt-gtk.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/mp3splt-gtk.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/multiple_files_window.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/multiple_files_window.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/mutex.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/mutex.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/options_manager.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/options_manager.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/player_control.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/player_control.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/player_window.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/player_window.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/preferences_manager.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/preferences_manager.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/preferences_window.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/preferences_window.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/radio_helper.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/radio_helper.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/snackamp_control.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/snackamp_control.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/split_files_window.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/split_files_window.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/split_mode_window.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/split_mode_window.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/splitpoints_window.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/splitpoints_window.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/ui_manager.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/ui_manager.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/ui_types.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/utilities.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/utilities.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/widgets_helper.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/widgets_helper.h
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/test/test_douglas_peucker.c
Examining data/mp3splt-2.6.2+20170630/mp3splt-gtk/test/tests.h
Examining data/mp3splt-2.6.2+20170630/mp3splt/src/common.h
Examining data/mp3splt-2.6.2+20170630/mp3splt/src/data_manager.c
Examining data/mp3splt-2.6.2+20170630/mp3splt/src/data_manager.h
Examining data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c
Examining data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.h
Examining data/mp3splt-2.6.2+20170630/mp3splt/src/mp3splt.c
Examining data/mp3splt-2.6.2+20170630/mp3splt/src/options_checker.c
Examining data/mp3splt-2.6.2+20170630/mp3splt/src/options_checker.h
Examining data/mp3splt-2.6.2+20170630/mp3splt/src/options_manager.c
Examining data/mp3splt-2.6.2+20170630/mp3splt/src/options_manager.h
Examining data/mp3splt-2.6.2+20170630/mp3splt/src/options_parsers.c
Examining data/mp3splt-2.6.2+20170630/mp3splt/src/options_parsers.h
Examining data/mp3splt-2.6.2+20170630/mp3splt/src/print_utils.c
Examining data/mp3splt-2.6.2+20170630/mp3splt/src/print_utils.h
Examining data/mp3splt-2.6.2+20170630/mp3splt/src/utils.c
Examining data/mp3splt-2.6.2+20170630/mp3splt/src/utils.h
Examining data/mp3splt-2.6.2+20170630/mp3splt/src/windows_utils.c
Examining data/mp3splt-2.6.2+20170630/mp3splt/src/windows_utils.h

FINAL RESULTS:

data/mp3splt-2.6.2+20170630/libmp3splt/src/input_output.c:121:30:  [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.
    ssize_t real_link_size = readlink(fname, linked_fname, bufsize);
data/mp3splt-2.6.2+20170630/libmp3splt/doc/examples/minimal.c:85:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stdout, message);
data/mp3splt-2.6.2+20170630/libmp3splt/doc/examples/minimal.c:90:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf(stderr, message);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac.c:63:3:  [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(info->extension, strlen(SPLT_FLAC_EXT)+1, SPLT_FLAC_EXT);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3426: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(info->extension, strlen(SPLT_MP3EXT)+1, SPLT_MP3EXT);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg.c:1417: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(info->extension, strlen(SPLT_OGGEXT)+1, SPLT_OGGEXT);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:548:15:  [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(fm, fm_length, temp, mMsShH_value);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:595: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(fm, fm_length, temp, dup);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:643: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(fm, fm_length, temp, dup);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:690: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(fm, fm_length, temp, dup);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:737: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(fm, fm_length, temp, dup);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:784: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(fm, fm_length, temp, dup);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:830: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(fm, fm_length, temp, dup);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:908: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(fm, fm_length, temp, "", "");
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:917:15:  [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(fm, fm_length, temp, tracknumber);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:948:15:  [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(fm, fm_length, temp, original_filename);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:980:15:  [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(fm, fm_length, temp, last_dir);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:1030:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(output_filename, fm);
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:665:21:  [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.
    written_chars = vsnprintf(mess, size, message, ap);
data/mp3splt-2.6.2+20170630/libmp3splt/src/tags_utils.c:668:15:  [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(mMsShH_str, 100, temp, mMsShH_value);
data/mp3splt-2.6.2+20170630/libmp3splt/src/tags_utils.c:744:11:  [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(track_str, 10, temp, track_to_set);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/audacious_control.c:133:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  if (system(exec_this) != -1)
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/snackamp_control.c:436:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  if (system(exec_this) != -1)
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:46:17:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
#warning Faking getpass() !!!
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:47:7:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
char *getpass(char *p)
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:59:7:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
char *getpass(char *s)
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:390:3:  [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(line, length, junk);
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:523:16:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
  char *pass = getpass(_("Password: "));
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:550: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(config_file, maximum_length, "%s%c"PROXY_CONFIG_FILE, home_directory, SPLT_DIRCHAR);
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:554: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(config_file, maximum_length, PROXY_CONFIG_FILE);
data/mp3splt-2.6.2+20170630/mp3splt/src/print_utils.c:206:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf(std, PACKAGE_NAME" "VERSION" ("MP3SPLT_DATE") -"
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg.c:573:3:  [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(NULL));
data/mp3splt-2.6.2+20170630/libmp3splt/src/input_output.c:98:25:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  char *resolved_path = realpath(fname, NULL);
data/mp3splt-2.6.2+20170630/libmp3splt/src/plugins.c:1031:34:  [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.
  err = splt_su_append_str(&dir, getenv("HOME"), SPLT_DIRSTR, ".libmp3splt", NULL);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/main_window.c:167:15:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
        if (! CreateProcess(NULL, browser_command,
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/main_window.c:167:15:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
        if (! CreateProcess(NULL, browser_command,
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/main_window.c:1084:20:  [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 ((option = getopt(argc, argv, "d:")) != -1)
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/main_window.c:1125:26:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  char *input_filename = realpath(argv[optind], NULL);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/preferences_manager.c:135:30:  [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.
  gchar *home_dir = g_strdup(g_get_home_dir());
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/preferences_manager.c:830:29:  [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.
    const gchar *home_dir = g_get_home_dir();
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/preferences_manager.c:843: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.
    const gchar *default_dir = g_get_home_dir();
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:537:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char *home_directory = getenv("HOME");
data/mp3splt-2.6.2+20170630/mp3splt/src/mp3splt.c:156:20:  [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 ((option = getopt(data->argc, data->argv,
data/mp3splt-2.6.2+20170630/libmp3splt/include/libmp3splt/mp3splt.h:1482: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 splt_id3v1_genres[SPLT_ID3V1_NUMBER_OF_GENRES][25];
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac.c:275: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 flac_infos[1024] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac.c:281: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 total_time[256] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_frame_reader.c:509:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ptr + 1,
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_frame_reader.c:555:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(fr->previous_frame, frame, frame_length);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_frame_reader.c:610:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char flac_word[4] = { 0x66, 0x4C, 0x61, 0x43 };
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_frame_reader.c:789:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char track_str[255] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_frame_reader.c:875:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char space[4+SPLT_FLAC_METADATA_HEADER_LENGTH+SPLT_FLAC_STREAMINFO_LENGTH] = {'\0'};
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_md5_decoder.c:43: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(buffer, start, to_read);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_md5_decoder.c:50:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, start, to_read);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_metadata_utils.c:138:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char flac_stream_marker[4] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_metadata_utils.c:162: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 block_length[3];
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_tags.c:43:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(new, ptr, length);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_tags.c:144: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).
    int track = atoi(comment + 12);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_utils.c:107:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(fr->output_buffer + existing_size, fr->buffer, SPLT_FLAC_FR_BUFFER_SIZE);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/from_flac_library.c:66:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char const splt_flac_l_crc8_table[256] = {
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/from_flac_library.c:322:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(block->md5sum, b+8, 16);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/from_flac_library.c:342:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(bytes+18, block->md5sum, 16);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/from_flac_library.c:349:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char utf8[7] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/from_flac_library.h:65:17:  [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 unsigned char const splt_flac_l_crc8_table[256];
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/md5.c:227:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&ctx->buffer[used], data, size);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/md5.c:231:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&ctx->buffer[used], data, available);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/md5.c:242:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ctx->buffer, data, size);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/md5.h: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.
	unsigned char buffer[64];
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:534:25:  [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 track = atoi((char *)tag_value);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:544:25:  [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 id3v1 = atoi(genre);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:547:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              id3v1 = atoi(genre+1);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:833: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 track_str[255] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:882: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 unsigned splt_mp3_id3v1_genre_mapping[SPLT_ID3V1_NUMBER_OF_GENRES] = 
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:933:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[30] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:1344: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(mp3state->mp3file.xingbuffer, mp3state->data_ptr, mp3state->mp3file.xing);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:1500:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char mpeg_infos[1024] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:1505:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char frame_mode_infos[256] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:1528:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char total_time[256] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:1595:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buffer[SPLT_MP3_READBSIZE] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:2815: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.
static const unsigned char splt_mp3_albumwraphead[22] =
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:2841:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char filename[2048] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:2843:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char junk[2048] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3017:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          wrapfiles = atoi (junk);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3085:33:  [2] (integer) atol:
  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).
                begin = (off_t) atol (junk);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3169:31:  [2] (integer) atol:
  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).
                end = (off_t) atol (junk);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3227:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char str_temp[4];
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3277:17:  [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 temp[2048] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3751: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(data, bytes_and_size->tag_bytes, bytes_and_size->tag_length);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3766: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(data, bytes_and_size->tag_bytes_v1, bytes_and_size->tag_length_v1);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.h:87:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char reservoir[511];
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.h:173:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char inputBuffer[SPLT_MAD_BSIZE];
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3_utils.c:704: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(mp3state->overlapped_frames + current_index_in_frames, frame, frame_size);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3_utils.c:902: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(res->reservoir + res->reservoir_end, data_from_frame, number_of_bytes_to_copy);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3_utils.c:975: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 + h.framesize - res->reservoir_end, res->reservoir, res->reservoir_end);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg.c:122:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char ogg_infos[1024] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg.c:128:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char total_time[256] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg.c:349: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).
    int track = atoi(tr);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg_silence.c:132: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(&og, page, sizeof(ogg_page));
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg_silence.c: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(&oy, oggstate->sync_in, sizeof(*oggstate->sync_in));
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg_silence.c:149: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(oy.data, oggstate->sync_in->data, storage_to_copy);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg_utils.c:141:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p->packet, packet->packet, p->length);
data/mp3splt-2.6.2+20170630/libmp3splt/src/cddb.c:190:14:  [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 id3g = atoi(line_content + 6);
data/mp3splt-2.6.2+20170630/libmp3splt/src/cddb.c:202: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 index = atoi(line_content+6);
data/mp3splt-2.6.2+20170630/libmp3splt/src/checks.c:148:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char current_directory[4] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/src/client.c:195:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char filename_shorted[512] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/src/cue.c:325:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int tracknumber = atoi(track);
data/mp3splt-2.6.2+20170630/libmp3splt/src/cue.c:739: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 upper_extension[5] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/src/debug.c:39: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 global_mem_err_mess[1024] = "error allocating memory in splt_d_print_debug !\n";
data/mp3splt-2.6.2+20170630/libmp3splt/src/errors.c:93:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char str_value[256] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/src/errors.c:105:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char str_value[256] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/src/filename_regex.c:244:13:  [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 = atoi(pattern);
data/mp3splt-2.6.2+20170630/libmp3splt/src/freedb.c:78: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 *splt_freedb_get_server(const char search_server[256])
data/mp3splt-2.6.2+20170630/libmp3splt/src/freedb.c:78:43:  [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 *splt_freedb_get_server(const char search_server[256])
data/mp3splt-2.6.2+20170630/libmp3splt/src/freedb.c:157:51:  [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.
int splt_freedb_process_search(splt_state *state, char *search,
data/mp3splt-2.6.2+20170630/libmp3splt/src/freedb.c:158:28:  [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.
    int search_type, const char search_server[256],
data/mp3splt-2.6.2+20170630/libmp3splt/src/freedb.c:320:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char *splt_freedb_get_file(splt_state *state, int disc_id, int *error,
data/mp3splt-2.6.2+20170630/libmp3splt/src/freedb.c:321:25:  [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.
    int get_type, const char cddb_get_server[256], int port_number)
data/mp3splt-2.6.2+20170630/libmp3splt/src/freedb_utils.c:287: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).
  prev->revisions[0] = atoi(album_name);
data/mp3splt-2.6.2+20170630/libmp3splt/src/freedb_utils.c:302:44:  [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).
  prev->revisions[prev->revision_number] = atoi(album_name);
data/mp3splt-2.6.2+20170630/libmp3splt/src/input_output.c:531:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    return fopen(filename, mode);
data/mp3splt-2.6.2+20170630/libmp3splt/src/mp3splt.c:52: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 splt_id3v1_genres[SPLT_ID3V1_NUMBER_OF_GENRES][25] = {
data/mp3splt-2.6.2+20170630/libmp3splt/src/mp3splt.c:1481: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 *search_string,
data/mp3splt-2.6.2+20170630/libmp3splt/src/mp3splt.c:1484: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 search_server[256],
data/mp3splt-2.6.2+20170630/libmp3splt/src/mp3splt.c:1582: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 *cddb_file, int cddb_get_type,
data/mp3splt-2.6.2+20170630/libmp3splt/src/mp3splt.c:1583: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 cddb_get_server[256], int port)
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:157:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char err[2] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/src/plugins.c:345:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char current_dir[3] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/src/socket_manager.c:359:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[SPLT_BUFFER_SIZE] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/src/splt.c:783:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char remove_str[128] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/src/splt.c:795:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char auto_user_str[128] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/src/splt.h:91:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char discid[SPLT_DISCIDLEN+1];
data/mp3splt-2.6.2+20170630/libmp3splt/src/splt.h:92:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char category[20];
data/mp3splt-2.6.2+20170630/libmp3splt/src/splt.h:209:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char format[SPLT_OUTNUM+1][SPLT_MAXOLEN];
data/mp3splt-2.6.2+20170630/libmp3splt/src/splt.h:244:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char filename_shorted[512];
data/mp3splt-2.6.2+20170630/libmp3splt/src/tags_parser.c:156:11:  [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(word,equal_sign+1,string_length);
data/mp3splt-2.6.2+20170630/libmp3splt/src/tags_parser.c:338: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).
      track = atoi(tracknumber);
data/mp3splt-2.6.2+20170630/libmp3splt/src/tags_utils.c:217: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).
    int track = atoi(value);
data/mp3splt-2.6.2+20170630/libmp3splt/src/tags_utils.c:579:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[256] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/src/tags_utils.c:653:15:  [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 temp[6] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/src/tags_utils.c:665:15:  [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 mMsShH_str[100] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/src/tags_utils.c:735: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.
          char temp[5] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/src/tags_utils.c:741: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.
          char track_str[10] = { '\0' };
data/mp3splt-2.6.2+20170630/libmp3splt/src/win32.c:256:24:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  int converted_size = MultiByteToWideChar(encoding, 0, source, -1, NULL, 0);
data/mp3splt-2.6.2+20170630/libmp3splt/src/win32.c:262:7:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      MultiByteToWideChar(encoding, 0, source, -1, dest, converted_size);
data/mp3splt-2.6.2+20170630/libmp3splt/test/test_string_utils.c:79:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char path[20] = { "/test.cue" };
data/mp3splt-2.6.2+20170630/libmp3splt/test/test_string_utils.c:83:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char path2[20] = { "/home/my/test.cue" };
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/freedb_window.c:325: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).
      gint year = atoi(utf8_str);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/freedb_window.c:335:20:  [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).
      gint track = atoi(utf8_str);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/main_window.c:118:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char default_browser[512] = { '\0' };
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/main_window.c:140: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 browser_exe[2048] = { '\0' };
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/main_window.c:143: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 browser_exe_registry[1024] = { '\0' };
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/messages_window.c:45:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char time_str[128] = { '\0' };
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/mp3splt-gtk.c:398:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char mp3splt_uninstall_file[2048] = { '\0' };
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/preferences_manager.c:883:36:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *preferences_file = (FILE *)fopen(filename,"w");
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/snackamp_control.c:220:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(result,"disconnected");
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/snackamp_control.c:276: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).
    our_integer = atoi (number);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/snackamp_control.c:337:14:  [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).
  gint nch = atoi(ptr);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/snackamp_control.c:608:12:  [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).
  gint i = atoi(result);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/snackamp_control.c:633:12:  [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).
  gint i = atoi(result);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/splitpoints_window.c:848: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).
      new_point.secs = atoi(new_text);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/splitpoints_window.c:864: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).
      new_point.mins = atoi(new_text);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/splitpoints_window.c:883:30:  [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).
      new_point.hundr_secs = atoi(new_text);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/splitpoints_window.c:899:27:  [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).
      gint value = (gint) atoi(new_text);
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:98:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char search_type[30] = "";
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:99:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char get_type[30] = "";
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:126:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char freedb_input[2048] = { '\0' };
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:206: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.
          char junk[18];
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:223:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char junk[18];
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:246: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 sel_cd_input[1024] = { '\0' };
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:277:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        selected_cd = atoi(sel_cd_input);
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:310:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *input_file = fopen(config_file, "r");
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:325:14:  [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 port = atoi(proxy_port);
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:383:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char junk[512] = { '\0' };
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:447:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((output_file = fopen(config_file, "r")))
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:459: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).
  if (!(output_file = fopen(config_file, "w+")))
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:468:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char user_input[1024] = { '\0' };
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:518:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char user_input[130] = { '\0' };
data/mp3splt-2.6.2+20170630/mp3splt/src/mp3splt.c:81:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char mp3splt_uninstall_file[2048] = { '\0' };
data/mp3splt-2.6.2+20170630/mp3splt/src/mp3splt.c:180: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).
        opt->T_option_value = atoi(optarg);
data/mp3splt-2.6.2+20170630/mp3splt/src/mp3splt.c:246:22:  [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 intarg = atoi(optarg);
data/mp3splt-2.6.2+20170630/mp3splt/src/mp3splt.c:262:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        int intarg2 = atoi(optarg);
data/mp3splt-2.6.2+20170630/mp3splt/src/mp3splt.c:304: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).
        opt->S_option_value = atoi(optarg);
data/mp3splt-2.6.2+20170630/mp3splt/src/mp3splt.c:889:15:  [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 message[256] = { '\0' };
data/mp3splt-2.6.2+20170630/mp3splt/src/options_manager.h:75:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char freedb_search_server[256];
data/mp3splt-2.6.2+20170630/mp3splt/src/options_manager.h:81:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char freedb_get_server[256];
data/mp3splt-2.6.2+20170630/mp3splt/src/options_manager.h:84:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char freedb_arg_search_string[2048];
data/mp3splt-2.6.2+20170630/mp3splt/src/options_parsers.c:302:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char freedb_type[256] = "\0";
data/mp3splt-2.6.2+20170630/mp3splt/src/options_parsers.c:329:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char freedb_server[256] = "\0";
data/mp3splt-2.6.2+20170630/mp3splt/src/options_parsers.c:356:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char freedb_port[10] = "\0";
data/mp3splt-2.6.2+20170630/mp3splt/src/options_parsers.c:388: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).
            freedb_int_port = atoi(freedb_port);
data/mp3splt-2.6.2+20170630/mp3splt/src/options_parsers.c:555:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char chosen_int[256] = { '\0' };
data/mp3splt-2.6.2+20170630/mp3splt/src/options_parsers.c:559: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).
          opt->freedb_arg_result_option = atoi(chosen_int);
data/mp3splt-2.6.2+20170630/mp3splt/src/print_utils.c:58:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char temp[2048] = "";
data/mp3splt-2.6.2+20170630/mp3splt/src/print_utils.c:122:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char temp[1024] = "";
data/mp3splt-2.6.2+20170630/mp3splt/src/print_utils.c:140:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char progress_text[2048] = " ";
data/mp3splt-2.6.2+20170630/mp3splt/src/print_utils.c:186:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char printed_value[2048] = "";
data/mp3splt-2.6.2+20170630/mp3splt/src/utils.c:126:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char junk[18] = { '\0' };
data/mp3splt-2.6.2+20170630/mp3splt/src/windows_utils.c:55:51:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      argv_utf8[i] = mp3splt_win32_utf16_to_utf8((wchar_t *)argv_utf16[i]);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac.c:57:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  info->extension = malloc(strlen(SPLT_FLAC_EXT)+2);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac.c:63: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).
  snprintf(info->extension, strlen(SPLT_FLAC_EXT)+1, SPLT_FLAC_EXT);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_frame_reader.c:836:50:  [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).
    FLAC__uint32 comment_length = (FLAC__uint32) strlen(vorbis_tags->tags[i]);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_tags.c:85: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).
  if (comment == NULL || strlen(comment) == 0 || comment[0] == '\0') { return; }
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/flac_tags.c:117:35:  [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).
  vorbis_tags->total_bytes += 4 + strlen(comment);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:228:9:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    c = fgetc(in);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:294:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (fgetc(file_input)=='T')
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:295:9:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (fgetc(file_input)=='A')
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:296:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fgetc(file_input)=='G')
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:318:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (fgetc(in)=='I')
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:319:9:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (fgetc(in)=='D')
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:320:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fgetc(in)=='3')
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:330:34:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          oword = (oword << 7) | fgetc(in);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:555: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).
            else if (strlen(genre) == 0)
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:913:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp(genre_string, splt_id3v1_genres[i], strlen(genre_string)) == 0)
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:940:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(id, SPLT_MP3_TAG, 4);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:943:22:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    if (title!=NULL) strncpy(buffer, title, 30);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:947:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    if (artist!=NULL) strncpy(buffer, artist, 30);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:951:22:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    if (album!=NULL) strncpy(buffer, album, 30);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:955:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    if (year!=NULL) strncpy(buffer, year, 4);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:959:24:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    if (comment!=NULL) strncpy(buffer, comment, 30);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:2663:9:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (fgetc(mp3state->file_input)=='T') {
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:2664:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fgetc(mp3state->file_input)=='A') {
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:2665:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (fgetc(mp3state->file_input)=='G')
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:2686:9:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (fgetc(mp3state->file_input)=='I')
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:2688:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fgetc(mp3state->file_input)=='D')
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:2690:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (fgetc(mp3state->file_input)=='3')
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:2885:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (fgetc(mp3state->file_input)=='W')
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:2886:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          if (fgetc(mp3state->file_input)=='R')
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:2887:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if (fgetc(mp3state->file_input)=='A')
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:2888:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
              if (fgetc(mp3state->file_input)=='P')
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:2907:42:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          if (splt_mp3_albumwraphead[i]!=fgetc(mp3state->file_input))
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:2926:26:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          char major_v = fgetc(mp3state->file_input);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:2927:26:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          char minor_v = fgetc(mp3state->file_input);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:2933:22:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          indexver = fgetc(mp3state->file_input);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:2939:29:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          wrapfiles = (int) fgetc(mp3state->file_input);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3014:22:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          while (((c=fgetc(mp3state->file_input))!=0x20) &&(i<2048))
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3066:27:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                while ((c=fgetc(mp3state->file_input))!='[')
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3080:42:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                while ((j<2048) && ((c = fgetc(mp3state->file_input))!='['))
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3108:21:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                c = fgetc(mp3state->file_input);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3136:19:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                  strncpy(junk, filename, ptr-filename);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3164:42:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                while ((j<2048) && ((c = fgetc(mp3state->file_input))!='['))
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3185:25:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
              while ((c=fgetc(mp3state->file_input))!='[')
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3199:25:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
              while ((c=fgetc(mp3state->file_input))!='[')
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3214:33:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                filename[j++] = fgetc(mp3state->file_input);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3278:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(temp, filename, 2048);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3299: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 (dir[strlen(dir)-1] == SPLT_DIRCHAR)
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3423:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  info->extension = malloc(sizeof(char) * (strlen(SPLT_MP3EXT)+2));
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3.c:3426:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(info->extension, strlen(SPLT_MP3EXT)+1, SPLT_MP3EXT);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3_utils.c:187:5:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fgetc(mp3state->file_input);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3_utils.c:188:5:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fgetc(mp3state->file_input);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3_utils.c:192:36:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  main_data_begin = (unsigned int) fgetc(mp3state->file_input);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3_utils.c:197:24:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    main_data_begin |= fgetc(mp3state->file_input);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/mp3_utils.c:1035:24:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    mp3state->headw |= fgetc(mp3state->file_input);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg.c:1414:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  info->extension = malloc(sizeof(char) * (strlen(SPLT_OGGEXT)+2));
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg.c:1417:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(info->extension, strlen(SPLT_OGGEXT)+1, SPLT_OGGEXT);
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg_utils.c:422: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).
  if (date != NULL && strlen(date) > 0) { vorbis_comment_add_tag(vc, SPLT_OGG_DATE, date); }
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg_utils.c:433: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).
  size_t size = strlen(tag_name) + 2;
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg_utils.c:461: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).
  if (date != NULL && strlen(date) > 0) { add_tag_and_equal(SPLT_OGG_DATE, date, to_delete, error); }
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg_utils.c:504:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            tag_and_equal, strlen(tag_and_equal)) == 0)
data/mp3splt-2.6.2+20170630/libmp3splt/plugins/ogg_utils.c:538:45:  [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).
    splt_su_set(&vc->vendor, vendor_backup, strlen(vendor_backup), NULL);
data/mp3splt-2.6.2+20170630/libmp3splt/src/checks.c:383: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 (file1[strlen(file1) - 1] == '-')
data/mp3splt-2.6.2+20170630/libmp3splt/src/client.c:209:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strlen(point_name) > max_size)
data/mp3splt-2.6.2+20170630/libmp3splt/src/client.c:211: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).
        size_t size = strlen(filename_shorted);
data/mp3splt-2.6.2+20170630/libmp3splt/src/conversions.c: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).
  for(i=0; i< strlen(s); i++)
data/mp3splt-2.6.2+20170630/libmp3splt/src/cue.c:129: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).
  int err = splt_su_append(&out, ptr_b, strlen(ptr_b) + 1, NULL);
data/mp3splt-2.6.2+20170630/libmp3splt/src/cue.c:741:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for (i = 1;i < strlen(extension);i++)
data/mp3splt-2.6.2+20170630/libmp3splt/src/errors.c:410:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (state->err.error_data != NULL && strlen(state->err.error_data) == 1)
data/mp3splt-2.6.2+20170630/libmp3splt/src/filename_regex.c:107: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).
  int rc = pcre_exec(re, NULL, filename, strlen(filename), 0, 0, ovector, ovsize);
data/mp3splt-2.6.2+20170630/libmp3splt/src/freedb.c:58:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(search_server) == 0)
data/mp3splt-2.6.2+20170630/libmp3splt/src/freedb.c:82:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(search_server) == 0)
data/mp3splt-2.6.2+20170630/libmp3splt/src/freedb.c:124: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).
      discid, category, strlen(category));
data/mp3splt-2.6.2+20170630/libmp3splt/src/input_output.c:52: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).
        (filename[strlen(filename)-1] == '-'))
data/mp3splt-2.6.2+20170630/libmp3splt/src/input_output.c:327:35:  [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 (fname[0] != '\0' && fname[strlen(fname)-1] == '-')
data/mp3splt-2.6.2+20170630/libmp3splt/src/input_output.c:371:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    *headw |= fgetc(in);
data/mp3splt-2.6.2+20170630/libmp3splt/src/input_output.c:406:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strlen(only_dirs) == 2 && only_dirs[1] == ':' &&
data/mp3splt-2.6.2+20170630/libmp3splt/src/input_output.c:407: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).
          strlen(output_filename) > 3)
data/mp3splt-2.6.2+20170630/libmp3splt/src/input_output.c:431:48:  [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).
  char *dir_to_create = malloc(sizeof(char) * (strlen(dir)+100));
data/mp3splt-2.6.2+20170630/libmp3splt/src/input_output.c:458:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dir_to_create, dir, ptr-dir);
data/mp3splt-2.6.2+20170630/libmp3splt/src/input_output.c:481:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(dir_to_create, dir, strlen(dir) + 1);
data/mp3splt-2.6.2+20170630/libmp3splt/src/input_output.c:481:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  strncpy(dir_to_create, dir, strlen(dir) + 1);
data/mp3splt-2.6.2+20170630/libmp3splt/src/input_output.c:647: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).
    int fname_size = strlen(fname);
data/mp3splt-2.6.2+20170630/libmp3splt/src/input_output.c:651: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).
      int path_with_fname_size = fname_size + strlen(directory) + 2;
data/mp3splt-2.6.2+20170630/libmp3splt/src/input_output.c:683:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          int fname_size = strlen(path_with_fname) + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/input_output.c:692:11:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
          strncat((*found_files)[*(number_of_found_files)], path_with_fname, fname_size);
data/mp3splt-2.6.2+20170630/libmp3splt/src/input_output.c:758:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (line != NULL && line[strlen(line)-1] == '\n')
data/mp3splt-2.6.2+20170630/libmp3splt/src/mp3splt.c:1960:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          int fname_size = strlen(filename) + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/mp3splt.c:1970:11:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
          strncat(found_files[0], filename, fname_size);
data/mp3splt-2.6.2+20170630/libmp3splt/src/mp3splt.c:1983: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).
        if (dir[strlen(dir)-1] == SPLT_DIRCHAR)
data/mp3splt-2.6.2+20170630/libmp3splt/src/mp3splt.c:1985: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).
          dir[strlen(dir)-1] = '\0';
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:111: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).
  size_t size = strlen(s);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:134: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).
      len = strlen(ptrs);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:144:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(state->oformat.format[i++], ptrs, len);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:184:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(state->oformat.format[i++], ptrs, len);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:200:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(state->oformat.format[i], ptrs, strlen(ptrs));
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:200: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).
  strncpy(state->oformat.format[i], ptrs, strlen(ptrs));
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:218: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).
  int format_length = strlen(format);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:245: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).
  int format_length = strlen(format);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:322:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((strlen(format) > 2) && isdigit(format[2]))
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:437:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(state->oformat.format[i]) == 0)
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:452: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).
      int temp_len = strlen(state->oformat.format[i])+10;
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:539: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).
              fm_length = strlen(temp) + 1 + max_number_of_digits;
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:573: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).
            artist_length = strlen(artist_or_performer);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:574: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).
            fm_length = strlen(temp) + artist_length + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:579: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).
            fm_length = strlen(temp) + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:621: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).
            artist_length = strlen(artist);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:622: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).
            fm_length = strlen(temp) + artist_length + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:627: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).
            fm_length = strlen(temp) + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:666:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            album_length = strlen(album);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:669: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).
            fm_length = strlen(temp) + album_length + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:674: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).
            fm_length = strlen(temp) + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:713:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            genre_length = strlen(genre);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:716: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).
            fm_length = strlen(temp) + genre_length + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:721: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).
            fm_length = strlen(temp) + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:760:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            title_length = strlen(title);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:763: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).
            fm_length = strlen(temp) + title_length + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:768: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).
            fm_length = strlen(temp) + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:807:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            performer_length = strlen(performer);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:810: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).
            fm_length = strlen(temp) + performer_length + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:815: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).
            fm_length = strlen(temp) + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:887: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).
            fm_length = strlen(temp) + 1 + max_num_of_digits;
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:891: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).
            fm_length = strlen(state->oformat.format[i]) + 1 + alpha_max_num_of_digits;
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:937: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 filename_length = strlen(original_filename);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:939: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).
              fm_length = strlen(temp) + filename_length;
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:969: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 last_dir_length = strlen(last_dir);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:971: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).
              fm_length = strlen(temp) + last_dir_length;
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:998:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(fm, state->oformat.format[i], SPLT_MAXOLEN);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:1004: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).
      fm_size = strlen(fm);
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:1073:20:  [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 last_index = strlen(filename)-1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/oformat_parser.c:1104:20:  [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 max_length = strlen(format);
data/mp3splt-2.6.2+20170630/libmp3splt/src/plugins.c:73: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).
  size_t dir_size = strlen(dir) + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/plugins.c:99:7:  [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).
  if (wcslen(file) < 8)
data/mp3splt-2.6.2+20170630/libmp3splt/src/plugins.c:135:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(file) < 8)
data/mp3splt-2.6.2+20170630/libmp3splt/src/plugins.c:357: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(pl->plugins_scan_dirs[i]) >= 2) &&
data/mp3splt-2.6.2+20170630/libmp3splt/src/plugins.c:426: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 plugin_fname_len = strlen(pl->data[old].plugin_filename) + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/plugins.c:1114: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).
  int fname_length = strlen(fname);
data/mp3splt-2.6.2+20170630/libmp3splt/src/proxy.c:111: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).
  int len = strlen((char *)source);
data/mp3splt-2.6.2+20170630/libmp3splt/src/proxy.c:146: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).
    size_t authentification_length = strlen(state->proxy.authentification);
data/mp3splt-2.6.2+20170630/libmp3splt/src/socket_manager.c:154:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (send(sh->fd, message, strlen(message), 0) == -1)
data/mp3splt-2.6.2+20170630/libmp3splt/src/socket_manager.c:195:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(message) < 4)
data/mp3splt-2.6.2+20170630/libmp3splt/src/socket_manager.c:273:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(received_line) == 0)
data/mp3splt-2.6.2+20170630/libmp3splt/src/splt.c:744: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).
        log_silence_fname[strlen(log_silence_fname)-1] = '\0';
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:55: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).
  for (i = 0;i < strlen(str);i++)
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:87: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).
        replacement, strlen(replacement), NULL);
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:89:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ptr += strlen(to_replace);
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:95:53:  [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).
    err = splt_su_append(&new_str, prev_ptr, (str + strlen(str)) - prev_ptr, NULL);
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:120: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).
    size_t to_append_size = strlen(to_append);
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:153:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    new_size = to_append_size + strlen(*str) + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:161:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
  strncat(*str, to_append, to_append_size);
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:251: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 length = strlen(src) + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:290:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      for (i=0; i<=strlen(copy); i++)
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:305:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      for (i=strlen(s)-1; i >= 0; i--) 
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:384: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).
  size_t size = strlen(line);
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:399: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).
  size_t line_size = strlen(line);
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:517: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 (new_filename_path[strlen(new_filename_path)-1] == SPLT_DIRCHAR)
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:573:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  str[strlen(str)-1] = '\0';
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:607: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).
    if (path_of_split[strlen(path_of_split)] == SPLT_DIRCHAR)
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:631:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int str1_end_index = strlen(str1) - 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:632:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int str2_end_index = strlen(str2) - 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:735: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).
  for (i = 0;i < strlen(str);i++)
data/mp3splt-2.6.2+20170630/libmp3splt/src/string_utils.c:782: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).
      for (i = 0; i < strlen(new_str); i++)
data/mp3splt-2.6.2+20170630/libmp3splt/src/tags_parser.c:326:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for (i = 0;i < strlen(tracknumber);i++)
data/mp3splt-2.6.2+20170630/libmp3splt/src/tags_parser.c:420: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).
    tpu->position += strlen(tag_value) + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/tags_parser.c:442: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).
    tpu->position += strlen(tag_value) + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/tags_parser.c:480: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).
    tpu->position += strlen(tag_value) + 1;
data/mp3splt-2.6.2+20170630/libmp3splt/src/types_func.c:289:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (state->path_of_split[strlen(state->path_of_split)-1] == SPLT_DIRCHAR)
data/mp3splt-2.6.2+20170630/libmp3splt/src/win32.c:328:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(str) > 2 &&
data/mp3splt-2.6.2+20170630/libmp3splt/src/win32.c:340:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return strlen(str) == 3 &&
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/audacious_control.c:139:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
      usleep(0);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/export.c:89: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).
  gsize filename_size = strlen(configuration_directory) + 20;
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/external_includes.h:64:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
#define usleep(x) Sleep(x/1000)
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/freedb_window.c:58:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  gint malloc_number = strlen(album_name) + 20;
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/freedb_window.c:500:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  gint malloc_number = strlen(configuration_directory) + 20;
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/gstreamer_control.c:66:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        gint malloc_size = strlen(error->message) + 20;
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/gstreamer_control.c:92:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        gint malloc_size = strlen(error->message) + 20;
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/gstreamer_control.c:118:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        gint malloc_size = strlen(error->message) + 20;
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/gstreamer_control.c:270: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).
      title_size += strlen(pi->song_artist);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/gstreamer_control.c:275: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).
      title_size += strlen(pi->song_title);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/import.c:157: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).
  gsize filename_size = strlen(configuration_directory) + 20;
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/libmp3splt_manager.c:69: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).
  gint fname_status_size = (strlen(filename) + 255);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/libmp3splt_manager.c:120:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for (i = 0;i < strlen(mess);i++)
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/main_window.c:154:35:  [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).
      gint browser_command_size = strlen(browser_exe) + strlen(link) + 2;
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/main_window.c:154:57:  [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).
      gint browser_command_size = strlen(browser_exe) + strlen(link) + 2;
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/main_window.c:741:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (fname != NULL && strlen(fname) != 0)
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/options_manager.c:334:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(default_comment) == 0)
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/player_window.c:1187:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(description_shorted) > 55)
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/player_window.c:2676:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep(50000);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/preferences_manager.c:140: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).
  if (home_dir[strlen(home_dir)-1] == '\\')
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/preferences_manager.c:142:14:  [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).
    home_dir[strlen(home_dir)-1] = '\0';
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/preferences_manager.c:146:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  gint malloc_number = strlen(home_dir) + strlen(mp3splt_dir) + 2;
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/preferences_manager.c:146: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).
  gint malloc_number = strlen(home_dir) + strlen(mp3splt_dir) + 2;
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/preferences_manager.c:163:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      gint malloc_number = strlen(mp3splt_dir_with_path) + 5;
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/preferences_manager.c:194: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).
  gint fname_malloc_number = strlen(mp3splt_dir_with_path) + 30;
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/preferences_manager.c:831: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).
    gint dir_malloc_number = strlen(home_dir)+ 10;
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/preferences_manager.c:910: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).
    gint malloc_number = strlen(pref_file)+5;
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/snackamp_control.c:184:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    g_snprintf(result, strlen(result), "%s",test+1);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/snackamp_control.c:188: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).
  gint result_str = strlen(result);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/snackamp_control.c:225:48:  [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).
  gint err1 = send(ui->pi->socket_id, message, strlen(message), 0);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/snackamp_control.c:274:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (! (number == (result + strlen(result))))
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/snackamp_control.c:325:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    g_snprintf(result, strlen(result), "%s",test+1);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/snackamp_control.c:442:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
      usleep(0);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/snackamp_control.c:485: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).
    gint malloc_int = strlen(song) + 30;
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/splitpoints_window.c:379:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int description_base_length = strlen(current_description_base);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/splitpoints_window.c:390: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 length = strlen(description);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/splitpoints_window.c:1570:14:  [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).
  fname_path[strlen(fname_path) - 18] = '\0';
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/utilities.c:84: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).
  gint fname_status_size = (strlen(filename) + 255);
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/utilities.c:104: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).
  gint index = strlen(filename) - 1;
data/mp3splt-2.6.2+20170630/mp3splt-gtk/src/utilities.c:163:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(dir) == 0)
data/mp3splt-2.6.2+20170630/mp3splt/src/data_manager.c:145: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).
      int malloc_size = strlen(str) + 1;
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:147: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).
        freedb_input[strlen(freedb_input)-1] = '\0';
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:148:14:  [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).
    } while (strlen(freedb_input)==0);
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:254: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).
        sel_cd_input[strlen(sel_cd_input)-1]='\0';
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:364: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).
    memset(proxy_authentification, 0x00, strlen(proxy_authentification));
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:369: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).
    memset(authentification_as_base64, 0x00, strlen(authentification_as_base64));
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:388:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length = strlen(junk) + 1;
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:401: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 line_length = strlen(line);
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:504: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).
  memset(authentification, 0x00, strlen(authentification));
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:509:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  memset(authentification_as_base64, 0x00, strlen(authentification_as_base64));
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:521: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).
    user_input[strlen(user_input)-1] = '\0';
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:525: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).
  size_t login_size = strlen(user_input) + strlen(pass) + 2;
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:525:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t login_size = strlen(user_input) + strlen(pass) + 2;
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:529: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).
  memset(pass, 0x00, strlen(pass));
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:542: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).
    home_directory_length = strlen(home_directory);
data/mp3splt-2.6.2+20170630/mp3splt/src/freedb.c:545: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).
  size_t maximum_length = home_directory_length + strlen(PROXY_CONFIG_FILE) + 2;
data/mp3splt-2.6.2+20170630/mp3splt/src/mp3splt.c:417:35:  [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 (optarg[0] == 'r' && strlen(optarg) > 1)
data/mp3splt-2.6.2+20170630/mp3splt/src/options_parsers.c:211:54:  [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).
    regex_options->regex = my_malloc(sizeof(char) * (strlen(regex)+1));
data/mp3splt-2.6.2+20170630/mp3splt/src/options_parsers.c:212:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(regex_options->regex, regex, strlen(regex));
data/mp3splt-2.6.2+20170630/mp3splt/src/options_parsers.c:212: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).
    strncpy(regex_options->regex, regex, strlen(regex));
data/mp3splt-2.6.2+20170630/mp3splt/src/options_parsers.c:213: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).
    regex_options->regex[strlen(regex)] = '\0';
data/mp3splt-2.6.2+20170630/mp3splt/src/print_utils.c:59: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 this_spaces = strlen(value);
data/mp3splt-2.6.2+20170630/mp3splt/src/print_utils.c:60: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).
  int counter = strlen(value);
data/mp3splt-2.6.2+20170630/mp3splt/src/print_utils.c:75:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(value) > 0)
data/mp3splt-2.6.2+20170630/mp3splt/src/print_utils.c:77: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).
      if (value[strlen(value)-1] == '\n')
data/mp3splt-2.6.2+20170630/mp3splt/src/print_utils.c:85: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).
      value[strlen(value)-1] = '\0';
data/mp3splt-2.6.2+20170630/mp3splt/src/print_utils.c:123: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 this_spaces = strlen(file)+16;
data/mp3splt-2.6.2+20170630/mp3splt/src/print_utils.c:124: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).
  int counter = strlen(file)+16;
data/mp3splt-2.6.2+20170630/mp3splt/src/print_utils.c:198:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  data->printed_value_length = strlen(printed_value) + 1;
data/mp3splt-2.6.2+20170630/mp3splt/src/print_utils.c:259: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 size = strlen(error_from_library) + 10;
data/mp3splt-2.6.2+20170630/mp3splt/src/utils.c:82:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(s) > 4 && strncmp(s, "EOF-", 4) == 0)
data/mp3splt-2.6.2+20170630/mp3splt/src/utils.c:88:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for(i=0; i<strlen(scan_start); i++)
data/mp3splt-2.6.2+20170630/mp3splt/src/utils.c:106: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).
  if (scan_start[strlen(scan_start)-2] == '.')

ANALYSIS SUMMARY:

Hits = 438
Lines analyzed = 61651 in approximately 1.35 seconds (45511 lines/second)
Physical Source Lines of Code (SLOC) = 41880
Hits@level = [0] 231 [1] 241 [2] 154 [3]  12 [4]  30 [5]   1
Hits@level+ = [0+] 669 [1+] 438 [2+] 197 [3+]  43 [4+]  31 [5+]   1
Hits/KSLOC@level+ = [0+] 15.9742 [1+] 10.4585 [2+] 4.70392 [3+] 1.02674 [4+] 0.74021 [5+] 0.0238777
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.