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/udt-4.11+dfsg1/src/channel.cpp
Examining data/udt-4.11+dfsg1/src/ccc.h
Examining data/udt-4.11+dfsg1/src/epoll.cpp
Examining data/udt-4.11+dfsg1/src/buffer.cpp
Examining data/udt-4.11+dfsg1/src/common.h
Examining data/udt-4.11+dfsg1/src/core.cpp
Examining data/udt-4.11+dfsg1/src/md5.cpp
Examining data/udt-4.11+dfsg1/src/channel.h
Examining data/udt-4.11+dfsg1/src/list.h
Examining data/udt-4.11+dfsg1/src/list.cpp
Examining data/udt-4.11+dfsg1/src/queue.h
Examining data/udt-4.11+dfsg1/src/api.h
Examining data/udt-4.11+dfsg1/src/packet.h
Examining data/udt-4.11+dfsg1/src/cache.h
Examining data/udt-4.11+dfsg1/src/common.cpp
Examining data/udt-4.11+dfsg1/src/udt.h
Examining data/udt-4.11+dfsg1/src/epoll.h
Examining data/udt-4.11+dfsg1/src/api.cpp
Examining data/udt-4.11+dfsg1/src/ccc.cpp
Examining data/udt-4.11+dfsg1/src/buffer.h
Examining data/udt-4.11+dfsg1/src/core.h
Examining data/udt-4.11+dfsg1/src/packet.cpp
Examining data/udt-4.11+dfsg1/src/cache.cpp
Examining data/udt-4.11+dfsg1/src/queue.cpp
Examining data/udt-4.11+dfsg1/src/window.h
Examining data/udt-4.11+dfsg1/src/md5.h
Examining data/udt-4.11+dfsg1/src/window.cpp
Examining data/udt-4.11+dfsg1/app/cc.h
Examining data/udt-4.11+dfsg1/app/test.cpp
Examining data/udt-4.11+dfsg1/app/test_util.h
Examining data/udt-4.11+dfsg1/app/appserver.cpp
Examining data/udt-4.11+dfsg1/app/appclient.cpp
Examining data/udt-4.11+dfsg1/app/recvfile.cpp
Examining data/udt-4.11+dfsg1/app/sendfile.cpp

FINAL RESULTS:

data/udt-4.11+dfsg1/src/api.cpp:136:4:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
   srand((unsigned int)CTimer::getTime());
data/udt-4.11+dfsg1/src/ccc.cpp:283:7:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      srand(m_iLastDecSeq);
data/udt-4.11+dfsg1/src/core.cpp:606:4:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
   srand((unsigned int)CTimer::getTime());
data/udt-4.11+dfsg1/app/appclient.cpp:26: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).
   if ((3 != argc) || (0 == atoi(argv[2])))
data/udt-4.11+dfsg1/app/appserver.cpp:26:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
   if ((1 != argc) && ((2 != argc) || (0 == atoi(argv[1]))))
data/udt-4.11+dfsg1/app/appserver.cpp:92: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 clienthost[NI_MAXHOST];
data/udt-4.11+dfsg1/app/appserver.cpp:93: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 clientservice[NI_MAXSERV];
data/udt-4.11+dfsg1/app/recvfile.cpp:18: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).
   if ((argc != 5) || (0 == atoi(argv[2])))
data/udt-4.11+dfsg1/app/sendfile.cpp:24:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
   if ((2 < argc) || ((2 == argc) && (0 == atoi(argv[1]))))
