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/poc-streamer-0.4.2/mp3cue.h
Examining data/poc-streamer-0.4.2/poc-2250.c
Examining data/poc-streamer-0.4.2/network6.c
Examining data/poc-streamer-0.4.2/id3.c
Examining data/poc-streamer-0.4.2/mp3-trans.c
Examining data/poc-streamer-0.4.2/pob-2250-rb.c
Examining data/poc-streamer-0.4.2/crc32.c
Examining data/poc-streamer-0.4.2/poc-fec.c
Examining data/poc-streamer-0.4.2/vorbis-read.c
Examining data/poc-streamer-0.4.2/network4.c
Examining data/poc-streamer-0.4.2/http.c
Examining data/poc-streamer-0.4.2/dlist.c
Examining data/poc-streamer-0.4.2/crc32.h
Examining data/poc-streamer-0.4.2/id3.h
Examining data/poc-streamer-0.4.2/aq.c
Examining data/poc-streamer-0.4.2/dlist.h
Examining data/poc-streamer-0.4.2/http.h
Examining data/poc-streamer-0.4.2/mp3-write.c
Examining data/poc-streamer-0.4.2/network.c
Examining data/poc-streamer-0.4.2/adutomp3.c
Examining data/poc-streamer-0.4.2/conf.h
Examining data/poc-streamer-0.4.2/fec.c
Examining data/poc-streamer-0.4.2/fec-rb.c
Examining data/poc-streamer-0.4.2/network.h
Examining data/poc-streamer-0.4.2/mp3.c
Examining data/poc-streamer-0.4.2/ogg-write.c
Examining data/poc-streamer-0.4.2/fec-rb.h
Examining data/poc-streamer-0.4.2/fec.h
Examining data/poc-streamer-0.4.2/pogg-http.c
Examining data/poc-streamer-0.4.2/mp3.h
Examining data/poc-streamer-0.4.2/rtp-rb.c
Examining data/poc-streamer-0.4.2/rtp.c
Examining data/poc-streamer-0.4.2/ogg-read.c
Examining data/poc-streamer-0.4.2/rtp-rb.h
Examining data/poc-streamer-0.4.2/rtp.h
Examining data/poc-streamer-0.4.2/aq.h
Examining data/poc-streamer-0.4.2/poc-http-inetd.c
Examining data/poc-streamer-0.4.2/fec-group.c
Examining data/poc-streamer-0.4.2/fec-group.h
Examining data/poc-streamer-0.4.2/libfec-test.c
Examining data/poc-streamer-0.4.2/pob-3119-rb.c
Examining data/poc-streamer-0.4.2/vorbis.c
Examining data/poc-streamer-0.4.2/mp3-sf.c
Examining data/poc-streamer-0.4.2/vorbis.h
Examining data/poc-streamer-0.4.2/pob-fec.c
Examining data/poc-streamer-0.4.2/pob-fec.h
Examining data/poc-streamer-0.4.2/galois.c
Examining data/poc-streamer-0.4.2/pack.c
Examining data/poc-streamer-0.4.2/fec-pkt.c
Examining data/poc-streamer-0.4.2/adu.h
Examining data/poc-streamer-0.4.2/libfec.c
Examining data/poc-streamer-0.4.2/galois.h
Examining data/poc-streamer-0.4.2/pack.h
Examining data/poc-streamer-0.4.2/mp3-huffman.c
Examining data/poc-streamer-0.4.2/libfec.h
Examining data/poc-streamer-0.4.2/mp3toadu.c
Examining data/poc-streamer-0.4.2/poc-http.c
Examining data/poc-streamer-0.4.2/matrix.c
Examining data/poc-streamer-0.4.2/bv.c
Examining data/poc-streamer-0.4.2/matrix.h
Examining data/poc-streamer-0.4.2/poc-3119.c
Examining data/poc-streamer-0.4.2/bv.h
Examining data/poc-streamer-0.4.2/buf.c
Examining data/poc-streamer-0.4.2/ogg.c
Examining data/poc-streamer-0.4.2/huffman-read.c
Examining data/poc-streamer-0.4.2/signal.c
Examining data/poc-streamer-0.4.2/file.c
Examining data/poc-streamer-0.4.2/signal.h
Examining data/poc-streamer-0.4.2/ogg.h
Examining data/poc-streamer-0.4.2/buf.h
Examining data/poc-streamer-0.4.2/file.h
Examining data/poc-streamer-0.4.2/fec-pkt.h
Examining data/poc-streamer-0.4.2/mp3-read.c
Examining data/poc-streamer-0.4.2/misc.h
Examining data/poc-streamer-0.4.2/misc.c
Examining data/poc-streamer-0.4.2/mp3length.c
Examining data/poc-streamer-0.4.2/mp3cue-main.c
Examining data/poc-streamer-0.4.2/mp3cut.c

