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/butt-0.1.18/config.h
Examining data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser.cxx
Examining data/butt-0.1.18/src/FLTK/flgui.cpp
Examining data/butt-0.1.18/src/FLTK/Fl_ILM216.cpp
Examining data/butt-0.1.18/src/FLTK/flgui.h
Examining data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_FLTK.cxx
Examining data/butt-0.1.18/src/FLTK/fl_callbacks.cpp
Examining data/butt-0.1.18/src/FLTK/FL/Fl_My_Value_Slider.H
Examining data/butt-0.1.18/src/FLTK/FL/Fl_My_Native_File_Chooser.H
Examining data/butt-0.1.18/src/FLTK/FL/Fl_My_Double_Window.H
Examining data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_GTK.cxx
Examining data/butt-0.1.18/src/FLTK/fl_funcs.cpp
Examining data/butt-0.1.18/src/FLTK/Fl_ILM216.h
Examining data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx
Examining data/butt-0.1.18/src/FLTK/fl_funcs.h
Examining data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_common.cxx
Examining data/butt-0.1.18/src/FLTK/fl_timer_funcs.cpp
Examining data/butt-0.1.18/src/FLTK/fl_callbacks.h
Examining data/butt-0.1.18/src/FLTK/fl_timer_funcs.h
Examining data/butt-0.1.18/src/flac_encode.h
Examining data/butt-0.1.18/src/sockfuncs.h
Examining data/butt-0.1.18/src/vu_meter.cpp
Examining data/butt-0.1.18/src/port_audio.cpp
Examining data/butt-0.1.18/src/aac_encode.h
Examining data/butt-0.1.18/src/flac_encode.cpp
Examining data/butt-0.1.18/src/butt.cpp
Examining data/butt-0.1.18/src/vu_meter.h
Examining data/butt-0.1.18/src/currentTrack.cpp
Examining data/butt-0.1.18/src/timer.h
Examining data/butt-0.1.18/src/wav_header.cpp
Examining data/butt-0.1.18/src/aac_encode.cpp
Examining data/butt-0.1.18/src/cfg.h
Examining data/butt-0.1.18/src/icecast.h
Examining data/butt-0.1.18/src/dsp.hpp
Examining data/butt-0.1.18/src/shoutcast.cpp
Examining data/butt-0.1.18/src/sockfuncs.cpp
Examining data/butt-0.1.18/src/parseconfig.h
Examining data/butt-0.1.18/src/port_audio.h
Examining data/butt-0.1.18/src/util.h
Examining data/butt-0.1.18/src/parseconfig.cpp
Examining data/butt-0.1.18/src/lame_encode.h
Examining data/butt-0.1.18/src/dsp.cpp
Examining data/butt-0.1.18/src/strfuncs.h
Examining data/butt-0.1.18/src/Biquad.cpp
Examining data/butt-0.1.18/src/shoutcast.h
Examining data/butt-0.1.18/src/butt.h
Examining data/butt-0.1.18/src/CurrentTrackOSX.h
Examining data/butt-0.1.18/src/opus_encode.cpp
Examining data/butt-0.1.18/src/cfg.cpp
Examining data/butt-0.1.18/src/util.cpp
Examining data/butt-0.1.18/src/icecast.cpp
Examining data/butt-0.1.18/src/opus_encode.h
Examining data/butt-0.1.18/src/currentTrack.h
Examining data/butt-0.1.18/src/strfuncs.cpp
Examining data/butt-0.1.18/src/ringbuffer.cpp
Examining data/butt-0.1.18/src/wav_header.h
Examining data/butt-0.1.18/src/currentTrackLinux.cpp
Examining data/butt-0.1.18/src/timer.cpp
Examining data/butt-0.1.18/src/ringbuffer.h
Examining data/butt-0.1.18/src/lame_encode.cpp
Examining data/butt-0.1.18/src/vorbis_encode.cpp
Examining data/butt-0.1.18/src/Biquad.h
Examining data/butt-0.1.18/src/vorbis_encode.h

FINAL RESULTS:

