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-zexy-2.3.1/src/0x260x260x7e.c
Examining data/pd-zexy-2.3.1/src/0x2e.c
Examining data/pd-zexy-2.3.1/src/0x3c0x7e.c
Examining data/pd-zexy-2.3.1/src/0x3d0x3d0x7e.c
Examining data/pd-zexy-2.3.1/src/0x3e0x7e.c
Examining data/pd-zexy-2.3.1/src/0x7c0x7c0x7e.c
Examining data/pd-zexy-2.3.1/src/a2l.c
Examining data/pd-zexy-2.3.1/src/absgn~.c
Examining data/pd-zexy-2.3.1/src/abs~.c
Examining data/pd-zexy-2.3.1/src/atof.c
Examining data/pd-zexy-2.3.1/src/atoi.c
Examining data/pd-zexy-2.3.1/src/avg~.c
Examining data/pd-zexy-2.3.1/src/blockmirror~.c
Examining data/pd-zexy-2.3.1/src/blockshuffle~.c
Examining data/pd-zexy-2.3.1/src/blockswap~.c
Examining data/pd-zexy-2.3.1/src/date.c
Examining data/pd-zexy-2.3.1/src/demultiplex.c
Examining data/pd-zexy-2.3.1/src/demultiplex~.c
Examining data/pd-zexy-2.3.1/src/dfreq~.c
Examining data/pd-zexy-2.3.1/src/dirac~.c
Examining data/pd-zexy-2.3.1/src/doublepole~.c
Examining data/pd-zexy-2.3.1/src/drip.c
Examining data/pd-zexy-2.3.1/src/envrms~.c
Examining data/pd-zexy-2.3.1/src/fifop.c
Examining data/pd-zexy-2.3.1/src/freadln.c
Examining data/pd-zexy-2.3.1/src/fwriteln.c
Examining data/pd-zexy-2.3.1/src/glue.c
Examining data/pd-zexy-2.3.1/src/index.c
Examining data/pd-zexy-2.3.1/src/length.c
Examining data/pd-zexy-2.3.1/src/lifop.c
Examining data/pd-zexy-2.3.1/src/limiter~.c
Examining data/pd-zexy-2.3.1/src/list2int.c
Examining data/pd-zexy-2.3.1/src/list2lists.c
Examining data/pd-zexy-2.3.1/src/list2symbol.c
Examining data/pd-zexy-2.3.1/src/lister.c
Examining data/pd-zexy-2.3.1/src/listfind.c
Examining data/pd-zexy-2.3.1/src/liststorage.c
Examining data/pd-zexy-2.3.1/src/longload.c
Examining data/pd-zexy-2.3.1/src/lpt.c
Examining data/pd-zexy-2.3.1/src/makesymbol.c
Examining data/pd-zexy-2.3.1/src/matchbox.c
Examining data/pd-zexy-2.3.1/src/mavg.c
Examining data/pd-zexy-2.3.1/src/minmax.c
Examining data/pd-zexy-2.3.1/src/msgfile.c
Examining data/pd-zexy-2.3.1/src/multiline~.c
Examining data/pd-zexy-2.3.1/src/multiplex.c
Examining data/pd-zexy-2.3.1/src/multiplex~.c
Examining data/pd-zexy-2.3.1/src/multireceive.c
Examining data/pd-zexy-2.3.1/src/niagara.c
Examining data/pd-zexy-2.3.1/src/noish~.c
Examining data/pd-zexy-2.3.1/src/noisi~.c
Examining data/pd-zexy-2.3.1/src/operating_system.c
Examining data/pd-zexy-2.3.1/src/pack.c
Examining data/pd-zexy-2.3.1/src/packel.c
Examining data/pd-zexy-2.3.1/src/pack~.c
Examining data/pd-zexy-2.3.1/src/pdf~.c
Examining data/pd-zexy-2.3.1/src/prime.c
Examining data/pd-zexy-2.3.1/src/quantize~.c
Examining data/pd-zexy-2.3.1/src/rawprint.c
Examining data/pd-zexy-2.3.1/src/regex.c
Examining data/pd-zexy-2.3.1/src/relay.c
Examining data/pd-zexy-2.3.1/src/repack.c
Examining data/pd-zexy-2.3.1/src/repeat.c
Examining data/pd-zexy-2.3.1/src/route~.c
Examining data/pd-zexy-2.3.1/src/sfplay.c
Examining data/pd-zexy-2.3.1/src/sfrecord.c
Examining data/pd-zexy-2.3.1/src/sgn~.c
Examining data/pd-zexy-2.3.1/src/sigzero~.c
Examining data/pd-zexy-2.3.1/src/sleepgrain.c
Examining data/pd-zexy-2.3.1/src/sort.c
Examining data/pd-zexy-2.3.1/src/step~.c
Examining data/pd-zexy-2.3.1/src/strcmp.c
Examining data/pd-zexy-2.3.1/src/sum.c
Examining data/pd-zexy-2.3.1/src/swap~.c
Examining data/pd-zexy-2.3.1/src/symbol2list.c
Examining data/pd-zexy-2.3.1/src/tabdump.c
Examining data/pd-zexy-2.3.1/src/tabminmax.c
Examining data/pd-zexy-2.3.1/src/tabread4~~.c
Examining data/pd-zexy-2.3.1/src/tabset.c
Examining data/pd-zexy-2.3.1/src/tavg~.c
Examining data/pd-zexy-2.3.1/src/time.c
Examining data/pd-zexy-2.3.1/src/unpack.c
Examining data/pd-zexy-2.3.1/src/unpack~.c
Examining data/pd-zexy-2.3.1/src/urn.c
Examining data/pd-zexy-2.3.1/src/winNT_portio.c
Examining data/pd-zexy-2.3.1/src/wrap.c
Examining data/pd-zexy-2.3.1/src/z_zexy.c
Examining data/pd-zexy-2.3.1/src/zexy.c
Examining data/pd-zexy-2.3.1/src/zexy.h
Examining data/pd-zexy-2.3.1/src/zexySIMD.h
Examining data/pd-zexy-2.3.1/src/zexy_strndup.h
Examining data/pd-zexy-2.3.1/src/z~.c

