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/pd-unauthorized-0.1/mpglib.h
Examining data/pd-unauthorized-0.1/timeval.h
Examining data/pd-unauthorized-0.1/g_grid.h
Examining data/pd-unauthorized-0.1/audience~.h
Examining data/pd-unauthorized-0.1/exciter.h
Examining data/pd-unauthorized-0.1/playlist.c
Examining data/pd-unauthorized-0.1/probalizer.h
Examining data/pd-unauthorized-0.1/filterbank~.h
Examining data/pd-unauthorized-0.1/pianoroll.h
Examining data/pd-unauthorized-0.1/interface.h
Examining data/pd-unauthorized-0.1/mpg123.h
Examining data/pd-unauthorized-0.1/audience~.c
Examining data/pd-unauthorized-0.1/beatify~.c
Examining data/pd-unauthorized-0.1/blinkenlights.c
Examining data/pd-unauthorized-0.1/compressor~.c
Examining data/pd-unauthorized-0.1/cooled~.c
Examining data/pd-unauthorized-0.1/disto~.c
Examining data/pd-unauthorized-0.1/exciter.c
Examining data/pd-unauthorized-0.1/filterbank~.c
Examining data/pd-unauthorized-0.1/formant~.c
Examining data/pd-unauthorized-0.1/grid.c
Examining data/pd-unauthorized-0.1/mp3amp~.c
Examining data/pd-unauthorized-0.1/mp3cast~.c
Examining data/pd-unauthorized-0.1/mp3streamout~.c
Examining data/pd-unauthorized-0.1/pianoroll.c
Examining data/pd-unauthorized-0.1/probalizer.c
Examining data/pd-unauthorized-0.1/samplebox~.c
Examining data/pd-unauthorized-0.1/scratcher~.c
Examining data/pd-unauthorized-0.1/scrolllist.c
Examining data/pd-unauthorized-0.1/sonogram~.c
Examining data/pd-unauthorized-0.1/speexout~.c
Examining data/pd-unauthorized-0.1/spigot~.c
Examining data/pd-unauthorized-0.1/wahwah~.c
Examining data/pd-unauthorized-0.1/countund.c
Examining data/pd-unauthorized-0.1/randomblock~.c
Examining data/pd-unauthorized-0.1/mp3write~.c
Examining data/pd-unauthorized-0.1/mp3fileout~.c
Examining data/pd-unauthorized-0.1/mp3streamin~.c
Examining data/pd-unauthorized-0.1/speexin~.c

FINAL RESULTS:

data/pd-unauthorized-0.1/audience~.c:389:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "pdtk_audience_dialog %%s %d %d %d\n",
data/pd-unauthorized-0.1/cooled~.c:183:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf( color, "%s ", COOLED_FGCOLOR );
data/pd-unauthorized-0.1/cooled~.c:187:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf( color, "%s ", COOLED_FRCOLOR );
data/pd-unauthorized-0.1/cooled~.c:191:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf( color, "%s ", COOLED_BGCOLOR );
data/pd-unauthorized-0.1/cooled~.c:216:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf( color, "%s ", COOLED_FGCOLOR );
data/pd-unauthorized-0.1/cooled~.c:230:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf( color, "%s ", COOLED_FGCOLOR );
data/pd-unauthorized-0.1/cooled~.c:241:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( x->x_guicommand, "COOLEDIMAGE%x put {%s} -to %d 0\n", x, x->x_gifdata, (bnumber*x->x_zoom)+i );
data/pd-unauthorized-0.1/cooled~.c:262: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( x->x_gifdata+i*sizeof("#FFFFFF "), strcat( COOLED_BGCOLOR, " ") );
data/pd-unauthorized-0.1/cooled~.c:790:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "pdtk_cooled_dialog %%s %d %d %d\n",
data/pd-unauthorized-0.1/exciter.c:352:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "pdtk_exciter_dialog %%s %d %d %d %.2f %d %d\n",
data/pd-unauthorized-0.1/filterbank~.c:270:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "pdtk_filterbank_dialog %%s %d %d\n",
data/pd-unauthorized-0.1/grid.c:286:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "pdtk_grid_dialog %%s %s %d %.2f %.2f %d %.2f %.2f %d %.2f %.2f %d %d\n",
data/pd-unauthorized-0.1/grid.c:465:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( x->x_bgcolor, "#%s%s%s", col1, col2, col3);
data/pd-unauthorized-0.1/mp3amp~.c:678:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(request, "GET /%s HTTP/1.0 \r\nHost: %s\r\nUser-Agent: mp3amp~ 0.11\r\nAccept: */*\r\n\r\n",
data/pd-unauthorized-0.1/mp3amp~.c:1059: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( x->x_hostname, hostname->s_name );
data/pd-unauthorized-0.1/mp3amp~.c:1062: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( x->x_mountpoint, mountpoint->s_name );
data/pd-unauthorized-0.1/mp3cast~.c:671:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(resp, "source:%s", x->x_passwd);
data/pd-unauthorized-0.1/mp3cast~.c:674:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(resp, "Authorization: Basic %s\r\n", base64);
data/pd-unauthorized-0.1/mp3write~.c:409:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( x->x_title, "Started at %s", ctime(&now) );
data/pd-unauthorized-0.1/pianoroll.c:295:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "pdtk_pianoroll_dialog %%s %s %d %d %.2f %.2f %d %d %d %d\n",
data/pd-unauthorized-0.1/playlist.c:218: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( x->x_dentries[x->x_nentries],  dentries[i]->d_name );
data/pd-unauthorized-0.1/playlist.c:260:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( tmpstring, "%s/%s", x->x_curdir, x->x_dentries[x->x_itemselected] );
data/pd-unauthorized-0.1/playlist.c:287:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( x->x_font, "{%s %d %s}", fname->s_name, (int)fsize, fcase->s_name );
data/pd-unauthorized-0.1/playlist.c:596:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf( tmpstring, "%s/%s", x->x_curdir, x->x_dentries[x->x_itemselected] );
data/pd-unauthorized-0.1/playlist.c:629:29:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                            sprintf( x->x_curdir, "%s/%s", x->x_curdir, x->x_dentries[x->x_itemselected] );
data/pd-unauthorized-0.1/playlist.c:633:29:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                            sprintf( x->x_curdir, "/%s", x->x_dentries[x->x_itemselected] );
data/pd-unauthorized-0.1/playlist.c:653:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "pdtk_playlist_dialog %%s %s %d %d %s %s %s %s %s\n",
data/pd-unauthorized-0.1/playlist.c:684:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( x->x_font, "{%s %d %s}", argv[3].a_w.w_symbol->s_name,
data/pd-unauthorized-0.1/playlist.c:687: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( x->x_bgcolor, argv[6].a_w.w_symbol->s_name );
data/pd-unauthorized-0.1/playlist.c:688: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( x->x_sbcolor, argv[7].a_w.w_symbol->s_name );
data/pd-unauthorized-0.1/playlist.c:689: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( x->x_fgcolor, argv[8].a_w.w_symbol->s_name );
data/pd-unauthorized-0.1/playlist.c:690: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( x->x_secolor, argv[9].a_w.w_symbol->s_name );
data/pd-unauthorized-0.1/playlist.c:734: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( x->x_extension, argv[0].a_w.w_symbol->s_name );
data/pd-unauthorized-0.1/playlist.c:784:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf( x->x_font, "%s", argv[3].a_w.w_symbol->s_name );
data/pd-unauthorized-0.1/playlist.c:791:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf( x->x_font, "%s %d %s", argv[3].a_w.w_symbol->s_name,
data/pd-unauthorized-0.1/playlist.c:804: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( x->x_bgcolor, argv[6-argoffset].a_w.w_symbol->s_name );
data/pd-unauthorized-0.1/playlist.c:813: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( x->x_sbcolor, argv[7-argoffset].a_w.w_symbol->s_name );
data/pd-unauthorized-0.1/playlist.c:822: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( x->x_fgcolor, argv[8-argoffset].a_w.w_symbol->s_name );
data/pd-unauthorized-0.1/playlist.c:831: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( x->x_secolor, argv[9-argoffset].a_w.w_symbol->s_name );
data/pd-unauthorized-0.1/playlist.c:917: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( olddir, x->x_curdir );
data/pd-unauthorized-0.1/playlist.c:951:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf( x->x_curdir, "%s/%s", x->x_curdir, flocation->s_name );
data/pd-unauthorized-0.1/playlist.c:955:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf( x->x_curdir, "/%s", flocation->s_name );
data/pd-unauthorized-0.1/playlist.c:962: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( x->x_curdir, olddir );
data/pd-unauthorized-0.1/probalizer.c:301:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "pdtk_probalizer_dialog %%s %d %d %d %d %d\n",
data/pd-unauthorized-0.1/scratcher~.c:363:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "pdtk_scratcher_dialog %%s %d %d\n",
data/pd-unauthorized-0.1/scrolllist.c:439:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "pdtk_scrolllist_dialog %%s %d %d %d %s %s %s %s\n",
data/pd-unauthorized-0.1/scrolllist.c:508:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( x->x_font, "{%s %d %s}", argv[3].a_w.w_symbol->s_name,
data/pd-unauthorized-0.1/scrolllist.c:511: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( x->x_bgcolor, argv[6].a_w.w_symbol->s_name );
data/pd-unauthorized-0.1/scrolllist.c:512: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( x->x_fgcolor, argv[7].a_w.w_symbol->s_name );
data/pd-unauthorized-0.1/scrolllist.c:513: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( x->x_secolor, argv[8].a_w.w_symbol->s_name );
data/pd-unauthorized-0.1/scrolllist.c:535: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( x->x_bgcolor, s->s_name );
data/pd-unauthorized-0.1/scrolllist.c:546: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( x->x_fgcolor, s->s_name );
data/pd-unauthorized-0.1/scrolllist.c:557: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( x->x_secolor, s->s_name );
data/pd-unauthorized-0.1/scrolllist.c:637:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( x->x_font, "{%s %d %s}", fname->s_name, (int)fsize, fcase->s_name );
data/pd-unauthorized-0.1/scrolllist.c:900:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf( x->x_font, "%s", argv[3].a_w.w_symbol->s_name );
data/pd-unauthorized-0.1/scrolllist.c:907:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf( x->x_font, "%s %d %s", argv[3].a_w.w_symbol->s_name,
data/pd-unauthorized-0.1/scrolllist.c:920: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( x->x_bgcolor, argv[6-argoffset].a_w.w_symbol->s_name );
data/pd-unauthorized-0.1/scrolllist.c:929: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( x->x_fgcolor, argv[7-argoffset].a_w.w_symbol->s_name );
data/pd-unauthorized-0.1/scrolllist.c:938: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( x->x_secolor, argv[8-argoffset].a_w.w_symbol->s_name );
data/pd-unauthorized-0.1/sonogram~.c:352:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( x->x_gifdata, "%s", newColor );
data/pd-unauthorized-0.1/sonogram~.c:366:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf( x->x_gifdata, "%s", newColor );
data/pd-unauthorized-0.1/sonogram~.c:399:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( x->x_guicommand, "SONIMAGE%x put {%s} -to %d 0\n", (unsigned int)x, x->x_gifdata, (bnumber*x->x_zoom)+i );
data/pd-unauthorized-0.1/sonogram~.c:419:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf( x->x_guicommand, "FAZIMAGE%x put {%s} -to %d 0\n", (unsigned int)x, x->x_gifdata, (bnumber*x->x_zoom)+i );
data/pd-unauthorized-0.1/filterbank~.c:38:10:  [3] (random) random:
  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.
# define random rand
data/pd-unauthorized-0.1/filterbank~.c:155:51:  [3] (random) random:
  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.
            sprintf( color, "#%.2x%.2x%.2x", (int)random() % 256, (int)random() % 256, (int)random() % 256 );
data/pd-unauthorized-0.1/filterbank~.c:155:72:  [3] (random) random:
  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.
            sprintf( color, "#%.2x%.2x%.2x", (int)random() % 256, (int)random() % 256, (int)random() % 256 );
data/pd-unauthorized-0.1/filterbank~.c:155:93:  [3] (random) random:
  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.
            sprintf( color, "#%.2x%.2x%.2x", (int)random() % 256, (int)random() % 256, (int)random() % 256 );
data/pd-unauthorized-0.1/mp3cast~.c:358:9:  [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.
    dll=LoadLibrary("lame_enc.dll");
data/pd-unauthorized-0.1/mp3streamout~.c:366:9:  [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.
    dll=LoadLibrary("lame_enc.dll");
data/pd-unauthorized-0.1/mp3write~.c:360:9:  [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.
    dll=LoadLibrary("lame_enc.dll");
data/pd-unauthorized-0.1/probalizer.c:47:10:  [3] (random) random:
  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.
# define random rand
data/pd-unauthorized-0.1/probalizer.c:604:22:  [3] (random) random:
  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.
        int chosen = random() % nbcandidates;
data/pd-unauthorized-0.1/sonogram~.c:51:10:  [3] (random) random:
  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.
# define random rand
data/pd-unauthorized-0.1/sonogram~.c:1904:29:  [3] (random) random:
  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.
        s1 = samplestart + (random()%(sampleend-samplestart));
data/pd-unauthorized-0.1/sonogram~.c:1905:29:  [3] (random) random:
  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.
        s2 = samplestart + (random()%(sampleend-samplestart));
data/pd-unauthorized-0.1/sonogram~.c:1906:14:  [3] (random) random:
  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.
        f1 = random()%( x->x_blocksize/2-1 );
data/pd-unauthorized-0.1/sonogram~.c:1907:14:  [3] (random) random:
  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.
        f2 = random()%( x->x_blocksize/2-1 );
data/pd-unauthorized-0.1/audience~.c:386:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[800];
data/pd-unauthorized-0.1/blinkenlights.c:58:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define sys_fopen fopen
data/pd-unauthorized-0.1/blinkenlights.c:359: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( x->x_background, "#%.2x%.2x%.2x", (int)fR, (int)fG, (int)fB );
data/pd-unauthorized-0.1/blinkenlights.c:380: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( x->x_foreground, "#%.2x%.2x%.2x", (int)fR, (int)fG, (int)fB );
data/pd-unauthorized-0.1/blinkenlights.c:534: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).
        x->x_timer = atoi( lineread+1 );
data/pd-unauthorized-0.1/blinkenlights.c:647: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 lineread[BL_MAX_LENGTH];
data/pd-unauthorized-0.1/cooled~.c:174: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 color[8];
data/pd-unauthorized-0.1/cooled~.c:253: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 fillColor[ 16 ];
data/pd-unauthorized-0.1/cooled~.c:787:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[800];
data/pd-unauthorized-0.1/cooled~.c:1062: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( x->x_rdata, prdata, csize*sizeof(float) );
data/pd-unauthorized-0.1/cooled~.c:1063: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( x->x_ldata, pldata, csize*sizeof(float) );
data/pd-unauthorized-0.1/cooled~.c:1064: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( x->x_rsemp, prsemp, csize*sizeof(float) );
data/pd-unauthorized-0.1/cooled~.c:1065: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( x->x_lsemp, plsemp, csize*sizeof(float) );
data/pd-unauthorized-0.1/exciter.c:349:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[800];
data/pd-unauthorized-0.1/filterbank~.c:153:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char color[8];
data/pd-unauthorized-0.1/filterbank~.c:155:13:  [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( color, "#%.2x%.2x%.2x", (int)random() % 256, (int)random() % 256, (int)random() % 256 );
data/pd-unauthorized-0.1/filterbank~.c:267:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[800];
data/pd-unauthorized-0.1/filterbank~.c:581: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( acopy, in, n*sizeof(t_float) );
data/pd-unauthorized-0.1/grid.c:283:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[800];
data/pd-unauthorized-0.1/grid.c:436: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 col1[10], col2[10], col3[10];
data/pd-unauthorized-0.1/grid.c:452: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(col1,"0%X",(int) color1);
data/pd-unauthorized-0.1/grid.c:454: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(col1,"%X",(int) color1);
data/pd-unauthorized-0.1/grid.c:457: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(col2,"0%X",(int) color2);
data/pd-unauthorized-0.1/grid.c:459: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(col2,"%X",(int) color2);
data/pd-unauthorized-0.1/grid.c:462: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(col3,"0%X",(int) color3);
data/pd-unauthorized-0.1/grid.c:464: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(col3,"%X",(int) color3);
data/pd-unauthorized-0.1/grid.c:625:26:  [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).
                && (zz = atoi(str + 5)) > gridcount)
data/pd-unauthorized-0.1/grid.c:648: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 buf[40];
data/pd-unauthorized-0.1/grid.c:650: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(buf, "grid%d", ++gridcount);
data/pd-unauthorized-0.1/grid.c:680: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( x->x_bgcolor, "#123589" );
data/pd-unauthorized-0.1/mp3amp~.c:173: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     x_out[DECODE_PACKET_SIZE];
data/pd-unauthorized-0.1/mp3amp~.c:333: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( (void *)(x->x_inbuffer),
data/pd-unauthorized-0.1/mp3amp~.c:378:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char color[32];
data/pd-unauthorized-0.1/mp3amp~.c:385: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( color, "red" );
data/pd-unauthorized-0.1/mp3amp~.c:389: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( color, "lightgreen" );
data/pd-unauthorized-0.1/mp3amp~.c:608: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            request[STRBUF_SIZE];           /* string to be send to server */
data/pd-unauthorized-0.1/mp3amp~.c:640:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((char *)&server.sin_addr, (char *)hp->h_addr, hp->h_length);
data/pd-unauthorized-0.1/mp3amp~.c:1118:18:  [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).
        portno = atoi( p+1 );
data/pd-unauthorized-0.1/mp3cast~.c:79:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char base64table[65] =
data/pd-unauthorized-0.1/mp3cast~.c:459: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            resp[STRBUF_SIZE];
data/pd-unauthorized-0.1/mp3cast~.c:490:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((char *)&server.sin_addr, (char *)hp->h_addr, hp->h_length);
data/pd-unauthorized-0.1/mp3cast~.c:580:12:  [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.
        if(sprintf(resp, "%d", x->x_bitrate) == -1)    /* convert int to a string */
data/pd-unauthorized-0.1/mp3cast~.c:618:12:  [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.
        if(sprintf(resp, "%d", x->x_bitrate) == -1)    /* convert int to a string */
data/pd-unauthorized-0.1/mp3cast~.c:712:12:  [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.
        if(sprintf(resp, "\r\nice-audio-info: bitrate=%d", x->x_bitrate) == -1)
data/pd-unauthorized-0.1/mp3fileout~.c:64:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define sys_fopen fopen
data/pd-unauthorized-0.1/mp3fileout~.c:150:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[sizeof(unsigned long)];
data/pd-unauthorized-0.1/mp3fileout~.c:238: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( x->x_outbuffer, x->x_inbuffer, ret );
data/pd-unauthorized-0.1/mp3fileout~.c:274: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( x->x_outbuffer, x->x_outbuffer+ret, x->x_outbuffersize-ret );
data/pd-unauthorized-0.1/mp3fileout~.c:461:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((char *)&csocket.sin_addr, (char *)hp->h_addr, hp->h_length);
data/pd-unauthorized-0.1/mp3streamin~.c:191: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 out[8192];
data/pd-unauthorized-0.1/mp3streamin~.c:312:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char color[32];
data/pd-unauthorized-0.1/mp3streamin~.c:324: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( color, "red" );
data/pd-unauthorized-0.1/mp3streamin~.c:328: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( color, "lightgreen" );
data/pd-unauthorized-0.1/mp3streamout~.c:419: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            resp[STRBUF_SIZE];
data/pd-unauthorized-0.1/mp3streamout~.c:455:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((char *)&csocket.sin_addr, (char *)hp->h_addr, hp->h_length);
data/pd-unauthorized-0.1/mp3write~.c:62:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define sys_fopen fopen
data/pd-unauthorized-0.1/mpg123.h:17:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#  define memcpy(d, s, n) bcopy ((s), (d), (n))
data/pd-unauthorized-0.1/mpg123.h:17:27:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#  define memcpy(d, s, n) bcopy ((s), (d), (n))
data/pd-unauthorized-0.1/mpg123.h:18:28:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#  define memmove(d, s, n) bcopy ((s), (d), (n))
data/pd-unauthorized-0.1/mpglib.h:42:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char bsspace[2][MAXFRAMESIZE+512]; /* MAXFRAMESIZE */
data/pd-unauthorized-0.1/pianoroll.c:53:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define sys_fopen fopen
data/pd-unauthorized-0.1/pianoroll.c:292:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[800];
data/pd-unauthorized-0.1/pianoroll.c:693:26:  [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).
                && (zz = atoi(str + 9)) > pianorollcount)
data/pd-unauthorized-0.1/pianoroll.c:716: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 buf[40];
data/pd-unauthorized-0.1/pianoroll.c:718: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(buf, "pianoroll%d", ++pianorollcount);
data/pd-unauthorized-0.1/playlist.c:74: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((*namelist)[i], entry, entrysize);
data/pd-unauthorized-0.1/playlist.c:125: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  x_curdir[MAXPDSTRING];/* current directory informations            */
data/pd-unauthorized-0.1/playlist.c:140:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char wrappedname[ MAXPDSTRING ];
data/pd-unauthorized-0.1/playlist.c:217:50:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                x->x_dentries[x->x_nentries] = ( char * ) getbytes( strlen( dentries[i]->d_name ) + 1 );
data/pd-unauthorized-0.1/playlist.c:650:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[800];
data/pd-unauthorized-0.1/playlist.c:705: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( x->x_extension, "all" );
data/pd-unauthorized-0.1/playlist.c:709: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( x->x_font, "{Helvetica 10 bold}" );
data/pd-unauthorized-0.1/playlist.c:713: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( x->x_bgcolor, "#457782" );
data/pd-unauthorized-0.1/playlist.c:715: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( x->x_sbcolor, "yellow" );
data/pd-unauthorized-0.1/playlist.c:717: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( x->x_fgcolor, "black" );
data/pd-unauthorized-0.1/playlist.c:719: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( x->x_secolor, "red" );
data/pd-unauthorized-0.1/playlist.c:785:38:  [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).
            x->x_charheight = (t_int)atoi( strstr( argv[3].a_w.w_symbol->s_name, " ") );
data/pd-unauthorized-0.1/playlist.c:915: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 olddir[ MAXPDSTRING ];           /* remember old location  */
data/pd-unauthorized-0.1/probalizer.c:298:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[800];
data/pd-unauthorized-0.1/scratcher~.c:360:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[800];
data/pd-unauthorized-0.1/scrolllist.c:436:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[800];
data/pd-unauthorized-0.1/scrolllist.c:491: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( titems[i], x->x_items[i], strlen( x->x_items[i] ) );
data/pd-unauthorized-0.1/scrolllist.c:607:21:  [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( titems[k+1], titems[k], strlen( titems[k] ) );
data/pd-unauthorized-0.1/scrolllist.c:613: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( titems[irank], x->x_items[i], strlen( x->x_items[i] ) );
data/pd-unauthorized-0.1/scrolllist.c:661: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( x->x_items[i], x->x_items[i+1], strlen( x->x_items[i+1] ) );
data/pd-unauthorized-0.1/scrolllist.c:666: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( x->x_items[x->x_nitems-1], fnewtext->s_name, strlen( fnewtext->s_name ) );
data/pd-unauthorized-0.1/scrolllist.c:674: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( x->x_items[x->x_nitems], fnewtext->s_name, strlen( fnewtext->s_name ) );
data/pd-unauthorized-0.1/scrolllist.c:714: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( x->x_items[i+1], x->x_items[i], strlen( x->x_items[i] ) );
data/pd-unauthorized-0.1/scrolllist.c:721: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( x->x_items[rank], ftext->s_name, strlen( ftext->s_name ) );
data/pd-unauthorized-0.1/scrolllist.c:749: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( x->x_items[rank], ftext->s_name, strlen( ftext->s_name ) );
data/pd-unauthorized-0.1/scrolllist.c:774: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( x->x_items[i], x->x_items[i+1], strlen( x->x_items[i+1] ) );
data/pd-unauthorized-0.1/scrolllist.c:833: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( x->x_font, "{Helvetica 10 bold}" );
data/pd-unauthorized-0.1/scrolllist.c:837: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( x->x_bgcolor, "#457782" );
data/pd-unauthorized-0.1/scrolllist.c:839: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( x->x_fgcolor, "black" );
data/pd-unauthorized-0.1/scrolllist.c:841: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( x->x_secolor, "red" );
data/pd-unauthorized-0.1/scrolllist.c:901:38:  [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).
            x->x_charheight = (t_int)atoi( strstr( argv[3].a_w.w_symbol->s_name, " ") );
data/pd-unauthorized-0.1/sonogram~.c:336: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 newColor[ 8 ], olColor[8];
data/pd-unauthorized-0.1/sonogram~.c:383: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 color[8];
data/pd-unauthorized-0.1/sonogram~.c:431: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 fillColor[ 16 ];
data/pd-unauthorized-0.1/speexin~.c:216: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 out[8192];
data/pd-unauthorized-0.1/speexin~.c:261: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( x->x_inbuffer, x->x_inbuffer+flength+1, x->x_inbuffersize-flength-1 );
data/pd-unauthorized-0.1/speexin~.c:274:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char color[32];
data/pd-unauthorized-0.1/speexin~.c:286: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( color, "red" );
data/pd-unauthorized-0.1/speexin~.c:290: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( color, "lightgreen" );
data/pd-unauthorized-0.1/speexout~.c:332:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((char *)&csocket.sin_addr, (char *)hp->h_addr, hp->h_length);
data/pd-unauthorized-0.1/blinkenlights.c:190:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy( x->x_background, BL_BACKGROUND_COLOR, 7 );
data/pd-unauthorized-0.1/blinkenlights.c:193:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy( x->x_foreground, BL_FOREGROUND_COLOR, 7 );
data/pd-unauthorized-0.1/blinkenlights.c:557: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).
            nwidth = strlen( lineread )-1; // because of the carriage return
data/pd-unauthorized-0.1/blinkenlights.c:630: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(lineread) == 0) break;
data/pd-unauthorized-0.1/blinkenlights.c:671: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).
            nwidth = strlen( lineread )-1; // because of the carriage return
data/pd-unauthorized-0.1/cooled~.c:195:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy( x->x_gifdata+(hi*x->x_zoom+i)*8, color, 8 );
data/pd-unauthorized-0.1/cooled~.c:219:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy( x->x_gifdata+(rind*x->x_zoom+i)*8, color, 8 );
data/pd-unauthorized-0.1/cooled~.c:233:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy( x->x_gifdata+(lind*x->x_zoom+i)*8, color, 8 );
data/pd-unauthorized-0.1/cooled~.c:262:60:  [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.
                strcpy( x->x_gifdata+i*sizeof("#FFFFFF "), strcat( COOLED_BGCOLOR, " ") );
data/pd-unauthorized-0.1/cooled~.c:280:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep( THREAD_SLEEP_TIME );
data/pd-unauthorized-0.1/cooled~.c:1320: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).
    for ( ci=1; ci<(int)strlen( soperator->s_name ); ci++ )
data/pd-unauthorized-0.1/mp3amp~.c:681: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).
    if ( send(sockfd, request, strlen(request), 0) < 0 )    /* say hello to server */
data/pd-unauthorized-0.1/mp3amp~.c:762: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).
            for ( i=0; i<(int)strlen(x->x_mountpoint); i++ )
data/pd-unauthorized-0.1/mp3amp~.c:775: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).
            for ( i=0; i<(int)strlen(sptr); i++ )
data/pd-unauthorized-0.1/mp3amp~.c:788: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).
            for ( i=0; i<(int)strlen(sptr); i++ )
data/pd-unauthorized-0.1/mp3amp~.c:801: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).
            for ( i=0; i<(int)strlen(sptr); i++ )
data/pd-unauthorized-0.1/mp3amp~.c:814: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).
            for ( i=0; i<(int)strlen(x->x_bcname); i++ )
data/pd-unauthorized-0.1/mp3amp~.c:827: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).
            for ( i=0; i<(int)strlen(x->x_bcgenre); i++ )
data/pd-unauthorized-0.1/mp3amp~.c:840: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).
            for ( i=0; i<(int)strlen(x->x_bcurl); i++ )