data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_FLTK.cxx:468:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	  sprintf(comp, "%s%.511s(%.511s)", ((_parsedfilt)?"\t":""),
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_GTK.cxx:340:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(r, p);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_GTK.cxx:341:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(r + (q - p), filter + 1);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:344:5:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
    wcscpy(_ofn.lpstrFile, utf8towchar(_preset_file));
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:356:5:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
    wcscpy((WCHAR *)_ofn.lpstrInitialDir, utf8towchar(_directory));
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:413:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(pathname, wchartoutf8(dirname));
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:415:3:  [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(pathname, wchartoutf8(s));
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:657:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(name, "%s (%s)", name_in, winfilter);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:775:4:  [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(wildcards[nwildcards++], wildprefix);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:801:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy(wildcards[nwildcards++], wildprefix);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:807:6:  [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(comp, wildcards[t]);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:840:4:  [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(wildcards[nwildcards++], wildprefix);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:858:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy(wildcards[nwildcards-1], wildprefix);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_common.cxx:28:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(s, val);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_common.cxx:59:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(news, s);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_common.cxx:60:3:  [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(news, val);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_common.cxx:71:3:  [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(s, tmp);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:215:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(text_buf, "%sMountpoint:\t%s\n"
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:395:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.srv[i]->name, fl_g->input_add_srv_name->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:398:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.srv[i]->addr, fl_g->input_add_srv_addr->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:405:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.srv[i]->pwd, fl_g->input_add_srv_pwd->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:412:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(cfg.srv[i]->mount, fl_g->input_add_srv_mount->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:415:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(cfg.srv[i]->usr, fl_g->input_add_srv_usr->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:431:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cfg.main.srv_ent, "%s;%s", cfg.main.srv_ent, cfg.srv[i]->name);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:436:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cfg.main.srv_ent, "%s", cfg.srv[i]->name);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:441:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.main.srv, cfg.srv[i]->name);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:490:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(cfg.main.srv_ent, cfg.srv[i]->name);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:545:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(cfg.main.icy_ent, cfg.icy[i]->name);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:728:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.rec.path, cfg.rec.folder);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:729:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(cfg.rec.path, cfg.rec.filename);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:920:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.main.srv, cfg.srv[cfg.selected_srv]->name);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:932:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.main.icy, cfg.icy[cfg.selected_icy]->name);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1056:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.main.song, fl_g->input_cfg_song->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1235:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.srv[srv_num]->name, fl_g->input_add_srv_name->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1248:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(cfg.main.srv_ent, cfg.srv[i]->name);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1258:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.srv[srv_num]->addr, fl_g->input_add_srv_addr->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1272:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.srv[srv_num]->pwd, fl_g->input_add_srv_pwd->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1286:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(cfg.srv[srv_num]->mount, fl_g->input_add_srv_mount->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1291:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(cfg.srv[srv_num]->usr, fl_g->input_add_srv_usr->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1360:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.icy[icy_num]->name, fl_g->input_add_icy_name->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1373:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(cfg.main.icy_ent, cfg.icy[i]->name);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1381:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.icy[icy_num]->desc, fl_g->input_add_icy_desc->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1386:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.icy[icy_num]->genre, fl_g->input_add_icy_genre->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1391:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.icy[icy_num]->url, fl_g->input_add_icy_url->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1396:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.icy[icy_num]->icq, fl_g->input_add_icy_icq->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1401:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.icy[icy_num]->irc, fl_g->input_add_icy_irc->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1406:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.icy[icy_num]->aim, fl_g->input_add_icy_aim->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2044:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.icy[i]->name, fl_g->input_add_icy_name->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2047:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.icy[i]->desc, fl_g->input_add_icy_desc->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2050:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.icy[i]->url, fl_g->input_add_icy_url->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2053:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.icy[i]->genre, fl_g->input_add_icy_genre->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2056:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.icy[i]->irc, fl_g->input_add_icy_irc->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2059:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.icy[i]->icq, fl_g->input_add_icy_icq->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2062:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.icy[i]->aim, fl_g->input_add_icy_aim->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2072:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cfg.main.icy_ent, "%s;%s", cfg.main.icy_ent, cfg.icy[i]->name);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2077:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cfg.main.icy_ent, "%s", cfg.icy[i]->name);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2082:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.main.icy, cfg.icy[i]->name);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2623:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.rec.filename, fl_g->input_rec_filename->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2645:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.rec.folder, fl_g->input_rec_folder->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2673:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.main.log_file, fl_g->input_log_filename->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2703:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cfg.main.song_path, fl_g->input_cfg_song_file->value());
data/butt-0.1.18/src/FLTK/fl_funcs.cpp:385:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(cfg.rec.filename, cfg.rec.codec);
data/butt-0.1.18/src/FLTK/fl_timer_funcs.cpp:76:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(lcd_text_buf, "stream time\n%s",
data/butt-0.1.18/src/FLTK/fl_timer_funcs.cpp:83:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(lcd_text_buf, "record time\n%s",
data/butt-0.1.18/src/FLTK/fl_timer_funcs.cpp:332:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
       strcpy(cfg.main.song, song);
data/butt-0.1.18/src/FLTK/fl_timer_funcs.cpp:358:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(cfg.main.song, track);
data/butt-0.1.18/src/butt.cpp:170:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(cfg_path, argv[2]);
data/butt-0.1.18/src/butt.cpp:177:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(cfg_path, CONFIG_FILE);
data/butt-0.1.18/src/butt.cpp:189:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(cfg_path, argv[2]);
data/butt-0.1.18/src/butt.cpp:232:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(info_buf, "butt created a default config at\n%s\n",
data/butt-0.1.18/src/currentTrackLinux.cpp:132:21:  [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(values[1], str);
data/butt-0.1.18/src/icecast.cpp:349:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(mount, "/%s", cfg.srv[cfg.selected_srv]->mount);
data/butt-0.1.18/src/icecast.cpp:351:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(mount, cfg.srv[cfg.selected_srv]->mount);
data/butt-0.1.18/src/port_audio.cpp:715:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(dev_list[dev_num]->name, p_di->name);
data/butt-0.1.18/src/strfuncs.cpp:44:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(temp, "%s%s%s", pre, insert, post);
data/butt-0.1.18/src/strfuncs.cpp:47:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(*dest, temp);
data/butt-0.1.18/src/strfuncs.cpp:128:17:  [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(result, replace);
data/butt-0.1.18/src/strfuncs.cpp:133:17:  [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(result, temp);
data/butt-0.1.18/src/strfuncs.cpp:139:13:  [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(result, replace);
data/butt-0.1.18/src/strfuncs.cpp:144:17:  [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(result, temp);
data/butt-0.1.18/src/strfuncs.cpp:149:13:  [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(result, replace);
data/butt-0.1.18/src/strfuncs.cpp:154:17:  [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(result, temp);
data/butt-0.1.18/src/strfuncs.cpp:171:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(*dest, result);
data/butt-0.1.18/src/butt.cpp:132:23:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
    HMODULE hModule = LoadLibrary(TEXT("libfdk-aac-2.dll"));
data/butt-0.1.18/src/butt.cpp:172:18:  [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.
    else if((p = getenv("APPDATA")) == NULL)
data/butt-0.1.18/src/butt.cpp:185:9:  [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.
    p = getenv("HOME");
data/butt-0.1.18/src/cfg.cpp:627:9:  [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.
    p = getenv("USERPROFILE");
data/butt-0.1.18/src/cfg.cpp:633:9:  [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.
    p = getenv("HOME");
data/butt-0.1.18/src/cfg.cpp:639:9:  [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.
    p = getenv("HOME");
data/butt-0.1.18/src/opus_encode.cpp:165:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(time(NULL));
data/butt-0.1.18/src/vorbis_encode.cpp:57:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(time(NULL));
data/butt-0.1.18/src/FLTK/FL/Fl_My_Native_File_Chooser.H:207: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           *_filt_patt[MAXFILTERS];
data/butt-0.1.18/src/FLTK/FL/Fl_My_Value_Slider.H:30: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 tip[40];
data/butt-0.1.18/src/FLTK/FL/Fl_My_Value_Slider.H:33:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(tip, "X.XX");
data/butt-0.1.18/src/FLTK/FL/Fl_My_Value_Slider.H:44:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tip, "%.2fdB", f);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_FLTK.cxx:440: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 wildcard[1024] = "";		// parsed wildcard
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_FLTK.cxx:441: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 name[1024] = "";
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_FLTK.cxx:467:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  char comp[2048];
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:98: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(tmp, wp, wplen+2);	// copy of wp plus doublenull
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:217: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((void*)tmp, (void*)_pathnames,
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:329:5:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    MultiByteToWideChar(CP_UTF8, 0, _parsedfilt, (int) (p - _parsedfilt), wpattern, FNFC_MAX_PATH);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:340: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 msg[80];
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:341:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(msg, "preset_file() filename is too long: %ld is >=%ld", (long)len, (long)fsize);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:390: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 msg[80];
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:391:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(msg, "CommDlgExtendedError() code=%d", err);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:410:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 pathname[FNFC_MAX_PATH];
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:448:7:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      TCHAR path[FNFC_MAX_PATH];
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:652: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 name[1024];
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:654:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(name, "%.*s Files", int(sizeof(name)-10), winfilter);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:659:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(name, "%.*s", int(sizeof(name)), name_in);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:929:14:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  int wlen = MultiByteToWideChar(CP_UTF8, 0, in, -1, NULL, 0);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:934:3:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  MultiByteToWideChar(CP_UTF8, 0, in, -1, wout, wlen);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_common.cxx:70: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 tmp[2] = { c, '\0' };
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:124: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 text_buf[256];
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:370: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).
    else if((atoi(fl_g->input_add_srv_port->value()) > 65535) ||
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:371: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).
            (atoi(fl_g->input_add_srv_port->value()) < 1) )
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:407: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).
    cfg.srv[i]->port = atoi(fl_g->input_add_srv_port->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:478:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(cfg.srv[cfg.selected_srv+i], cfg.srv[cfg.selected_srv+i+1],
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:533:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(cfg.icy[cfg.selected_icy+i], cfg.icy[cfg.selected_icy+i+1],
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:673: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 mode[3];
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:674: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 i_str[12];
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:792:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(mode, "wb");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:804:21:  [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(mode, "wb");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:807:21:  [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(mode, "ab");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:813:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(mode, "wb");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:959: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 dummy[10];
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1026: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 text_buf[256];
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1075: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 text_buf[256];
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1210: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).
    else if(( atoi(fl_g->input_add_srv_port->value()) > 65535) ||
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1211: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).
            (atoi(fl_g->input_add_srv_port->value()) < 1) )
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1265: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).
    cfg.srv[srv_num]->port = (unsigned int)atoi(fl_g->input_add_srv_port->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1408:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(cfg.icy[icy_num]->pub, "%d", fl_g->check_add_icy_pub->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1465: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 text_buf[256];
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1561: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 text_buf[256];
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1656: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 text_buf[256];
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2065:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(cfg.icy[i]->pub, "%d", fl_g->check_add_icy_pub->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2180:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(cfg.audio.codec, "mp3");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2206:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(cfg.audio.codec, "ogg");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2234:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(cfg.audio.codec, "opus");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2274:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(cfg.audio.codec, "aac");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2300:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(cfg.audio.codec, "flac");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2331:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(cfg.rec.codec, "mp3");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2364:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(cfg.rec.codec, "ogg");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2398:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(cfg.rec.codec, "opus");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2448:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(cfg.rec.codec, "aac");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2484:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(cfg.rec.codec, "flac");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2502:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(cfg.rec.codec, "wav");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2934: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 info_buf[256];
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:3051: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.
    static char str[10];
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:3061: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.
    static char str[10];
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:3071: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.
    static char str[10];
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:3081: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.
    static char str[10];
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:3091: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.
    static char str[10];
data/butt-0.1.18/src/FLTK/fl_funcs.cpp:250: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 sr_asc[10];
data/butt-0.1.18/src/FLTK/fl_funcs.cpp:273: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 timebuf[10];
data/butt-0.1.18/src/FLTK/fl_funcs.cpp:274: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 logtimestamp[21];
data/butt-0.1.18/src/FLTK/fl_funcs.cpp:309:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        log_fd = fopen(cfg.main.log_file, "ab");
data/butt-0.1.18/src/FLTK/fl_funcs.cpp:352:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char m[3], d[3], y[5], hh[3], mi[3], ss[3];
data/butt-0.1.18/src/FLTK/fl_timer_funcs.cpp:59: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 lcd_text_buf[33];
data/butt-0.1.18/src/FLTK/fl_timer_funcs.cpp:69:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(lcd_text_buf, "stream sent\n%0.2lfMB",
data/butt-0.1.18/src/FLTK/fl_timer_funcs.cpp:90:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(lcd_text_buf, "record size\n%0.2lfMB",
data/butt-0.1.18/src/FLTK/fl_timer_funcs.cpp:182: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 file_num_str[12];
data/butt-0.1.18/src/FLTK/fl_timer_funcs.cpp:286: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 song[501];
data/butt-0.1.18/src/FLTK/fl_timer_funcs.cpp:287: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 msg[100];
data/butt-0.1.18/src/aac_encode.cpp:39: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 info_buf[256];
data/butt-0.1.18/src/aac_encode.cpp:86:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 info_buf[256];
data/butt-0.1.18/src/aac_encode.cpp:104:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 info_buf[256];
data/butt-0.1.18/src/aac_encode.cpp:125:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 info_buf[256];
data/butt-0.1.18/src/butt.cpp:103: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 lcd_buf[33];
data/butt-0.1.18/src/butt.cpp:104: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 info_buf[256];
data/butt-0.1.18/src/butt.cpp:248:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(lcd_buf, "idle");
data/butt-0.1.18/src/cfg.cpp:42:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char info_buf[256];
data/butt-0.1.18/src/cfg.cpp:306:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(cfg.audio.codec, "mp3");
data/butt-0.1.18/src/cfg.cpp:312:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(cfg.audio.codec, "mp3");
data/butt-0.1.18/src/cfg.cpp:363:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(cfg.rec.codec, "mp3");
data/butt-0.1.18/src/cfg.cpp:370:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(cfg.rec.codec, "mp3");
data/butt-0.1.18/src/cfg.cpp:376:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(cfg.rec.filename, "rec_%Y%m%d-%H%M%S_%i.mp3");
data/butt-0.1.18/src/cfg.cpp:382:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(cfg.rec.folder, "./");
data/butt-0.1.18/src/cfg.cpp:467:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                strcpy(cfg.srv[i]->usr, "source");
data/butt-0.1.18/src/cfg.cpp:619: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 def_rec_folder[PATH_MAX];
data/butt-0.1.18/src/currentTrackLinux.cpp:131:34:  [2] (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). Risk is low because the
  source is a constant string.
                    if(didFirst) strcat(values[1], ", ");
data/butt-0.1.18/src/flac_encode.cpp:139:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(g_enc_p, g_hdr, g_hdr_size);
data/butt-0.1.18/src/flac_encode.cpp:201:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(g_hdr_p, buffer, bytes);
data/butt-0.1.18/src/flac_encode.cpp:209:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(g_enc_p, buffer, bytes);
data/butt-0.1.18/src/icecast.cpp:52: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 auth[150];
data/butt-0.1.18/src/icecast.cpp:53: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 b64_auth[200];
data/butt-0.1.18/src/icecast.cpp:54: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 recv_buf[250];
data/butt-0.1.18/src/icecast.cpp:55: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 send_buf[250];
data/butt-0.1.18/src/icecast.cpp:56: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 msg[100];
data/butt-0.1.18/src/icecast.cpp:141:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(send_buf,  "Content-Type: audio/mpeg\r\n");
data/butt-0.1.18/src/icecast.cpp:143:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(send_buf,  "Content-Type: audio/aac\r\n");
data/butt-0.1.18/src/icecast.cpp:145:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(send_buf,  "Content-Type: audio/ogg\r\n");
data/butt-0.1.18/src/icecast.cpp:154:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(send_buf, "ice-name: no name\r\n");
data/butt-0.1.18/src/icecast.cpp:161:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(send_buf, "ice-public: 0\r\n");
data/butt-0.1.18/src/icecast.cpp:230: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).
        if((retval = atoi(http_retval)) != 200)
data/butt-0.1.18/src/icecast.cpp:310: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 send_buf[1024];
data/butt-0.1.18/src/icecast.cpp:311: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 auth[150];
data/butt-0.1.18/src/lame_encode.cpp:26: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 info_buf[256];
data/butt-0.1.18/src/opus_encode.cpp:188: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 (opus->tags, "OpusTags", 8);
data/butt-0.1.18/src/opus_encode.cpp:192: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 (opus->tags + 12, opus_get_version_string (), strlen (opus_get_version_string ()));
data/butt-0.1.18/src/opus_encode.cpp:198: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 (opus->tags + 12 + strlen (opus_get_version_string ()) + 4 + 4, "ENCODER=", strlen ("ENCODER="));
data/butt-0.1.18/src/opus_encode.cpp:200: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 (opus->tags + 12 + strlen (opus_get_version_string ()) + 4 + 4 + strlen ("ENCODER="),
data/butt-0.1.18/src/opus_encode.cpp:264:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(enc_buf+w, opus->og.header, opus->og.header_len);
data/butt-0.1.18/src/opus_encode.cpp:266:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(enc_buf+w, opus->og.body, opus->og.body_len);
data/butt-0.1.18/src/opus_encode.cpp:295:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(enc_buf+w, opus->og.header, opus->og.header_len);
data/butt-0.1.18/src/opus_encode.cpp:297:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(enc_buf+w, opus->og.body, opus->og.body_len);
data/butt-0.1.18/src/opus_encode.h:38:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char stream_map[255];
data/butt-0.1.18/src/parseconfig.cpp:116: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 line[1024],tag[64],value[1021];
data/butt-0.1.18/src/parseconfig.cpp:194: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).
    return atoi(val);
data/butt-0.1.18/src/port_audio.cpp:82: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 info_buf[256];
data/butt-0.1.18/src/port_audio.cpp:116: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 info_buf[256];
data/butt-0.1.18/src/port_audio.cpp:390: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 info_buf[256];
data/butt-0.1.18/src/port_audio.cpp:539: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 stream_buf[16 * pa_frames*2 * sizeof(short)];
data/butt-0.1.18/src/port_audio.cpp:540: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 record_buf[16 * pa_frames*2 * sizeof(short)];
data/butt-0.1.18/src/port_audio.cpp:543: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(pa_pcm_buf, input, frameCount*cfg.audio.channel*sizeof(short));
data/butt-0.1.18/src/port_audio.cpp:645: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 info_buf[256];
data/butt-0.1.18/src/port_audio.cpp:661:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(dev_list[dev_num]->name, "Default PCM device (default)");
data/butt-0.1.18/src/port_audio.cpp:722: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(dev_list[0]->sr_list, dev_list[dev_num]->sr_list,
data/butt-0.1.18/src/ringbuffer.cpp:99: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(dest, rb->r_ptr, len);
data/butt-0.1.18/src/ringbuffer.cpp:106: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(dest, rb->r_ptr, end_ptr - rb->r_ptr);
data/butt-0.1.18/src/ringbuffer.cpp:108: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(dest + (end_ptr - rb->r_ptr), rb->buf, len - (end_ptr - rb->r_ptr));
data/butt-0.1.18/src/ringbuffer.cpp:137:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dest, rb->r_ptr, len);
data/butt-0.1.18/src/ringbuffer.cpp:144:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dest, rb->r_ptr, end_ptr - rb->r_ptr);
data/butt-0.1.18/src/ringbuffer.cpp:146:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dest + (end_ptr - rb->r_ptr), rb->buf, len - (end_ptr - rb->r_ptr));
data/butt-0.1.18/src/ringbuffer.cpp:175: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(rb->w_ptr, src, len);
data/butt-0.1.18/src/ringbuffer.cpp:179: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(rb->w_ptr, src, end_ptr - rb->w_ptr);
data/butt-0.1.18/src/ringbuffer.cpp:180: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(rb->buf, src + (end_ptr - rb->w_ptr), len - (end_ptr - rb->w_ptr));
data/butt-0.1.18/src/shoutcast.cpp:62: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 recv_buf[100];
data/butt-0.1.18/src/shoutcast.cpp:63:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char send_buf[100];
data/butt-0.1.18/src/shoutcast.cpp:139:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(send_buf, "audio/mpeg");
data/butt-0.1.18/src/shoutcast.cpp:141:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(send_buf,  "audio/aac");
data/butt-0.1.18/src/shoutcast.cpp:143:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(send_buf,  "audio/ogg");
data/butt-0.1.18/src/shoutcast.cpp:203: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 send_buf[1024];
data/butt-0.1.18/src/sockfuncs.cpp:72: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(&hostname.sin_addr, host_ptr->h_addr, host_ptr->h_length);
data/butt-0.1.18/src/strfuncs.cpp:38: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(pre, *dest, pre_len);
data/butt-0.1.18/src/strfuncs.cpp:41: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(post, *dest+pre_len, post_len);
data/butt-0.1.18/src/timer.cpp:43: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.
    static char time_str[10];
data/butt-0.1.18/src/vorbis_encode.cpp:96:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(enc_buf+w, vorbis->og.header, vorbis->og.header_len);
data/butt-0.1.18/src/vorbis_encode.cpp:98:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(enc_buf+w, vorbis->og.body, vorbis->og.body_len);
data/butt-0.1.18/src/vorbis_encode.cpp:139:17:  [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(enc_buf+w, vorbis->og.header, vorbis->og.header_len);
data/butt-0.1.18/src/vorbis_encode.cpp:141:17:  [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(enc_buf+w, vorbis->og.body, vorbis->og.body_len);
data/butt-0.1.18/src/wav_header.cpp:29:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&hdr.wav.riff_id, "RIFF", 4);
data/butt-0.1.18/src/wav_header.cpp:30:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&hdr.wav.riff_format, "WAVE", 4);
data/butt-0.1.18/src/wav_header.cpp:32:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(hdr.wav.fmt_id, "fmt ", 4);
data/butt-0.1.18/src/wav_header.cpp:41:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&hdr.wav.data_id, "data", 4);
data/butt-0.1.18/src/wav_header.h:24:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char data[44];
data/butt-0.1.18/src/wav_header.h:27: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 riff_id[4];        //"RIFF"
data/butt-0.1.18/src/wav_header.h:29: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 riff_format[4];    //"WAVE"
data/butt-0.1.18/src/wav_header.h:31: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 fmt_id[4];         //"FMT "(the space is essential
data/butt-0.1.18/src/wav_header.h:40: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 data_id[4];        //"data"
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_GTK.cxx:338:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (!q) q = p + strlen(p);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_GTK.cxx:339: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).
  char *r = new char[strlen(p) + strlen(filter)];
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_GTK.cxx:339: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).
  char *r = new char[strlen(p) + strlen(filter)];
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:89: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).
  size_t inlen = ( n < 0 ) ? strlen(string) : n;
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:117: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 ( n == -1 ) n = (int) strlen(string);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:118:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(wp2, string, n);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:317:5:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    wcsncpy(wtitle, utf8towchar(_title), 200);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:327: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).
    while(*(p + strlen(p) + 1) != 0) p += strlen(p) + 1;
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:327: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).
    while(*(p + strlen(p) + 1) != 0) p += strlen(p) + 1;
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:328: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).
    p += strlen(p) + 2;
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:338: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).
    size_t len = strlen(_preset_file);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:346:11:  [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).
    len = wcslen(_ofn.lpstrFile);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:405:23:  [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).
      size_t dirlen = wcslen(dirname);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:412:13:  [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).
		 *s; s+= (wcslen(s)+1)) {
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:414:3:  [1] (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). Risk is low because the
  source is a constant character.
		strcat(pathname, "\\");
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:478:5:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    wcsncpy(wtitle, utf8towchar(_title), 256);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:525:5:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    wcsncpy(presetname, utf8towchar(_directory), FNFC_MAX_PATH);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:547:9:  [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(path) ) return(1);             // don't return empty pathnames
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:656:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((strlen(name_in)+strlen(winfilter)+3) < sizeof(name)) {
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:656: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 ((strlen(name_in)+strlen(winfilter)+3) < sizeof(name)) {
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:748: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 slen = strlen(in);
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx:806:20:  [1] (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). Risk is low because the
  source is a constant character.
	    if ( t != 0 ) strcat(comp, ";");
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_common.cxx:27: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).
  char *s = new char[strlen(val)+1];
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_common.cxx:58: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).
  char *news = new char[strlen(s)+strlen(val)+1];
data/butt-0.1.18/src/FLTK/Fl_My_Native_File_Chooser_common.cxx:58: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).
  char *news = new char[strlen(s)+strlen(val)+1];
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:25:10:  [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(us) Sleep(us/1000)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:80: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.
        usleep(100000); // 100ms
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:179: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.
        usleep(10000); //10 ms
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:326:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if((fl_g->radio_add_srv_icecast->value()) && (strlen(fl_g->input_add_srv_mount->value()) == 0))
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:331:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if((fl_g->radio_add_srv_icecast->value()) && (strlen(fl_g->input_add_srv_usr->value()) == 0))
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:336: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(fl_g->input_add_srv_name->value()) == 0)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:343: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).
        if(strlen(fl_g->input_add_srv_name->value()) + strlen(cfg.main.srv_ent) > 1000)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:343:56:  [1] (buffer) strlen:
  Does not handle 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(fl_g->input_add_srv_name->value()) + strlen(cfg.main.srv_ent) > 1000)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:355: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(fl_g->input_add_srv_addr->value()) == 0)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:360: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(fl_g->input_add_srv_pwd->value()) == 0)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:365: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(fl_g->input_add_srv_port->value()) == 0)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:394: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).
    cfg.srv[i]->name = (char*)malloc(strlen(fl_g->input_add_srv_name->value())+1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:397: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).
    cfg.srv[i]->addr = (char*)malloc(strlen(fl_g->input_add_srv_addr->value())+1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:402: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).
        cfg.srv[i]->addr += strlen("http://");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:404: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).
    cfg.srv[i]->pwd = (char*)malloc(strlen(fl_g->input_add_srv_pwd->value())+1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:411: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).
        cfg.srv[i]->mount = (char*)malloc(strlen(fl_g->input_add_srv_mount->value())+1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:414: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).
        cfg.srv[i]->usr = (char*)malloc(strlen(fl_g->input_add_srv_usr->value())+1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:429: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).
                                         strlen(cfg.main.srv_ent) +
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:430: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).
                                         strlen(cfg.srv[i]->name) +2);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:435: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).
        cfg.main.srv_ent = (char*)malloc(strlen(cfg.srv[i]->name) +1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:439:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    cfg.main.srv = (char*)realloc(cfg.main.srv, strlen(cfg.srv[i]->name)+1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:487: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).
    memset(cfg.main.srv_ent, 0, strlen(cfg.main.srv_ent));
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:494:13:  [1] (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). Risk is low because the
  source is a constant character.
            strcat(cfg.main.srv_ent, ";");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:542: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).
    memset(cfg.main.icy_ent, 0, strlen(cfg.main.icy_ent));
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:549:13:  [1] (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). Risk is low because the
  source is a constant character.
            strcat(cfg.main.icy_ent, ";");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:718: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(cfg.rec.filename) == 0)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:725:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    cfg.rec.path = (char*) malloc((strlen(cfg.rec.folder) +
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:726: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).
                strlen(cfg.rec.filename)) * sizeof(char) + 10);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:918: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).
                                  strlen(cfg.srv[cfg.selected_srv]->name)+1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:930: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).
                                  strlen(cfg.icy[cfg.selected_icy]->name)+1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1055: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).
    cfg.main.song = (char*)realloc(cfg.main.song, strlen(fl_g->input_cfg_song->value())+1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1166:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if((fl_g->radio_add_srv_icecast->value()) && (strlen(fl_g->input_add_srv_mount->value()) == 0))
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1171:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if((fl_g->radio_add_srv_icecast->value()) && (strlen(fl_g->input_add_srv_usr->value()) == 0))
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1176: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(fl_g->input_add_srv_name->value()) == 0)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1183: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).
        if(strlen(fl_g->input_add_srv_name->value()) + strlen(cfg.main.srv_ent) > 1000)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1183:56:  [1] (buffer) strlen:
  Does not handle 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(fl_g->input_add_srv_name->value()) + strlen(cfg.main.srv_ent) > 1000)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1195: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(fl_g->input_add_srv_addr->value()) == 0)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1200: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(fl_g->input_add_srv_pwd->value()) == 0)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1205: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(fl_g->input_add_srv_port->value()) == 0)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1233: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).
                sizeof(char) * strlen(fl_g->input_add_srv_name->value())+1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1240:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len += strlen(cfg.srv[i]->name) + 1;
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1250:13:  [1] (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). Risk is low because the
  source is a constant character.
            strcat(cfg.main.srv_ent, ";");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1256: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).
                sizeof(char) * strlen(fl_g->input_add_srv_addr->value())+1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1262: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).
        cfg.srv[srv_num]->addr += strlen("http://");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1270: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).
                    strlen(fl_g->input_add_srv_pwd->value())+1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1285:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    sizeof(char) * strlen(fl_g->input_add_srv_mount->value())+1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1290:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    sizeof(char) * strlen(fl_g->input_add_srv_usr->value())+1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1323: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(fl_g->input_add_icy_name->value()) == 0)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1330: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).
        if(strlen(fl_g->input_add_icy_name->value()) + strlen(cfg.main.icy_ent) > 1000)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1330:56:  [1] (buffer) strlen:
  Does not handle 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(fl_g->input_add_icy_name->value()) + strlen(cfg.main.icy_ent) > 1000)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1358: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).
                sizeof(char) * strlen(fl_g->input_add_icy_name->value())+1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1365:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len += strlen(cfg.icy[i]->name) + 1;
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1375:13:  [1] (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). Risk is low because the
  source is a constant character.
            strcat(cfg.main.icy_ent, ";");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1380: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).
                  strlen(fl_g->input_add_icy_desc->value())+1 );
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1385: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).
                  strlen(fl_g->input_add_icy_genre->value())+1 );
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1390: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).
                  strlen(fl_g->input_add_icy_url->value())+1 );
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1395: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).
                  strlen(fl_g->input_add_icy_icq->value())+1 );
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1400: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).
                  strlen(fl_g->input_add_icy_irc->value())+1 );
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:1405: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).
                  strlen(fl_g->input_add_icy_aim->value())+1 );
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2005: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(fl_g->input_add_icy_name->value()) == 0)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2013: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).
        if(strlen(fl_g->input_add_icy_name->value()) + strlen(cfg.main.icy_ent) > 1000)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2013:56:  [1] (buffer) strlen:
  Does not handle 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(fl_g->input_add_icy_name->value()) + strlen(cfg.main.icy_ent) > 1000)
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2043: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).
    cfg.icy[i]->name = (char*)malloc(strlen(fl_g->input_add_icy_name->value())+1 );
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2046: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).
    cfg.icy[i]->desc = (char*)malloc(strlen(fl_g->input_add_icy_desc->value())+1 );
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2049: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).
    cfg.icy[i]->url = (char*)malloc(strlen(fl_g->input_add_icy_url->value())+1 );
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2052:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    cfg.icy[i]->genre = (char*)malloc(strlen(fl_g->input_add_icy_genre->value())+1 );
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2055: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).
    cfg.icy[i]->irc = (char*)malloc(strlen(fl_g->input_add_icy_irc->value())+1 );
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2058: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).
    cfg.icy[i]->icq = (char*)malloc(strlen(fl_g->input_add_icy_icq->value())+1 );
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2061: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).
    cfg.icy[i]->aim = (char*)malloc(strlen(fl_g->input_add_icy_aim->value())+1 );
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2070: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).
                                         strlen(cfg.main.icy_ent) +
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2071: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).
                                         strlen(cfg.icy[i]->name) +2);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2076: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).
        cfg.main.icy_ent = (char*)malloc(strlen(cfg.icy[i]->name) +1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2080:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    cfg.main.icy = (char*)realloc(cfg.main.icy, strlen(cfg.icy[i]->name)+1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2621: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).
                       strlen(fl_g->input_rec_filename->value())+1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2641:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = strlen(fl_g->input_rec_folder->value());
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2660:9:  [1] (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). Risk is low because the
  source is a constant character.
        strcat(cfg.rec.folder, "/");
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2671: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).
                       strlen(fl_g->input_log_filename->value())+1);