data/udt-4.11+dfsg1/app/sendfile.cpp:85: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 clienthost[NI_MAXHOST];
data/udt-4.11+dfsg1/app/sendfile.cpp:86: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 clientservice[NI_MAXSERV];
data/udt-4.11+dfsg1/app/sendfile.cpp:117: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 file[1024];
data/udt-4.11+dfsg1/app/test.cpp:35: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 service[16];
data/udt-4.11+dfsg1/app/test.cpp:36:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf(service, "%d", port);
data/udt-4.11+dfsg1/app/test.cpp:80: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 service[16];
data/udt-4.11+dfsg1/app/test.cpp:81:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf(service, "%d", port);
data/udt-4.11+dfsg1/app/test.cpp:107: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 buffer[16];
data/udt-4.11+dfsg1/app/test.cpp:108:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf(buffer, "%d", port);
data/udt-4.11+dfsg1/app/test.cpp:129: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 buffer[16];
data/udt-4.11+dfsg1/app/test.cpp:130:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf(buffer, "%d", port);
data/udt-4.11+dfsg1/app/test.cpp:404: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 sharedport[NI_MAXSERV];
data/udt-4.11+dfsg1/app/test.cpp:410:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      if (createUDTSocket(cli_socks[i], atoi(sharedport)) < 0)
data/udt-4.11+dfsg1/app/test.cpp:626: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 sharedport[NI_MAXSERV];
data/udt-4.11+dfsg1/app/test.cpp:631:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      if (createUDTSocket(cli_socks[i], atoi(sharedport)) < 0)
data/udt-4.11+dfsg1/src/api.cpp:368:10:  [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(ns->m_pPeerAddr, peer, sizeof(sockaddr_in));
data/udt-4.11+dfsg1/src/api.cpp:375:10:  [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(ns->m_pPeerAddr, peer, sizeof(sockaddr_in6));
data/udt-4.11+dfsg1/src/api.cpp:399:19:  [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).
      ns->m_pUDT->open();
data/udt-4.11+dfsg1/src/api.cpp:524:15:  [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).
   s->m_pUDT->open();
data/udt-4.11+dfsg1/src/api.cpp:565:15:  [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).
   s->m_pUDT->open();
data/udt-4.11+dfsg1/src/api.cpp:722: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(addr, locate(u)->m_pPeerAddr, *addrlen);
data/udt-4.11+dfsg1/src/api.cpp:753:21:  [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).
         s->m_pUDT->open();
data/udt-4.11+dfsg1/src/api.cpp:782: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(s->m_pPeerAddr, name, sizeof(sockaddr_in));
data/udt-4.11+dfsg1/src/api.cpp:787: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(s->m_pPeerAddr, name, sizeof(sockaddr_in6));
data/udt-4.11+dfsg1/src/api.cpp:881:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(name, s->m_pPeerAddr, *namelen);
data/udt-4.11+dfsg1/src/api.cpp:905:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(name, s->m_pSelfAddr, *namelen);
data/udt-4.11+dfsg1/src/api.cpp:1415:24:  [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).
         m.m_pChannel->open(*udpsock);
data/udt-4.11+dfsg1/src/api.cpp:1417:24:  [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).
         m.m_pChannel->open(addr);
data/udt-4.11+dfsg1/src/buffer.cpp:141: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(s->m_pcData, data + i * m_iMSS, pktlen);
data/udt-4.11+dfsg1/src/buffer.cpp:403: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(data, m_pUnit[p]->m_Packet.m_pcData + m_iNotch, unitsize);
data/udt-4.11+dfsg1/src/buffer.cpp:514:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
         memcpy(data, m_pUnit[p]->m_Packet.m_pcData, unitsize);
data/udt-4.11+dfsg1/src/cache.cpp:121: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((char*)ip, (char*)((sockaddr_in6*)addr)->sin6_addr.s6_addr, 16);
data/udt-4.11+dfsg1/src/ccc.cpp:150:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(m_pcParam, param, size);
data/udt-4.11+dfsg1/src/channel.cpp:92: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).
void CChannel::open(const sockaddr* addr)
data/udt-4.11+dfsg1/src/channel.cpp:135: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).
void CChannel::open(UDPSOCKET udpsock)
data/udt-4.11+dfsg1/src/channel.h:63:9:  [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).
   void open(const sockaddr* addr = NULL);