data/pd-unauthorized-0.1/mp3amp~.c:861: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).
            for ( i=0; i<(int)strlen(sptr); i++ )
data/pd-unauthorized-0.1/mp3amp~.c:919: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).
                for ( i=0; i<(int)strlen(x->x_bcname); i++ )
data/pd-unauthorized-0.1/mp3amp~.c:932: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).
                for ( i=0; i<(int)strlen(x->x_bcname); i++ )
data/pd-unauthorized-0.1/mp3amp~.c:945: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).
                for ( i=0; i<(int)strlen(x->x_bcgenre); i++ )
data/pd-unauthorized-0.1/mp3amp~.c:958: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).
                for ( i=0; i<(int)strlen(x->x_bcaim); i++ )
data/pd-unauthorized-0.1/mp3amp~.c:971: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).
                for ( i=0; i<(int)strlen(x->x_bcurl); i++ )
data/pd-unauthorized-0.1/mp3amp~.c:1058: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).
    x->x_hostname = (char*) getbytes( strlen( hostname->s_name ) + 1 ); // there's a memory leak here
data/pd-unauthorized-0.1/mp3amp~.c:1061: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).
    x->x_mountpoint = (char*) getbytes( strlen( mountpoint->s_name ) + 1 ); // there's a memory leak here