data/butt-0.1.18/src/FLTK/fl_callbacks.cpp:2699:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = strlen(fl_g->input_cfg_song_file->value());
data/butt-0.1.18/src/FLTK/fl_funcs.cpp:306: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).
    if ((cfg.main.log_file != NULL) && (strlen(cfg.main.log_file) > 0))
data/butt-0.1.18/src/FLTK/fl_funcs.cpp:322: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).
            len = strlen(infotxt)-1;
data/butt-0.1.18/src/FLTK/fl_funcs.cpp:383:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        cfg.rec.filename = (char*)realloc(cfg.rec.filename, strlen(cfg.rec.filename)+strlen(cfg.rec.codec)+2);
data/butt-0.1.18/src/FLTK/fl_funcs.cpp:383:86:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        cfg.rec.filename = (char*)realloc(cfg.rec.filename, strlen(cfg.rec.filename)+strlen(cfg.rec.codec)+2);
data/butt-0.1.18/src/FLTK/fl_funcs.cpp:384:9:  [1] (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). Risk is low because the
  source is a constant character.
        strcat(cfg.rec.filename, ".");
data/butt-0.1.18/src/FLTK/fl_timer_funcs.cpp:71: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).
        print_lcd(lcd_text_buf, strlen(lcd_text_buf), 0, 1);