FINAL RESULTS:

data/pd-zexy-2.3.1/src/freadln.c:24:10:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define snprintf _snprintf
data/pd-zexy-2.3.1/src/freadln.c:24:19:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define snprintf _snprintf
data/pd-zexy-2.3.1/src/freadln.c:120:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(x->x_filename,filenamebuf);
data/pd-zexy-2.3.1/src/freadln.c:122:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(x->x_filename+len+1,filenamebufptr);
data/pd-zexy-2.3.1/src/fwriteln.c:24:10:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define snprintf _snprintf
data/pd-zexy-2.3.1/src/fwriteln.c:24:19:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define snprintf _snprintf
data/pd-zexy-2.3.1/src/fwriteln.c:72: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(*to, from);
data/pd-zexy-2.3.1/src/fwriteln.c:127:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        snprintf(text,MAXPDSTRING,x->format_string_afloats,
data/pd-zexy-2.3.1/src/makesymbol.c:87:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(buffer,
data/pd-zexy-2.3.1/src/rawprint.c:24:10:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define snprintf _snprintf
data/pd-zexy-2.3.1/src/rawprint.c:24:19:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define snprintf _snprintf
data/pd-zexy-2.3.1/src/regex.c:99: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(result+pos, buf);
data/pd-zexy-2.3.1/src/regex.c:111:7:  [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(result+pos, ap->a_w.w_symbol->s_name);
data/pd-zexy-2.3.1/src/regex.c:116:7:  [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(result+pos, buffer);
data/pd-zexy-2.3.1/src/zexy.c:31:10:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define vsnprintf _vsnprintf
data/pd-zexy-2.3.1/src/zexy.c:187:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf(buf, MAXPDSTRING-1, fmt, ap);
data/pd-zexy-2.3.1/src/lpt.c:142:18:  [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.
    hInpOutDll = LoadLibrary ( filename );
data/pd-zexy-2.3.1/src/a2l.c:38:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(cur, argv, argc * sizeof(t_atom));
data/pd-zexy-2.3.1/src/date.c:90: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[5];
data/pd-zexy-2.3.1/src/fifop.c:122:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(entry->argv, argv, argc*sizeof(t_atom));
data/pd-zexy-2.3.1/src/freadln.c:56:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char linebreak_chr[3];
data/pd-zexy-2.3.1/src/freadln.c:81:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char filenamebuf[MAXPDSTRING], *filenamebufptr;
data/pd-zexy-2.3.1/src/freadln.c:97: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->linebreak_chr,";\n");
data/pd-zexy-2.3.1/src/fwriteln.c:48:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char linebreak_chr[3];
data/pd-zexy-2.3.1/src/fwriteln.c:49:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char format_string_afloats[MAXPDSTRING];
data/pd-zexy-2.3.1/src/fwriteln.c:94: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->linebreak_chr,";\n");
data/pd-zexy-2.3.1/src/fwriteln.c:198:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char width_str[MAXFMTSTRING];
data/pd-zexy-2.3.1/src/fwriteln.c:199:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char precision_str[MAXFMTSTRING];
data/pd-zexy-2.3.1/src/glue.c:43:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(x->ap2, argv, argc * sizeof(t_atom));
data/pd-zexy-2.3.1/src/glue.c:55: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->ap+argc, x->ap2, x->n2*sizeof(t_atom));
data/pd-zexy-2.3.1/src/glue.c:57: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->ap+argc, x->ap2, x->n2*sizeof(t_atom));
data/pd-zexy-2.3.1/src/glue.c:61:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(x->ap, argv, x->n1*sizeof(t_atom));
data/pd-zexy-2.3.1/src/glue.c:73:7:  [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(ap, x->ap, x->n1*sizeof(t_atom));
data/pd-zexy-2.3.1/src/glue.c:78: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->ap+x->n1, x->ap2, x->n2*sizeof(t_atom));
data/pd-zexy-2.3.1/src/index.c:149: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(buf, x->names, sizeof(t_symbol *) * x->maxentries);
data/pd-zexy-2.3.1/src/lifop.c:119:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(entry->argv, argv, argc*sizeof(t_atom));
data/pd-zexy-2.3.1/src/list2int.c:34: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_list, argv, argc * sizeof(t_atom));
data/pd-zexy-2.3.1/src/lpt.c:138: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 filename[MAXPDSTRING];
data/pd-zexy-2.3.1/src/lpt.c:144:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char errstring[MAXPDSTRING];
data/pd-zexy-2.3.1/src/makesymbol.c:71: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.
typedef char cstring[MAXSTRINGLENG];
data/pd-zexy-2.3.1/src/matchbox.c:84:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ll->argv, argv, argc*sizeof(t_atom));
data/pd-zexy-2.3.1/src/msgfile.c:191: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(cur->thislist + cur->n, av, ac * sizeof(t_atom));
data/pd-zexy-2.3.1/src/msgfile.c:402:45:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char*parse_csv(const char*src, char dst[MAXPDSTRING],
data/pd-zexy-2.3.1/src/msgfile.c:443:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char*parse_fudi(const char*src, char dst[MAXPDSTRING],
data/pd-zexy-2.3.1/src/msgfile.c:506:45:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char*parse_txt(const char*src, char dst[MAXPDSTRING],
data/pd-zexy-2.3.1/src/msgfile.c:569:49:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef const char*(*t_parsefn)(const char*src, char dst[MAXPDSTRING],
data/pd-zexy-2.3.1/src/msgfile.c:576:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char atombuf[MAXPDSTRING + 1];
data/pd-zexy-2.3.1/src/msgfile.c:1126:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char filnam[MAXPDSTRING];
data/pd-zexy-2.3.1/src/msgfile.c:1127:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAXPDSTRING], *bufptr, *readbuf;
data/pd-zexy-2.3.1/src/msgfile.c:1233:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAXPDSTRING];
data/pd-zexy-2.3.1/src/msgfile.c:1236:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char filnam[MAXPDSTRING];
data/pd-zexy-2.3.1/src/msgfile.c:1285: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 mytext[MAXPDSTRING];
data/pd-zexy-2.3.1/src/msgfile.c:1286: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 mytext2[MAXPDSTRING*2];
data/pd-zexy-2.3.1/src/multireceive.c:164:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char uniqsym[MAXPDSTRING];
data/pd-zexy-2.3.1/src/rawprint.c:42:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAXPDSTRING];
data/pd-zexy-2.3.1/src/regex.c:83:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[MAXPDSTRING];
data/pd-zexy-2.3.1/src/regex.c:114:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[MAXPDSTRING];
data/pd-zexy-2.3.1/src/repack.c:64:7:  [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->buffer, dumbuf, dumcur * sizeof(t_atom));
data/pd-zexy-2.3.1/src/repack.c:70:7:  [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(dumbuf, x->buffer, x->current * sizeof(t_atom));
data/pd-zexy-2.3.1/src/repack.c:122: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->buffer+x->current, ap, remain * sizeof(t_atom));
data/pd-zexy-2.3.1/src/repack.c:135:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(x->buffer + x->current, ap, argc * sizeof(t_atom));
data/pd-zexy-2.3.1/src/symbol2list.c:44:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *endptr[1];
data/pd-zexy-2.3.1/src/time.c:69: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[5];
data/pd-zexy-2.3.1/src/zexy.c:183:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAXPDSTRING];
data/pd-zexy-2.3.1/src/zexy_strndup.h:48:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(result, s, len);
data/pd-zexy-2.3.1/src/atof.c:45: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).
  size_t len=strlen(s);