data/pd-unauthorized-0.1/mp3amp~.c:1127: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).
        if ( ( p - url->s_name ) != (int)strlen( url->s_name ) )
data/pd-unauthorized-0.1/mp3amp~.c:1137:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy( hostname, hostptr, (int)(endhost - hostptr) );
data/pd-unauthorized-0.1/mp3cast~.c:405: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(data);
data/pd-unauthorized-0.1/mp3cast~.c:542:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:544:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:548:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:550:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:552:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:554:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:557:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:559:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:562:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:564:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:567:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:569:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:571:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:573:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:575:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:577:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:579:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:584: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).
        send(sockfd, resp, strlen(resp), 0);
data/pd-unauthorized-0.1/mp3cast~.c:586:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:595:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:597:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:607:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:609:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:611:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:613:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:617:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:622: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).
        send(sockfd, resp, strlen(resp), 0);
data/pd-unauthorized-0.1/mp3cast~.c:625:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:634:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:637:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:639:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:642:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:644:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:647:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:649:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:652:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:654:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:657:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:665:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:667:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:669:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:672:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = strlen(resp);
data/pd-unauthorized-0.1/mp3cast~.c:675: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).
        send(sockfd, resp, strlen(resp), 0);
data/pd-unauthorized-0.1/mp3cast~.c:679:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:682:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:686:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:688:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:691:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:693:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:696:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:698:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:701:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:710:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:716: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).
        send(sockfd, resp, strlen(resp), 0);