data/butt-0.1.18/src/FLTK/fl_timer_funcs.cpp:78: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).
        print_lcd(lcd_text_buf, strlen(lcd_text_buf), 0, 1);
data/butt-0.1.18/src/FLTK/fl_timer_funcs.cpp:85: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).
        print_lcd(lcd_text_buf, strlen(lcd_text_buf), 0, 1);
data/butt-0.1.18/src/FLTK/fl_timer_funcs.cpp:92: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).
        print_lcd(lcd_text_buf, strlen(lcd_text_buf), 0, 1);
data/butt-0.1.18/src/FLTK/fl_timer_funcs.cpp:323: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).
       len = strlen(song);
data/butt-0.1.18/src/FLTK/fl_timer_funcs.cpp:331:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
       cfg.main.song = (char*) realloc(cfg.main.song, strlen(song) +1);
data/butt-0.1.18/src/FLTK/fl_timer_funcs.cpp:357:64:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                cfg.main.song = (char*) realloc(cfg.main.song, strlen(track) + 1);
data/butt-0.1.18/src/FLTK/fl_timer_funcs.cpp:368:17:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
                strcpy(cfg.main.song, "");
data/butt-0.1.18/src/butt.cpp:169: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).
        cfg_path = (char*)malloc((strlen(argv[2])+1) * sizeof(char));