data/udt-4.11+dfsg1/src/channel.h:72:9:  [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).
   void open(UDPSOCKET udpsock);
data/udt-4.11+dfsg1/src/common.cpp:621:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
         char errmsg[1024];
data/udt-4.11+dfsg1/src/common.cpp:758:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void CMD5::compute(const char* input, unsigned char result[16])
data/udt-4.11+dfsg1/src/common.h:316:52:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 void compute(const char* input, unsigned char result[16]);
data/udt-4.11+dfsg1/src/core.cpp:484:12:  [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).
void CUDT::open()
data/udt-4.11+dfsg1/src/core.cpp:586:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(m_pPeerAddr, serv_addr, (AF_INET == m_iIPversion) ? sizeof(sockaddr_in) : sizeof(sockaddr_in6));
data/udt-4.11+dfsg1/src/core.cpp:755:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(m_piSelfIP, m_ConnRes.m_piPeerIP, 16);
data/udt-4.11+dfsg1/src/core.cpp:850:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(m_piSelfIP, hs->m_piPeerIP, 16);
data/udt-4.11+dfsg1/src/core.cpp:895:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(m_pPeerAddr, peer, (AF_INET == m_iIPversion) ? sizeof(sockaddr_in) : sizeof(sockaddr_in6));
data/udt-4.11+dfsg1/src/core.cpp:2462: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 clienthost[NI_MAXHOST];
data/udt-4.11+dfsg1/src/core.cpp:2463: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 clientport[NI_MAXSERV];
data/udt-4.11+dfsg1/src/core.cpp:2468:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char cookie[16];
data/udt-4.11+dfsg1/src/core.h:122:9:  [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).
   void open();
data/udt-4.11+dfsg1/src/md5.cpp:169: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(xbuf, data, 64);
data/udt-4.11+dfsg1/src/md5.cpp:343:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pms->buf + offset, p, copy);
data/udt-4.11+dfsg1/src/md5.cpp:357:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pms->buf, p, left);
data/udt-4.11+dfsg1/src/packet.cpp:349:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(pkt->m_nHeader, m_nHeader, m_iPktHdrSize);
data/udt-4.11+dfsg1/src/packet.cpp:351:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(pkt->m_pcData, m_pcData, m_PacketVector[1].iov_len);
data/udt-4.11+dfsg1/src/queue.cpp:273: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(temp, m_pHeap, sizeof(CSNode*) * m_iArrayLength);
data/udt-4.11+dfsg1/src/queue.cpp:789:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(r.m_pPeerAddr, addr, (AF_INET == ipv) ? sizeof(sockaddr_in) : sizeof(sockaddr_in6));
data/udt-4.11+dfsg1/src/queue.cpp:1146:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(packet.m_nHeader, newpkt->m_nHeader, CPacket::m_iPktHdrSize);
data/udt-4.11+dfsg1/src/queue.cpp:1147:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(packet.m_pcData, newpkt->m_pcData, newpkt->getLength());
data/udt-4.11+dfsg1/app/recvfile.cpp:53: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).
   int len = strlen(argv[3]);
data/udt-4.11+dfsg1/src/buffer.cpp:187:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ifs.read(s->m_pcData, pktlen);
data/udt-4.11+dfsg1/src/common.cpp:311: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(10);
data/udt-4.11+dfsg1/src/common.cpp:763:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   md5_append(&state, (const md5_byte_t *)input, strlen(input));

ANALYSIS SUMMARY:

Hits = 71
Lines analyzed = 15937 in approximately 0.33 seconds (48978 lines/second)
Physical Source Lines of Code (SLOC) = 10426
Hits@level = [0]  32 [1]   4 [2]  64 [3]   3 [4]   0 [5]   0
Hits@level+ = [0+] 103 [1+]  71 [2+]  67 [3+]   3 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 9.87915 [1+] 6.8099 [2+] 6.42624 [3+] 0.287742 [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.