data/pd-zexy-2.3.1/src/atoi.c:46: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).
  size_t len=strlen(str);
data/pd-zexy-2.3.1/src/freadln.c:95:5:  [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->linebreak_chr,"\n");
data/pd-zexy-2.3.1/src/freadln.c:113:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len=strlen(filenamebuf);
data/pd-zexy-2.3.1/src/freadln.c:114:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (!(x->x_filename=(char*)getbytes(sizeof(char)*(len+strlen(
data/pd-zexy-2.3.1/src/freadln.c:121:3:  [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_filename+len,"/");
data/pd-zexy-2.3.1/src/freadln.c:216:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (linebreak_pos + strlen(x->linebreak_chr) < items_read + 1 ) {
data/pd-zexy-2.3.1/src/fwriteln.c:71:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((*to = malloc(strlen(from) + 1))) {
data/pd-zexy-2.3.1/src/fwriteln.c:92:5:  [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->linebreak_chr,"\n");
data/pd-zexy-2.3.1/src/fwriteln.c:116: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).
      length=strlen(text);
data/pd-zexy-2.3.1/src/fwriteln.c:130:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        length=strlen(text);
data/pd-zexy-2.3.1/src/fwriteln.c:141:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        length=strlen(text);
data/pd-zexy-2.3.1/src/fwriteln.c:151:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        length=strlen(text);
data/pd-zexy-2.3.1/src/fwriteln.c:161:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        length=strlen(text);
data/pd-zexy-2.3.1/src/fwriteln.c:176:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length=strlen(text);
data/pd-zexy-2.3.1/src/list2symbol.c:49:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    connlen=strlen(connector);
data/pd-zexy-2.3.1/src/list2symbol.c:54:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length+=strlen(x->s->s_name);
data/pd-zexy-2.3.1/src/list2symbol.c:64: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).
      len2=strlen(argv->a_w.w_symbol->s_name);
data/pd-zexy-2.3.1/src/list2symbol.c:67: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).
      len2=strlen(buffer);
data/pd-zexy-2.3.1/src/list2symbol.c:83:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int buflen=strlen(buf);
data/pd-zexy-2.3.1/src/list2symbol.c:84:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(result+len, buf, length-len);
data/pd-zexy-2.3.1/src/list2symbol.c:87:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(result+len, connector, length-len);
data/pd-zexy-2.3.1/src/list2symbol.c:95:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(result+len, argv->a_w.w_symbol->s_name, length-len);
data/pd-zexy-2.3.1/src/list2symbol.c:96:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len+= strlen(argv->a_w.w_symbol->s_name);
data/pd-zexy-2.3.1/src/list2symbol.c:99:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(result+len, buffer, length-len);
data/pd-zexy-2.3.1/src/list2symbol.c:100:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len += strlen(buffer);
data/pd-zexy-2.3.1/src/list2symbol.c:104:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(result+len, connector, length-len);
data/pd-zexy-2.3.1/src/longload.c:42:3:  [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(milli*1000);
data/pd-zexy-2.3.1/src/msgfile.c:393:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(x && strlen(atombuf)==count) {
data/pd-zexy-2.3.1/src/msgfile.c:1041:9:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (equal) {
data/pd-zexy-2.3.1/src/regex.c:70:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length+=strlen(s->s_name);
data/pd-zexy-2.3.1/src/regex.c:81:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len=strlen(ap->a_w.w_symbol->s_name);
data/pd-zexy-2.3.1/src/regex.c:85:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len=strlen(buffer);
data/pd-zexy-2.3.1/src/regex.c:100:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    pos+=strlen(buf);
data/pd-zexy-2.3.1/src/regex.c:102:7:  [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(result+pos, " ");
data/pd-zexy-2.3.1/src/regex.c:112:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      pos+= strlen(ap->a_w.w_symbol->s_name);
data/pd-zexy-2.3.1/src/regex.c:117: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).
      pos += strlen(buffer);
data/pd-zexy-2.3.1/src/regex.c:121:7:  [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(result+pos, " ");
data/pd-zexy-2.3.1/src/symbol2list.c:46:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(buffer, cp, clen+1);
data/pd-zexy-2.3.1/src/symbol2list.c:79:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    i=strlen(cc);
data/pd-zexy-2.3.1/src/symbol2list.c:93:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  dell=strlen(deli);
data/pd-zexy-2.3.1/src/symbol2list.c:128: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).
    string2atom(x->argv+i, cp, strlen(cp));
data/pd-zexy-2.3.1/src/zexy_strndup.h:39:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen(s) + 1;

ANALYSIS SUMMARY:

Hits = 108
Lines analyzed = 18652 in approximately 0.48 seconds (38975 lines/second)
Physical Source Lines of Code (SLOC) = 13197
Hits@level = [0]  31 [1]  43 [2]  48 [3]   1 [4]  16 [5]   0
Hits@level+ = [0+] 139 [1+] 108 [2+]  65 [3+]  17 [4+]  16 [5+]   0
Hits/KSLOC@level+ = [0+] 10.5327 [1+] 8.18368 [2+] 4.92536 [3+] 1.28817 [4+] 1.2124 [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.