data/pd-unauthorized-0.1/mp3cast~.c:719:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:721:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3cast~.c:724:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        send(sockfd, buf, strlen(buf), 0);
data/pd-unauthorized-0.1/mp3fileout~.c:155:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = read( x->x_fd, (void *)buf, sizeof( unsigned long ) );
data/pd-unauthorized-0.1/mp3fileout~.c:234:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            ret = read( x->x_fd, x->x_inbuffer, size+sizeof(unsigned long) );
data/pd-unauthorized-0.1/playlist.c:71:67:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            entrysize=sizeof(struct dirent)-sizeof(entry->d_name)+strlen(entry->d_name)+1;
data/pd-unauthorized-0.1/playlist.c:185: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).
                freebytes( x->x_dentries[i], strlen( x->x_dentries[i] ) + 1 );
data/pd-unauthorized-0.1/playlist.c:217:69:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                x->x_dentries[x->x_nentries] = ( char * ) getbytes( strlen( dentries[i]->d_name ) + 1 );
data/pd-unauthorized-0.1/playlist.c:225:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy( wrappedname, x->x_dentries[x->x_nentries],  MIN(x->x_width/x->x_charwidth, MAXPDSTRING) );
data/pd-unauthorized-0.1/playlist.c:258: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).
        char* tmpstring = (char*) getbytes( strlen( x->x_curdir ) + strlen( x->x_dentries[x->x_itemselected]) + 2 );