data/butt-0.1.18/src/butt.cpp:176: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).
        cfg_path = (char*)malloc(strlen(CONFIG_FILE)+1);
data/butt-0.1.18/src/butt.cpp:181: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).
        cfg_path = (char*)malloc((PATH_MAX+strlen(CONFIG_FILE)+1) * sizeof(char));
data/butt-0.1.18/src/butt.cpp:182: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).
        snprintf(cfg_path, PATH_MAX+strlen(CONFIG_FILE), "%s\\%s", p, CONFIG_FILE);  
data/butt-0.1.18/src/butt.cpp:188: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).
        cfg_path = (char*)malloc((strlen(argv[2])+1) * sizeof(char));
data/butt-0.1.18/src/butt.cpp:198: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).
        cfg_path = (char*)malloc((PATH_MAX+strlen(CONFIG_FILE)+1) * sizeof(char));
data/butt-0.1.18/src/butt.cpp:199: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).
        snprintf(cfg_path, PATH_MAX+strlen(CONFIG_FILE), "%s/%s", p, CONFIG_FILE);  
data/butt-0.1.18/src/butt.cpp:249:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    PRINT_LCD(lcd_buf, strlen(lcd_buf), 0, 1);
data/butt-0.1.18/src/cfg.cpp:375: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).
        cfg.rec.filename = (char*)malloc(strlen("rec_%Y%m%d-%H%M%S_%i.mp3")+1);