FINAL RESULTS:

data/poc-streamer-0.4.2/mp3cue-main.c:55:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt(argc, argv, "c:C:")) >= 0) {
data/poc-streamer-0.4.2/pob-2250-rb.c:338:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt(argc, argv, "hs:p:b:t:q"
data/poc-streamer-0.4.2/pob-3119-rb.c:396:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt(argc, argv, "hs:p:b:t:q"
data/poc-streamer-0.4.2/pob-fec.c:343:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt(argc, argv, "hs:p:b:t:q")) >= 0) {
data/poc-streamer-0.4.2/poc-2250.c:126:11:  [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.
    if (((random() % 100) >= ploss_rate) != 0) {
data/poc-streamer-0.4.2/poc-2250.c:262:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt(argc, argv, "hs:p:t:qc:P:")) >= 0) {
data/poc-streamer-0.4.2/poc-2250.c:264:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt(argc, argv, "hs:p:t:qP:")) >= 0) {
data/poc-streamer-0.4.2/poc-2250.c:327:9:  [3] (random) srandom:
  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.
        srandom(tv.tv_sec);
data/poc-streamer-0.4.2/poc-3119.c:157:12:  [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.
      if ((random() % 100) >= ploss_rate ) {
data/poc-streamer-0.4.2/poc-3119.c:302:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt(argc, argv, "hs:p:t:qc:P:"
data/poc-streamer-0.4.2/poc-3119.c:377:9:  [3] (random) srandom:
  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.
        srandom(tv.tv_sec);
data/poc-streamer-0.4.2/poc-fec.c:161:16:  [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.
          if ((random() % 100) >= ploss_rate ) {
data/poc-streamer-0.4.2/poc-fec.c:306:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt(argc, argv, "hs:p:t:qP:k:n:"
data/poc-streamer-0.4.2/poc-fec.c:350:9:  [3] (random) srandom:
  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.
        srandom(tv.tv_sec);
data/poc-streamer-0.4.2/poc-http-inetd.c:47:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt(argc, argv, "hs:p:")) >= 0) {
data/poc-streamer-0.4.2/poc-http.c:213:16:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
   while ((c = getopt(argc, argv, "hs:p:qc:"
data/poc-streamer-0.4.2/pogg-http.c:246:16:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
   while ((c = getopt(argc, argv, "hs:p:qc:"
data/poc-streamer-0.4.2/adutomp3.c:38: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 len[2];
data/poc-streamer-0.4.2/aq.c:74: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(tmp_frame, frame, sizeof(mp3_frame_t));
data/poc-streamer-0.4.2/aq.c:91: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(tmp_adu, adu, sizeof(adu_t));
data/poc-streamer-0.4.2/aq.c:252: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(&adu, tail, sizeof(adu_t));
data/poc-streamer-0.4.2/aq.c:290: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(adu_ptr, ptr + offset, bytes_here);
data/poc-streamer-0.4.2/aq.c:525: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(&frame, top, sizeof(adu_t));
data/poc-streamer-0.4.2/aq.c:575: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(mp3_frame_data_begin(&frame) + to_offset,
data/poc-streamer-0.4.2/aq.c:703: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 *f[2];
data/poc-streamer-0.4.2/buf.c:55: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(buf->data + buf->len, data, len);
data/poc-streamer-0.4.2/bv.c:187:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char test[4] = {0xaa, 0xaa, 0xaa, 0xaa},
data/poc-streamer-0.4.2/fec-group.c:120: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(ptr, pkt->payload, pkt->hdr.len);
data/poc-streamer-0.4.2/fec-group.c:194: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(adu.raw,
data/poc-streamer-0.4.2/fec-group.c:214: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(adu.raw,
data/poc-streamer-0.4.2/fec-group.c:247: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 *f[2];
data/poc-streamer-0.4.2/fec-group.c:310: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 *in_ptrs[fec_k];
data/poc-streamer-0.4.2/fec-group.c:311: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 buf[fec_k * max_len];
data/poc-streamer-0.4.2/fec-group.c:317:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(ptr, in_adus[i]->raw, adu_len);
data/poc-streamer-0.4.2/fec-group.c:360:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(adu.raw,
data/poc-streamer-0.4.2/fec-pkt.h:54:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char data[FEC_PKT_SIZE]; /* packet data: header + payload */
data/poc-streamer-0.4.2/fec.c:129: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(dst, src[idx], len * sizeof(gf));
data/poc-streamer-0.4.2/fec.c:157: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(p, fec->gen_matrix + idxs[i] * fec->k, fec->k * sizeof(gf));
data/poc-streamer-0.4.2/file.c:56:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file->fd = open(filename, O_RDONLY);
data/poc-streamer-0.4.2/file.c:97:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file->fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC,
data/poc-streamer-0.4.2/http.c:107: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(new_clients + new_count_clients,
data/poc-streamer-0.4.2/http.c:132:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[256];
data/poc-streamer-0.4.2/http.c:150:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char ip[16];
data/poc-streamer-0.4.2/http.h:19:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[HTTP_MAX_HDR_LEN];
data/poc-streamer-0.4.2/id3.c:49:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ptr, "COM", 3); ptr += 3;
data/poc-streamer-0.4.2/id3.c:52:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ptr, language, 3); ptr += 3;
data/poc-streamer-0.4.2/id3.c:54: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(ptr, short_comment, short_len);
data/poc-streamer-0.4.2/id3.c:59: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(ptr, long_comment, long_len);
data/poc-streamer-0.4.2/id3.c:81:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ptr, type, 3); ptr += 3;
data/poc-streamer-0.4.2/id3.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(ptr, string, slen); ptr += slen;
data/poc-streamer-0.4.2/id3.c:98:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ptr, "ID3", 3); ptr += 3;
data/poc-streamer-0.4.2/id3.c:112:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char id3[ID3_TAG_SIZE];
data/poc-streamer-0.4.2/id3.c:139: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 tracknumber[256];
data/poc-streamer-0.4.2/libfec-test.c:46:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf[8192];
data/poc-streamer-0.4.2/libfec-test.c:58:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 fec_pkts[fec_n][max_length];
data/poc-streamer-0.4.2/libfec-test.c:70: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 buf[8192];
data/poc-streamer-0.4.2/libfec.c:77: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(dst, adu->raw, retlen);
data/poc-streamer-0.4.2/libfec.c:94: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(adu.raw, buf, len);
data/poc-streamer-0.4.2/libfec.c:139: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(pkt.payload, data, len);
data/poc-streamer-0.4.2/libfec.c:163: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(dst, group->buf + idx * group->fec_len, retlen);
data/poc-streamer-0.4.2/libfec.c:168: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(dst, group->buf + idx * group->fec_len, retlen);
data/poc-streamer-0.4.2/libfec.c:265: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(encode->adu_ptrs[encode->count], data, len);
data/poc-streamer-0.4.2/matrix.c:351: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(matrix2, matrix1, sizeof(matrix1));
data/poc-streamer-0.4.2/matrix.c:361: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(vand2, vand1, sizeof(vand1));
data/poc-streamer-0.4.2/mp3-read.c:718:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char id3v2_hdr[10];
data/poc-streamer-0.4.2/mp3-read.c:719: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(id3v2_hdr, frame->raw, 4);
data/poc-streamer-0.4.2/mp3-sf.c:291: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 *f[2];
data/poc-streamer-0.4.2/mp3-trans.c:28: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 *f[2];
data/poc-streamer-0.4.2/mp3-write.c:141: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 *f[2];
data/poc-streamer-0.4.2/mp3.h:78:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char scfsi[4];
data/poc-streamer-0.4.2/mp3.h:111:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char crc[2];
data/poc-streamer-0.4.2/mp3.h:129:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char  raw[MP3_RAW_SIZE];
data/poc-streamer-0.4.2/mp3cue-main.c:103:11:  [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).
  cuein = fopen(cuefilename, "r");
data/poc-streamer-0.4.2/mp3cue-main.c:141: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 outfilename[MP3CUE_MAX_STRING_LENGTH * 3 + 1];
data/poc-streamer-0.4.2/mp3cue-main.c:171:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char from_buf[256], to_buf[256];
data/poc-streamer-0.4.2/mp3cue.h: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                title[MP3CUE_MAX_STRING_LENGTH + 1];
data/poc-streamer-0.4.2/mp3cue.h:45: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                performer[MP3CUE_MAX_STRING_LENGTH + 1];
data/poc-streamer-0.4.2/mp3cue.h:55: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           performer[MP3CUE_MAX_STRING_LENGTH + 1];
data/poc-streamer-0.4.2/mp3cue.h: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           title[MP3CUE_MAX_STRING_LENGTH + 1];
data/poc-streamer-0.4.2/mp3cut.c:23: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[16];
data/poc-streamer-0.4.2/mp3cut.c:35: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 strbuf[256];
data/poc-streamer-0.4.2/mp3cut.c:104:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char filename[256];
data/poc-streamer-0.4.2/mp3cut.c:109: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 artist[256];
data/poc-streamer-0.4.2/mp3cut.c:110: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 title[256];
data/poc-streamer-0.4.2/mp3cut.c:111: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 album[256];
data/poc-streamer-0.4.2/mp3cut.c:209:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char outfilename[256];
data/poc-streamer-0.4.2/mp3cut.c:230: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[256];
data/poc-streamer-0.4.2/mp3cut.c:269: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 fromstr[256], tostr[256];
data/poc-streamer-0.4.2/mp3cut.c:294: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 curstr[256];
data/poc-streamer-0.4.2/mp3cut.c:334: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 timebuf[256];
data/poc-streamer-0.4.2/mp3length.c:52: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[256];
data/poc-streamer-0.4.2/mp3toadu.c:42:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 len[2];
data/poc-streamer-0.4.2/network.h:10:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int net_ip4_resolve_hostname(const char *hostname,
data/poc-streamer-0.4.2/network.h:12:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 ip[4],
data/poc-streamer-0.4.2/network.h:27:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  unsigned char ip[4],
data/poc-streamer-0.4.2/network.h:30:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 ip[4],
data/poc-streamer-0.4.2/network.h:33:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int net_tcp4_accept_socket(int s, unsigned char ip[4], unsigned short *port);
data/poc-streamer-0.4.2/network.h:45:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  unsigned char ip[4],
data/poc-streamer-0.4.2/network.h:48:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 ip[4],
data/poc-streamer-0.4.2/network.h:51:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int net_tcp6_accept_socket(int s, unsigned char ip[16], unsigned short *port);
data/poc-streamer-0.4.2/network4.c:25:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int net_ip4_resolve_hostname(const char *hostname,
data/poc-streamer-0.4.2/network4.c:27:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 ip[4],
data/poc-streamer-0.4.2/network4.c:40: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(ip, host->h_addr_list[0], host->h_length);
data/poc-streamer-0.4.2/network4.c:42: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(&saddr->sin_addr, host->h_addr_list[0], host->h_length);
data/poc-streamer-0.4.2/network4.c:240:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int net_tcp4_bind(int s, unsigned char ip[4], unsigned short port) {
data/poc-streamer-0.4.2/network4.c:249: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(&sa.sin_addr, ip, 4);
data/poc-streamer-0.4.2/network4.c:255:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 ip[4],
data/poc-streamer-0.4.2/network4.c:263:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char ip[4];
data/poc-streamer-0.4.2/network4.c:278:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 ip[4],
data/poc-streamer-0.4.2/network4.c:288: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(ip, (unsigned char *)&sa.sin_addr, 4);
data/poc-streamer-0.4.2/network6.c:104: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(&saddr.sin6_addr, host->h_addr_list[0], (size_t)host->h_length);
data/poc-streamer-0.4.2/network6.c:151: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(&addr.sin6_addr, host->h_addr_list[0], (size_t)host->h_length);
data/poc-streamer-0.4.2/network6.c:173: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(&mreq.ipv6mr_multiaddr,
data/poc-streamer-0.4.2/network6.c:222:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int net_tcp6_bind(int s, unsigned char ip[16], unsigned short port) {
data/poc-streamer-0.4.2/network6.c:231:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&sa.sin6_addr, ip, 16);
data/poc-streamer-0.4.2/network6.c:237:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 ip[16],
data/poc-streamer-0.4.2/network6.c:270:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 ip[16],
data/poc-streamer-0.4.2/network6.c:280: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(ip, (unsigned char *)&sa.sin6_addr, 16);
data/poc-streamer-0.4.2/ogg-read.c:60: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(page->position, ptr, 8);
data/poc-streamer-0.4.2/ogg-write.c:44:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ptr, page->position, 8);
data/poc-streamer-0.4.2/ogg-write.c:85: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 *f[2];
data/poc-streamer-0.4.2/ogg.h:81:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char position[8];
data/poc-streamer-0.4.2/ogg.h:130:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char lacing_values[255];
data/poc-streamer-0.4.2/pack.c:73:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char test[4], *ptr;
data/poc-streamer-0.4.2/pob-2250-rb.c:352:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      port = atoi(optarg);
data/poc-streamer-0.4.2/pob-2250-rb.c:356:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      buffer_size = (unsigned short)atoi(optarg);
data/poc-streamer-0.4.2/pob-2250-rb.c:381: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).
        if (!(f = fopen(optarg, "r")) ||
data/poc-streamer-0.4.2/pob-3119-rb.c:303: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(adu.raw, ptr, pkt->length);
data/poc-streamer-0.4.2/pob-3119-rb.c:410:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      port = atoi(optarg);
data/poc-streamer-0.4.2/pob-3119-rb.c:414:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      buffer_size = (unsigned short)atoi(optarg);
data/poc-streamer-0.4.2/pob-3119-rb.c:439: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).
        if (!(f = fopen(optarg, "r")) ||
data/poc-streamer-0.4.2/pob-fec.c:353:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      port = atoi(optarg);
data/poc-streamer-0.4.2/pob-fec.c:357:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      buffer_size = (unsigned short)atoi(optarg);
data/poc-streamer-0.4.2/poc-2250.c:106: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(pkt.data + pkt.hlen, mp3_frame.raw, mp3_frame.frame_size);
data/poc-streamer-0.4.2/poc-2250.c:275:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      port = (unsigned short)atoi(optarg);
data/poc-streamer-0.4.2/poc-2250.c:283:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      ttl = (unsigned int)atoi(optarg);
data/poc-streamer-0.4.2/poc-2250.c:298: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).
        if (!(f = fopen(optarg, "r"))) {
data/poc-streamer-0.4.2/poc-2250.c:328: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).
        ploss_rate = atoi(optarg);
data/poc-streamer-0.4.2/poc-2250.c:391: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 filename[MAX_FILENAME];
data/poc-streamer-0.4.2/poc-3119.c:135: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(ptr, adu->raw, pkt.length);
data/poc-streamer-0.4.2/poc-3119.c:325:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      port = (unsigned short)atoi(optarg);
data/poc-streamer-0.4.2/poc-3119.c:333:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      ttl = (unsigned int)atoi(optarg);
data/poc-streamer-0.4.2/poc-3119.c:348: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).
        if (!(f = fopen(optarg, "r"))) {
data/poc-streamer-0.4.2/poc-3119.c:378: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).
        ploss_rate = atoi(optarg);
data/poc-streamer-0.4.2/poc-3119.c:445: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 filename[MAX_FILENAME];
data/poc-streamer-0.4.2/poc-fec.c:126: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 *in_ptrs[fec_k];
data/poc-streamer-0.4.2/poc-fec.c:127: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 buf[fec_k * max_len];
data/poc-streamer-0.4.2/poc-fec.c:134:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(ptr, in_adus[i]->raw, adu_len);
data/poc-streamer-0.4.2/poc-fec.c:326:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      port = (unsigned short)atoi(optarg);
data/poc-streamer-0.4.2/poc-fec.c:334:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      ttl = (unsigned int)atoi(optarg);
data/poc-streamer-0.4.2/poc-fec.c:338:29:  [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).
      fec_k = (unsigned int)atoi(optarg);
data/poc-streamer-0.4.2/poc-fec.c:342:29:  [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).
      fec_n = (unsigned int)atoi(optarg);
data/poc-streamer-0.4.2/poc-fec.c:351: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).
        ploss_rate = atoi(optarg);
data/poc-streamer-0.4.2/poc-fec.c:418: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 filename[MAX_FILENAME];
data/poc-streamer-0.4.2/poc-http-inetd.c:56:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      port = atoi(optarg);
data/poc-streamer-0.4.2/poc-http.c:233:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
       port = (unsigned short)atoi(optarg);
data/poc-streamer-0.4.2/poc-http.c:237: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).
       max_clients = (unsigned short)atoi(optarg);
data/poc-streamer-0.4.2/poc-http.c:306:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     unsigned char filename[MAX_FILENAME];
data/poc-streamer-0.4.2/pogg-http.c:266:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
       port = (unsigned short)atoi(optarg);
data/poc-streamer-0.4.2/pogg-http.c:270: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).
       max_clients = (unsigned short)atoi(optarg);
data/poc-streamer-0.4.2/pogg-http.c:341:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     unsigned char filename[MAX_FILENAME];
data/poc-streamer-0.4.2/rtp-rb.c:115: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(dstpkt, pkt, sizeof(rtp_pkt_t));
data/poc-streamer-0.4.2/rtp.c:254:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char md[EVP_MAX_MD_SIZE];
data/poc-streamer-0.4.2/rtp.c:287:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char md[EVP_MAX_MD_SIZE];
data/poc-streamer-0.4.2/rtp.c:432: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(pkt2.data, pkt1.data, RTP_PKT_SIZE);
data/poc-streamer-0.4.2/rtp.c:455: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(pkt2.data, pkt1.data, RTP_PKT_SIZE);
data/poc-streamer-0.4.2/rtp.c:478: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(pkt2.data, pkt1.data, RTP_PKT_SIZE);
data/poc-streamer-0.4.2/rtp.h:92:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char data[RTP_PKT_SIZE];
data/poc-streamer-0.4.2/aq.c:678:5:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fgetc(stdin);
data/poc-streamer-0.4.2/crc32.c:65: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).
  printf("crc: %lx\n", crc32(&crc, argv[2], strlen(argv[2])));
data/poc-streamer-0.4.2/fec-pkt.c:83:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  switch (len = read(fd, pkt->data, FEC_PKT_SIZE)) {
data/poc-streamer-0.4.2/http.c:306:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  tmp = read(client->fd, client->buf + client->len, 
data/poc-streamer-0.4.2/id3.c:42:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  unsigned int short_len = short_comment ? strlen(short_comment) : 0;
data/poc-streamer-0.4.2/id3.c:43:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  unsigned int long_len  = long_comment  ? strlen(long_comment)  : 0;
data/poc-streamer-0.4.2/id3.c:77: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).
  unsigned int slen = strlen(string);
data/poc-streamer-0.4.2/id3.c:117: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).
  if (album_title && strlen(album_title) > 0) {
data/poc-streamer-0.4.2/id3.c:124:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (artist && strlen(artist) > 0) {
data/poc-streamer-0.4.2/id3.c:131:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (title && strlen(title) > 0) {
data/poc-streamer-0.4.2/id3.c:147:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (comment && strlen(comment) > 0) {
data/poc-streamer-0.4.2/misc.c:40:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((i = read(fd, buf + len, size - len))) {
data/poc-streamer-0.4.2/mp3-read.c:835:5:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fgetc(stdin);
data/poc-streamer-0.4.2/mp3cue-main.c:98:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(cuefile.title, cuefilename, MP3CUE_MAX_STRING_LENGTH);
data/poc-streamer-0.4.2/mp3cue-main.c:142:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(cuefile.tracks[i].performer) > 0 &&
data/poc-streamer-0.4.2/mp3cue-main.c:143:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        strlen(cuefile.tracks[i].title) > 0) {
data/poc-streamer-0.4.2/mp3cut.c:25:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(buf, str, sizeof(buf));
data/poc-streamer-0.4.2/mp3cut.c:36:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(strbuf, str, sizeof(strbuf));
data/poc-streamer-0.4.2/mp3cut.c:134:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(outfilename, argv[i+1], max_outfilename);
data/poc-streamer-0.4.2/mp3cut.c:142:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(id3->title, argv[i+1], sizeof(id3->title));
data/poc-streamer-0.4.2/mp3cut.c:150:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(id3->album, argv[i+1], sizeof(id3->album));
data/poc-streamer-0.4.2/mp3cut.c:156:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(id3->artist, argv[i+1], sizeof(id3->artist));
data/poc-streamer-0.4.2/mp3cut.c:168: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).
        if (fromstr && (strlen(fromstr) > 0)) {
data/poc-streamer-0.4.2/mp3cut.c:176: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 (tostr && (strlen(tostr) > 0)) {
data/poc-streamer-0.4.2/mp3cut.c:191:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(mp3cuts[mp3cuts_cnt].filename, argv[i], sizeof(mp3cuts[0].filename));
data/poc-streamer-0.4.2/mp3cut.c:224:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(outfilename) == 0) {
data/poc-streamer-0.4.2/mp3cut.c:231:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    unsigned int len = dot ? (dot - mp3filename) : strlen(mp3filename);
data/poc-streamer-0.4.2/mp3cut.c:233:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buf, mp3filename, len);
data/poc-streamer-0.4.2/ogg-read.c:241:5:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fgetc(stdin);
data/poc-streamer-0.4.2/ogg-write.c:128:5:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fgetc(stdin);
data/poc-streamer-0.4.2/poc-2250.c:158:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
      usleep(wait_time);
data/poc-streamer-0.4.2/poc-2250.c:392:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(filename, argv[i], MAX_FILENAME - 1);
data/poc-streamer-0.4.2/poc-3119.c:190:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(wait_time);
data/poc-streamer-0.4.2/poc-3119.c:446:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(filename, argv[i], MAX_FILENAME - 1);
data/poc-streamer-0.4.2/poc-fec.c:196:13:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
            usleep(wait_time);
data/poc-streamer-0.4.2/poc-fec.c:419:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(filename, argv[i], MAX_FILENAME - 1);
data/poc-streamer-0.4.2/poc-http.c:119:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
      usleep(wait_time);
data/poc-streamer-0.4.2/poc-http.c:307:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
     strncpy(filename, argv[i], MAX_FILENAME - 1);
data/poc-streamer-0.4.2/pogg-http.c:144:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
      usleep((wait_time) * 1000);
data/poc-streamer-0.4.2/pogg-http.c:342:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
     strncpy(filename, argv[i], MAX_FILENAME - 1);
data/poc-streamer-0.4.2/vorbis-read.c:235:5:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fgetc(stdin);

ANALYSIS SUMMARY:

Hits = 209
Lines analyzed = 14531 in approximately 0.55 seconds (26585 lines/second)
Physical Source Lines of Code (SLOC) = 8782
Hits@level = [0] 303 [1]  41 [2] 151 [3]  17 [4]   0 [5]   0
Hits@level+ = [0+] 512 [1+] 209 [2+] 168 [3+]  17 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 58.3011 [1+] 23.7987 [2+] 19.13 [3+] 1.93578 [4+]   0 [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.