data/pd-unauthorized-0.1/playlist.c:258:69:  [1] (buffer) strlen:
  Does not handle 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* tmpstring = (char*) getbytes( strlen( x->x_curdir ) + strlen( x->x_dentries[x->x_itemselected]) + 2 );
data/pd-unauthorized-0.1/playlist.c:264: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).
        freebytes( tmpstring, strlen( x->x_curdir ) + strlen( x->x_dentries[x->x_itemselected]) + 2 );
data/pd-unauthorized-0.1/playlist.c:264: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).
        freebytes( tmpstring, strlen( x->x_curdir ) + strlen( x->x_dentries[x->x_itemselected]) + 2 );
data/pd-unauthorized-0.1/playlist.c:486:29:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                            strncpy( wrappedname, x->x_dentries[i],  x->x_width/x->x_charwidth );
data/pd-unauthorized-0.1/playlist.c:527:29:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                            strncpy( wrappedname, x->x_dentries[i],  x->x_width/x->x_charwidth );
data/pd-unauthorized-0.1/playlist.c:595:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                char *tmpstring = (char *) getbytes( strlen( x->x_curdir ) + strlen( x->x_dentries[x->x_itemselected] ) + 2 );
data/pd-unauthorized-0.1/playlist.c:595: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).
                char *tmpstring = (char *) getbytes( strlen( x->x_curdir ) + strlen( x->x_dentries[x->x_itemselected] ) + 2 );