data/butt-0.1.18/src/cfg.cpp:420: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).
            cfg.srv[i]->name = (char*)malloc((strlen(srv_ent)+1) * sizeof(char));
data/butt-0.1.18/src/cfg.cpp:421:40:  [1] (buffer) strlen:
  Does not handle 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(cfg.srv[i]->name, strlen(srv_ent)+1, "%s", srv_ent);
data/butt-0.1.18/src/cfg.cpp:466:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                cfg.srv[i]->usr = (char*)malloc(strlen("source")*sizeof(char)+1);
data/butt-0.1.18/src/cfg.cpp:511: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).
            cfg.icy[i]->name = (char*)malloc(strlen(icy_ent) * sizeof(char)+1);
data/butt-0.1.18/src/cfg.cpp:512:40:  [1] (buffer) strlen:
  Does not handle 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(cfg.icy[i]->name, strlen(icy_ent)+1, "%s", icy_ent);
data/butt-0.1.18/src/currentTrackLinux.cpp:128: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).
                if(strlen(str)) {
data/butt-0.1.18/src/currentTrackLinux.cpp:129: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).
                    s += strlen(str) + (didFirst ? 2 : 0);
data/butt-0.1.18/src/currentTrackLinux.cpp:168:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(values[1]) + 3 + strlen(values[0]) + 1;                                                   
data/butt-0.1.18/src/currentTrackLinux.cpp:168: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).
		len = strlen(values[1]) + 3 + strlen(values[0]) + 1;                                                   
data/butt-0.1.18/src/currentTrackLinux.cpp:176:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(values[0]) + 1;                                                   
data/butt-0.1.18/src/currentTrackLinux.cpp:183:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(values[1]) + 1;                                                   
data/butt-0.1.18/src/icecast.cpp:22:10:  [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(us) Sleep(us/1000)
data/butt-0.1.18/src/icecast.cpp:123: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).
        sock_send(&stream_socket, send_buf, strlen(send_buf), SEND_TIMEOUT);
data/butt-0.1.18/src/icecast.cpp:128: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).
        sock_send(&stream_socket, send_buf, strlen(send_buf), SEND_TIMEOUT);
data/butt-0.1.18/src/icecast.cpp:135: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).
        sock_send(&stream_socket, send_buf, strlen(send_buf), SEND_TIMEOUT);
data/butt-0.1.18/src/icecast.cpp:138: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).
        sock_send(&stream_socket, send_buf, strlen(send_buf), SEND_TIMEOUT);
data/butt-0.1.18/src/icecast.cpp:148: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).
        sock_send(&stream_socket, send_buf, strlen(send_buf), SEND_TIMEOUT);
data/butt-0.1.18/src/icecast.cpp:155: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).
        sock_send(&stream_socket, send_buf, strlen(send_buf), SEND_TIMEOUT);
data/butt-0.1.18/src/icecast.cpp:162: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).
        sock_send(&stream_socket, send_buf, strlen(send_buf), SEND_TIMEOUT);
data/butt-0.1.18/src/icecast.cpp:167:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            sock_send(&stream_socket, send_buf, strlen(send_buf), SEND_TIMEOUT);
data/butt-0.1.18/src/icecast.cpp:170:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            sock_send(&stream_socket, send_buf, strlen(send_buf), SEND_TIMEOUT);
data/butt-0.1.18/src/icecast.cpp:173:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            sock_send(&stream_socket, send_buf, strlen(send_buf), SEND_TIMEOUT);
data/butt-0.1.18/src/icecast.cpp:188: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).
        sock_send(&stream_socket, send_buf, strlen(send_buf), SEND_TIMEOUT);
data/butt-0.1.18/src/icecast.cpp:202:17:  [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(100000);
data/butt-0.1.18/src/icecast.cpp:211:13:  [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(100000);
data/butt-0.1.18/src/icecast.cpp:221:13:  [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(100000);
data/butt-0.1.18/src/icecast.cpp:240:21:  [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(100000); 
data/butt-0.1.18/src/icecast.cpp:249:25:  [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(100000);
data/butt-0.1.18/src/icecast.cpp:346: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).
    mount = (char*)malloc(strlen(cfg.srv[cfg.selected_srv]->mount)+2);
data/butt-0.1.18/src/icecast.cpp:368: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).
    sock_send(&web_socket, send_buf, strlen(send_buf), SEND_TIMEOUT);
data/butt-0.1.18/src/icecast.cpp:376: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).
    sock_send(&web_socket, send_buf, strlen(send_buf), SEND_TIMEOUT);
data/butt-0.1.18/src/opus_encode.cpp:186: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).
	8 + 4 + strlen (opus_get_version_string ()) + 4 + 4 + strlen ("ENCODER=") + strlen (VERSION);
data/butt-0.1.18/src/opus_encode.cpp:186:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	8 + 4 + strlen (opus_get_version_string ()) + 4 + 4 + strlen ("ENCODER=") + strlen (VERSION);
data/butt-0.1.18/src/opus_encode.cpp:186:78:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	8 + 4 + strlen (opus_get_version_string ()) + 4 + 4 + strlen ("ENCODER=") + strlen (VERSION);
data/butt-0.1.18/src/opus_encode.cpp:190: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).
	opus->tags[8] = strlen (opus_get_version_string ());