data/pd-unauthorized-0.1/playlist.c:613:29:  [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( x->x_curdir, "/" );
data/pd-unauthorized-0.1/playlist.c:622:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        if ( strlen( x->x_curdir ) + strlen( x->x_dentries[x->x_itemselected] ) + 2 > MAXPDSTRING )
data/pd-unauthorized-0.1/playlist.c:622:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        if ( strlen( x->x_curdir ) + strlen( x->x_dentries[x->x_itemselected] ) + 2 > MAXPDSTRING )
data/pd-unauthorized-0.1/playlist.c:845:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy( x->x_curdir, cwd->s_name, MAXPDSTRING );
data/pd-unauthorized-0.1/playlist.c:928:13:  [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( x->x_curdir, "/" );
data/pd-unauthorized-0.1/playlist.c:934: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).
        if ( strlen( flocation->s_name ) >= MAXPDSTRING )
data/pd-unauthorized-0.1/playlist.c:939:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy( x->x_curdir, flocation->s_name, MAXPDSTRING );
data/pd-unauthorized-0.1/playlist.c:944: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).
        if ( strlen( x->x_curdir ) + strlen( flocation->s_name ) + 2 > MAXPDSTRING )
data/pd-unauthorized-0.1/playlist.c:944: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).
        if ( strlen( x->x_curdir ) + strlen( flocation->s_name ) + 2 > MAXPDSTRING )
data/pd-unauthorized-0.1/scrolllist.c:490: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).
            titems[i] = (char*) malloc( strlen( x->x_items[i] ) + 1 );
data/pd-unauthorized-0.1/scrolllist.c:491: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).
            memcpy( titems[i], x->x_items[i], strlen( x->x_items[i] ) );
data/pd-unauthorized-0.1/scrolllist.c:492:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            titems[i][strlen( x->x_items[i] )]='\0';
data/pd-unauthorized-0.1/scrolllist.c:606: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).
                    titems[k+1] = (char*) malloc( strlen( titems[k] ) + 1 );
data/pd-unauthorized-0.1/scrolllist.c:607:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    memcpy( titems[k+1], titems[k], strlen( titems[k] ) );
data/pd-unauthorized-0.1/scrolllist.c:608: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).
                    titems[k+1][strlen( titems[k] )]='\0';
data/pd-unauthorized-0.1/scrolllist.c:612: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).
            titems[irank] = (char*) malloc( strlen( x->x_items[i] ) + 1 );
data/pd-unauthorized-0.1/scrolllist.c:613: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).
            memcpy( titems[irank], x->x_items[i], strlen( x->x_items[i] ) );
data/pd-unauthorized-0.1/scrolllist.c:614: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).
            titems[irank][strlen( x->x_items[i] )]='\0';
data/pd-unauthorized-0.1/scrolllist.c:660: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).
            x->x_items[i] = (char*) malloc( strlen( x->x_items[i+1] ) + 1 );