data/butt-0.1.18/src/opus_encode.cpp:192:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy (opus->tags + 12, opus_get_version_string (), strlen (opus_get_version_string ()));
data/butt-0.1.18/src/opus_encode.cpp:194: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).
	opus->tags[12 + strlen (opus_get_version_string ())] = 1;
data/butt-0.1.18/src/opus_encode.cpp:196: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).
	opus->tags[12 + strlen (opus_get_version_string ()) + 4] = strlen ("ENCODER=") + strlen (VERSION);
data/butt-0.1.18/src/opus_encode.cpp:196:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	opus->tags[12 + strlen (opus_get_version_string ()) + 4] = strlen ("ENCODER=") + strlen (VERSION);
data/butt-0.1.18/src/opus_encode.cpp:196:83:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	opus->tags[12 + strlen (opus_get_version_string ()) + 4] = strlen ("ENCODER=") + strlen (VERSION);
data/butt-0.1.18/src/opus_encode.cpp:198: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).
	memcpy (opus->tags + 12 + strlen (opus_get_version_string ()) + 4 + 4, "ENCODER=", strlen ("ENCODER="));
data/butt-0.1.18/src/opus_encode.cpp:198:85:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy (opus->tags + 12 + strlen (opus_get_version_string ()) + 4 + 4, "ENCODER=", strlen ("ENCODER="));
data/butt-0.1.18/src/opus_encode.cpp:200: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).
	memcpy (opus->tags + 12 + strlen (opus_get_version_string ()) + 4 + 4 + strlen ("ENCODER="),
data/butt-0.1.18/src/opus_encode.cpp:200:74:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy (opus->tags + 12 + strlen (opus_get_version_string ()) + 4 + 4 + strlen ("ENCODER="),
data/butt-0.1.18/src/opus_encode.cpp:202:4:  [1] (buffer) strlen:
  Does not handle 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 (VERSION));	
data/butt-0.1.18/src/port_audio.cpp:660: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).
    dev_list[dev_num]->name = (char*) malloc(strlen("Default PCM device (default)")+1);
data/butt-0.1.18/src/port_audio.cpp:714: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).
        dev_list[dev_num]->name = (char*) malloc(strlen(p_di->name)+1);
data/butt-0.1.18/src/shoutcast.cpp:21:10:  [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(us) Sleep(us/1000)
data/butt-0.1.18/src/shoutcast.cpp:47: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((val == NULL) || (strlen(val) == 0))
data/butt-0.1.18/src/shoutcast.cpp:50:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(key) + strlen(val) + strlen(":\r\n") + 1;
data/butt-0.1.18/src/shoutcast.cpp:50: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).
    len = strlen(key) + strlen(val) + strlen(":\r\n") + 1;
data/butt-0.1.18/src/shoutcast.cpp:50:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(key) + strlen(val) + strlen(":\r\n") + 1;
data/butt-0.1.18/src/shoutcast.cpp:54: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).
    sock_send(&stream_socket, icy_line, strlen(icy_line), SEND_TIMEOUT);
data/butt-0.1.18/src/shoutcast.cpp:104: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).
    sock_send(&stream_socket, send_buf, strlen(send_buf), SEND_TIMEOUT);
data/butt-0.1.18/src/shoutcast.cpp:111: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).
    sock_send(&stream_socket, send_buf, strlen(send_buf), SEND_TIMEOUT);
data/butt-0.1.18/src/shoutcast.cpp:145: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).
    sock_send(&stream_socket, send_buf, strlen(send_buf), SEND_TIMEOUT);
data/butt-0.1.18/src/shoutcast.cpp:152: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.
        usleep(100*1000);
data/butt-0.1.18/src/shoutcast.cpp:160: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.
        usleep(100*1000);
data/butt-0.1.18/src/shoutcast.cpp:243: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).
    sock_send(&web_socket, send_buf, strlen(send_buf), SEND_TIMEOUT);
data/butt-0.1.18/src/shoutcast.cpp:251: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).
    sock_send(&web_socket, send_buf, strlen(send_buf), SEND_TIMEOUT);
data/butt-0.1.18/src/sockfuncs.cpp:61:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        host_ptr = gethostbyaddr(addr, strlen(addr), AF_INET);
data/butt-0.1.18/src/strfuncs.cpp:30: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).
    new_len = strlen(*dest) + strlen(insert);
data/butt-0.1.18/src/strfuncs.cpp:30: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).
    new_len = strlen(*dest) + strlen(insert);
data/butt-0.1.18/src/strfuncs.cpp:31: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).
    pre_len = strlen(*dest) - strlen(pos);
data/butt-0.1.18/src/strfuncs.cpp:31: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).
    pre_len = strlen(*dest) - strlen(pos);
data/butt-0.1.18/src/strfuncs.cpp:32: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).
    post_len = strlen(pos);
data/butt-0.1.18/src/strfuncs.cpp:68: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).
            haystack = found+strlen(needle);
data/butt-0.1.18/src/strfuncs.cpp:90: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).
    search_len = strlen(search);
data/butt-0.1.18/src/strfuncs.cpp:91: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).
    repl_len = strlen(replace);
data/butt-0.1.18/src/strfuncs.cpp:108: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).
    size = strlen(*dest) + (diff*count);
data/butt-0.1.18/src/strfuncs.cpp:127:17:  [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(result, temp, loc - temp);
data/butt-0.1.18/src/strfuncs.cpp:129: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).
                temp = loc + strlen(search);
data/butt-0.1.18/src/strfuncs.cpp:132: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(strlen(temp) > 0)
data/butt-0.1.18/src/strfuncs.cpp:138:13:  [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(result, temp, loc - temp);
data/butt-0.1.18/src/strfuncs.cpp:141: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).
            temp = loc + strlen(search);
data/butt-0.1.18/src/strfuncs.cpp:143: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(strlen(temp) > 0)
data/butt-0.1.18/src/strfuncs.cpp:148:13:  [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(result, temp, loc-temp);
data/butt-0.1.18/src/strfuncs.cpp:151: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).
            temp = loc + strlen(search);
data/butt-0.1.18/src/strfuncs.cpp:153: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(strlen(temp) > 0)
data/butt-0.1.18/src/util.cpp:33:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(data);

ANALYSIS SUMMARY:

Hits = 455
Lines analyzed = 16338 in approximately 0.52 seconds (31303 lines/second)
Physical Source Lines of Code (SLOC) = 12003
Hits@level = [0] 158 [1] 205 [2] 159 [3]   8 [4]  83 [5]   0
Hits@level+ = [0+] 613 [1+] 455 [2+] 250 [3+]  91 [4+]  83 [5+]   0
Hits/KSLOC@level+ = [0+] 51.0706 [1+] 37.9072 [2+] 20.8281 [3+] 7.58144 [4+] 6.91494 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.