data/pd-unauthorized-0.1/scrolllist.c:661:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            memcpy( x->x_items[i], x->x_items[i+1], strlen( x->x_items[i+1] ) );
data/pd-unauthorized-0.1/scrolllist.c:662: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).
            x->x_items[i][strlen( x->x_items[i+1] )]='\0';
data/pd-unauthorized-0.1/scrolllist.c:665:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        x->x_items[x->x_nitems-1] = (char*) malloc( strlen( fnewtext->s_name ) + 1 );
data/pd-unauthorized-0.1/scrolllist.c:666:62:  [1] (buffer) strlen:
  Does not handle 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( x->x_items[x->x_nitems-1], fnewtext->s_name, strlen( fnewtext->s_name ) );
data/pd-unauthorized-0.1/scrolllist.c:667: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).
        x->x_items[x->x_nitems-1][strlen( fnewtext->s_name )]='\0';
data/pd-unauthorized-0.1/scrolllist.c:673: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).
        x->x_items[x->x_nitems] = (char*) malloc( strlen( fnewtext->s_name ) + 1 );
data/pd-unauthorized-0.1/scrolllist.c:674:60:  [1] (buffer) strlen:
  Does not handle 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( x->x_items[x->x_nitems], fnewtext->s_name, strlen( fnewtext->s_name ) );
data/pd-unauthorized-0.1/scrolllist.c:675: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).
        x->x_items[x->x_nitems][strlen( fnewtext->s_name )]='\0';
data/pd-unauthorized-0.1/scrolllist.c:713: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).
            x->x_items[i+1] = (char*) malloc( strlen( x->x_items[i] ) + 1 );
data/pd-unauthorized-0.1/scrolllist.c:714:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            memcpy( x->x_items[i+1], x->x_items[i], strlen( x->x_items[i] ) );
data/pd-unauthorized-0.1/scrolllist.c:715: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).
            x->x_items[i+1][strlen( x->x_items[i] )]='\0';
data/pd-unauthorized-0.1/scrolllist.c:720: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).
    x->x_items[rank] = (char*) malloc( strlen( ftext->s_name ) + 1 );
data/pd-unauthorized-0.1/scrolllist.c:721: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).
    memcpy( x->x_items[rank], ftext->s_name, strlen( ftext->s_name ) );
data/pd-unauthorized-0.1/scrolllist.c:722: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).
    x->x_items[rank][strlen( ftext->s_name )]='\0';
data/pd-unauthorized-0.1/scrolllist.c:748: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).
    x->x_items[rank] = (char*) malloc( strlen( ftext->s_name ) + 1 );
data/pd-unauthorized-0.1/scrolllist.c:749: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).
    memcpy( x->x_items[rank], ftext->s_name, strlen( ftext->s_name ) );
data/pd-unauthorized-0.1/scrolllist.c:750: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).
    x->x_items[rank][strlen( ftext->s_name )]='\0';
data/pd-unauthorized-0.1/scrolllist.c:773: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).
        x->x_items[i] = (char*) malloc( strlen( x->x_items[i+1] ) + 1 );
data/pd-unauthorized-0.1/scrolllist.c:774: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).
        memcpy( x->x_items[i], x->x_items[i+1], strlen( x->x_items[i+1] ) );
data/pd-unauthorized-0.1/scrolllist.c:775:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        x->x_items[i][strlen( x->x_items[i+1] )]='\0';
data/pd-unauthorized-0.1/sonogram~.c:348:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy( newColor, sonogram_get_fill_color( fspectrum ), 8 );
data/pd-unauthorized-0.1/sonogram~.c:362:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy( newColor, phasogram_get_fill_color( phase ), 8 );
data/pd-unauthorized-0.1/sonogram~.c:363:9:  [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( x->x_gifdata, "" );
data/pd-unauthorized-0.1/sonogram~.c:391:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy( color, sonogram_get_fill_color( fspectrum ), 8 );
data/pd-unauthorized-0.1/sonogram~.c:394:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy( x->x_gifdata+((x->x_blocksize/2-fi-1)*x->x_zoom+i)*8, color, 8 );
data/pd-unauthorized-0.1/sonogram~.c:406:9:  [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( x->x_gifdata, "" );
data/pd-unauthorized-0.1/sonogram~.c:411:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy( color, phasogram_get_fill_color( phase ), 8 );
data/pd-unauthorized-0.1/sonogram~.c:414:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy( x->x_gifdata+((x->x_blocksize/2-fi-1)*x->x_zoom+i)*8, color, 8 );
data/pd-unauthorized-0.1/sonogram~.c:440:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
                strncpy( x->x_gifdata+i*sizeof("#FFFFFF "), "#FFFFFF ", 8 );
data/pd-unauthorized-0.1/sonogram~.c:458:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep( THREAD_SLEEP_TIME );

ANALYSIS SUMMARY:

Hits = 332
Lines analyzed = 21260 in approximately 0.59 seconds (35882 lines/second)
Physical Source Lines of Code (SLOC) = 17086
Hits@level = [0]  18 [1] 150 [2] 105 [3]  14 [4]  63 [5]   0
Hits@level+ = [0+] 350 [1+] 332 [2+] 182 [3+]  77 [4+]  63 [5+]   0
Hits/KSLOC@level+ = [0+] 20.4846 [1+] 19.4311 [2+] 10.652 [3+] 4.50661 [4+] 3.68723 [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.