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/ircd-ircu-2.10.12.10.dfsg1/tools/Bounce/Bounce.cpp
Examining data/ircd-ircu-2.10.12.10.dfsg1/tools/Bounce/Bounce.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/tools/ringlog.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/tools/wrapper.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/numnicks.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/userload.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/class.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/msgq.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/listener.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/gline.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_relay.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_crypt_native.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/motd.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/s_conf.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/client.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_defs.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/fileio.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_events.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/version.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/s_auth.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_string.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_reslib.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/handlers.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/crule.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/struct.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_crypt_smd5.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/res.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/s_misc.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/whowas.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/packet.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/memdebug.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/msg.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_reply.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/querycmds.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/send.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_osdep.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/opercmds.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_snprintf.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_signal.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/supported.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_alloc.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/patchlevel.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/s_serv.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/umkpasswd.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_md5.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_crypt_plain.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/list.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/hash.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/numeric.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/s_user.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/match.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/jupe.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/destruct_event.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_features.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/s_numeric.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/parse.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/s_bsd.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/IPcheck.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/s_debug.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_log.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/dbuf.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/capab.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/sys.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/s_stats.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/random.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_handler.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/channel.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_chattr.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/whocmds.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_crypt.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/uping.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/include/patchlist.h
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_wallchops.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_motd.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_endburst.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/jupe.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_burst.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/destruct_event.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_version.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/client.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/uping.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_away.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/crule.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_restart.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_user.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/msgq.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_reslib.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/engine_devpoll.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_map.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/opercmds.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/fileio.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/parse.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_bsd.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_proto.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/packet.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_opmode.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_die.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_defaults.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/random.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_user.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_asll.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_notice.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_quit.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_rpong.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_wallusers.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_destruct.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_tmpl.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_signal.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_whois.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_privmsg.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_help.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_error.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_privs.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/querycmds.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/listener.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_links.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_kill.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_conf.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_nick.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_part.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_rping.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/whowas.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_relay.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/list.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/match.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_mode.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt_native.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_events.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_who.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/memdebug.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/convert-conf.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/userload.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/engine_poll.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_squit.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_time.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_clearmode.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_connect.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_ison.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_desynch.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_info.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_pass.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/test/test_stub.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/test/ircd_string_t.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/test/ircd_in_addr_t.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/test/ircd_match_t.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/test/ircd_chattr_t.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_ping.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_stats.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/engine_kqueue.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/table_gen.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_snprintf.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_set.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_serv.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_wallops.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_stats.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/class.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_create.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_trace.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_misc.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/gline.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_cprivmsg.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_userip.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/send.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/engine_epoll.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_kick.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_join.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_pong.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_get.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_cap.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_jupe.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_admin.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt_smd5.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_topic.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_err.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/hash.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_string.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/numnicks.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_whowas.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/motd.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_reply.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_oper.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_res.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt_plain.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_lusers.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_close.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_settime.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_rehash.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_log.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_silence.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_reset.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_pseudo.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_server.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/engine_select.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_uping.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_list.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_alloc.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_wallvoices.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/os_generic.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_debug.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_md5.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/whocmds.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_gline.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_invite.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/dbuf.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_account.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_userhost.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_numeric.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_features.c
Examining data/ircd-ircu-2.10.12.10.dfsg1/ircd/IPcheck.c

FINAL RESULTS:

data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_string.h:41:27:  [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).
#define DupString(x, y)  (strcpy((x = (char*) MyMalloc(strlen(y) + 1)), y))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:846:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(pbuf, chptr->mode.key);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:856:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(pbuf, chptr->mode.apass);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:866:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(pbuf, chptr->mode.upass);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:1287: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(chptr->chname, chname);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:2913:13:  [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(newban->who, ban->who);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/convert-conf.c:635:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(orig_line, line);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/crule.c:85:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(x,y); \
data/ircd-ircu-2.10.12.10.dfsg1/ircd/crule.c:725:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat(currarg, word);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/crule.c:731:11:  [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(currarg, word);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/engine_epoll.c:88:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#error No system call numbers defined for epoll family.
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd.c:185:3:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  execv(SPATH, thisServer.argv);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd.c:560:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  if (!access(path, mode))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt_native.c:61:22:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
 return (const char*)crypt(key, salt);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_log.c:76:8:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
  int		syslog;  /**< Syslog priority for log level. */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_log.c:79:18:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
#define L(level, syslog, mask) { L_ ## level, #level, (syslog), (mask) }
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_log.c:79:56:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
#define L(level, syslog, mask) { L_ ## level, #level, (syslog), (mask) }
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_log.c:450:19:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
    syslog(ldata->syslog | desc->facility, "%s", buf);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_res.c:244:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(hname + len, irc_domain);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_string.c:133: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(cp, s);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_away.c:138: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(away, message);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:135: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(buf + 2, chptr->chname);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:185:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(buf, cli_name(c2ptr));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:307:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(buf, cli_name(c2ptr));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:455:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(buf, cli_name(c2ptr));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_nick.c:178: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(nick, arg);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_who.c:318: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(mymask, mask);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_whois.c:191:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
       strcpy(buf + len, chptr->chname);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/numnicks.c:333: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(cli_yxx(acptr), yxx + 2);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:930: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(cli_sockhost(auth->client), cli_name(&me));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:1260:5:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    execvp(iauth->i_argv[0], iauth->i_argv);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_bsd.c:523: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(cli_sockhost(new_client), cli_sock_ip(new_client));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_err.c:1268: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(numbuff + 11, p->format);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_misc.c:126:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buf, "%s %s %d %d -- %02d:%02d %c%02d:%02d",
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_misc.c:147: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(buf, ctime(&value));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_misc.c:451: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(comment1, cli_name(cli_serv(victim)->up));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_misc.c:453:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(comment1, cli_name(victim));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_user.c:571: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(cli_name(new_client), nick);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_user.c:673: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(cli_name(sptr), nick);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_user.c:678: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(cli_name(sptr), nick);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/send.c:199:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp,"Write error: %s",(strerror(cli_error(to))) ? (strerror(cli_error(to))) : "Unknown error" );
data/ircd-ircu-2.10.12.10.dfsg1/ircd/test/test_stub.c:19:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, fmt, args);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/test/test_stub.c:30:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stdout, form, args);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:99:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, form, vl);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:112:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf(stderr, fmt, vl);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:456:8:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
  pw = getpass("Password: ");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/uping.c:418: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(pptr->name, aconf->name);
data/ircd-ircu-2.10.12.10.dfsg1/tools/Bounce/Bounce.cpp:126:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(newListener->myVhost, vHost); 
data/ircd-ircu-2.10.12.10.dfsg1/tools/Bounce/Bounce.cpp:127:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(newListener->remoteServer, remoteServer);
data/ircd-ircu-2.10.12.10.dfsg1/tools/wrapper.c:215:3:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  execvp(argv[optind], argv + optind);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd.c:473:17:  [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 ((opt = getopt(argc, argv, options)) != EOF)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:125:2:  [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((unsigned int)time(NULL));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:130:31:  [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.
  n = ((float)(strlen(salts))*random()/(RAND_MAX+1.0));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:133:31:  [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.
  n = ((float)(strlen(salts))*random()/(RAND_MAX+1.0));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:344:22:  [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 ((EOF != (c = getopt(argc, argv, options))) && !len)
data/ircd-ircu-2.10.12.10.dfsg1/tools/wrapper.c:75:7:  [3] (misc) chroot:
  chroot can be very helpful, but is hard to use correctly (CWE-250, CWE-22).
  Make sure the program immediately chdir("/"), closes file descriptors, and
  drops root privileges, and that all necessary files (and no more!) are in
  the new root.
  if (chroot(root))
data/ircd-ircu-2.10.12.10.dfsg1/tools/wrapper.c:158: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, "hu:g:l:c:")) > 0)
data/ircd-ircu-2.10.12.10.dfsg1/include/channel.h:236: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 key[KEYLEN + 1];
data/ircd-ircu-2.10.12.10.dfsg1/include/channel.h:237: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 upass[KEYLEN + 1];
data/ircd-ircu-2.10.12.10.dfsg1/include/channel.h:238: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 apass[KEYLEN + 1];
data/ircd-ircu-2.10.12.10.dfsg1/include/channel.h:257: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 who[NICKLEN+1];        /**< name of client that set the ban */
data/ircd-ircu-2.10.12.10.dfsg1/include/channel.h:258: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 banstr[NICKLEN+USERLEN+HOSTLEN+3];  /**< hostmask that the ban matches */
data/ircd-ircu-2.10.12.10.dfsg1/include/channel.h:274: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               topic[TOPICLEN + 1]; /**< Channels topic */
data/ircd-ircu-2.10.12.10.dfsg1/include/channel.h:275: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               topic_nick[NICKLEN + 1]; /**< Nick of the person who set
data/ircd-ircu-2.10.12.10.dfsg1/include/channel.h:278: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               chname[1];	   /**< Dynamically allocated string of the 
data/ircd-ircu-2.10.12.10.dfsg1/include/channel.h:293:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char wildcard[CHANNELLEN];
data/ircd-ircu-2.10.12.10.dfsg1/include/client.h:216:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char       con_targets[MAXTARGETS]; /**< Hash values of
data/ircd-ircu-2.10.12.10.dfsg1/include/client.h:218: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 con_sock_ip[SOCKIPLEN + 1];   /**< Remote IP address as a string. */
data/ircd-ircu-2.10.12.10.dfsg1/include/client.h:219: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 con_sockhost[HOSTLEN + 1];    /**< This is the host name from
data/ircd-ircu-2.10.12.10.dfsg1/include/client.h:222: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 con_passwd[PASSWDLEN + 1];    /**< Password given by user. */
data/ircd-ircu-2.10.12.10.dfsg1/include/client.h:223: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 con_buffer[BUFSIZE];          /**< Incoming message buffer; or
data/ircd-ircu-2.10.12.10.dfsg1/include/client.h:249: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           cli_yxx[4];      /**< Numeric Nick: YY if this is a
data/ircd-ircu-2.10.12.10.dfsg1/include/client.h:258: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 cli_name[HOSTLEN + 1];     /**< Unique name of the client, nick or host */
data/ircd-ircu-2.10.12.10.dfsg1/include/client.h:259: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 cli_username[USERLEN + 1]; /**< Username determined by ident lookup */
data/ircd-ircu-2.10.12.10.dfsg1/include/client.h:260: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 cli_info[REALLEN + 1];     /**< Free form additional client information */
data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_md5.h:30:11:  [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[64]; /**< Residual input buffer. */
data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_md5.h:35:24:  [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 MD5Final(unsigned char digest[16], struct MD5Context *);
data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_snprintf.h:49:28:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define va_copy(DEST, SRC) memcpy(&(DEST), &(SRC), sizeof(DEST))
data/ircd-ircu-2.10.12.10.dfsg1/include/motd.h:82: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			motd[1][MOTD_LINESIZE]; /**< Message body. */
data/ircd-ircu-2.10.12.10.dfsg1/include/s_conf.h:136: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 nick[1];           /**< start of nick\@server string */
data/ircd-ircu-2.10.12.10.dfsg1/include/struct.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          nn_capacity[4]; /**< Numeric representation of server capacity */
data/ircd-ircu-2.10.12.10.dfsg1/include/struct.h:63: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 by[NICKLEN + 1];         /**< Numnick of client who requested the link */
data/ircd-ircu-2.10.12.10.dfsg1/include/struct.h:82: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               username[USERLEN + 1];
data/ircd-ircu-2.10.12.10.dfsg1/include/struct.h:83: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               host[HOSTLEN + 1];       /**< displayed hostname */
data/ircd-ircu-2.10.12.10.dfsg1/include/struct.h:84: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               realhost[HOSTLEN + 1];   /**< actual hostname */
data/ircd-ircu-2.10.12.10.dfsg1/include/struct.h: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               account[ACCOUNTLEN + 1]; /**< IRC account name */
data/ircd-ircu-2.10.12.10.dfsg1/include/uping.h:65:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char               name[HOSTLEN + 1]; /**< server name to poing */
data/ircd-ircu-2.10.12.10.dfsg1/include/uping.h:66: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[BUFSIZE];      /**< buffer to hold ping times */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/IPcheck.c:45: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 targets[MAXTARGETS]; /**< Array of recent targets. */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/IPcheck.c:94: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(out, in, sizeof(*out));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/IPcheck.c:399: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(cli_targets(cptr), entry->target->targets, MAXTARGETS);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/IPcheck.c:448: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(entry->target->targets, cli_targets(cptr), MAXTARGETS);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:373: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        nu[NICKLEN + USERLEN + 2];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:374: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        tmphost[HOSTLEN + 1];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:375: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        iphost[SOCKIPLEN + 1];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:910: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 modebuf[MODEBUFLEN];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:911: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 parabuf[MODEBUFLEN];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:1010:6:  [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 tbuf[3 + MAXOPLEVELDIGITS] = ":";
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:1034: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 tbuf[2 + MAXOPLEVELDIGITS];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:1127: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.
  static char star[2] = { '*', 0 };
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:1128: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.
  static char retmask[NICKLEN + USERLEN + HOSTLEN + 3];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:1559: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 addbuf[20], addbuf_local[20]; /* accumulates +psmtin, etc. */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:1561: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 rembuf[20], rembuf_local[20]; /* accumulates -psmtin, etc. */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:1566: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 addstr[BUFSIZE]; /* accumulates MODE parameters to add */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:1568: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 remstr[BUFSIZE]; /* accumulates MODE parameters to remove */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:1576: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 limitbuf[20]; /* convert limits to strings */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:2967:21:  [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).
      req_oplevel = atoi(colon);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:2986:17:  [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).
      oplevel = atoi(t_str + 6);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:3303:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	recv_ts = atoi(modestr);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:3526: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 chanlist[BUFSIZE];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/convert-conf.c:34:1:  [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 orig_line[512], line[512], dbuf[512];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/convert-conf.c:35:1:  [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 *fields[MAX_FIELDS + 1];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/convert-conf.c:103:125:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define dupstring(TARGET, SOURCE) do { free(TARGET); if (SOURCE) { size_t len = strlen(SOURCE) + 1; (TARGET) = malloc(len); memcpy((TARGET), (SOURCE), len); } else (TARGET) = 0; } while(0)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/convert-conf.c:111: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 value[1];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/convert-conf.c:135: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((*list)->value, value, len);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/convert-conf.c:150: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 name[1];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/convert-conf.c:251: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 name[1];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/convert-conf.c:608:24:  [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).
    else if (!(ifile = fopen(argv[1], "rt"))) {
data/ircd-ircu-2.10.12.10.dfsg1/ircd/crule.c:203:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[15];         /**< Function name. */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/crule.c:233: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.
    if (match((char *)crulearg[0], cli_name(acptr)))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/crule.c:257: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.
    if (match((char *)crulearg[0], cli_name(acptr)))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/crule.c:281: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.
    if (match((char *)crulearg[1], cli_name(acptr)))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/crule.c:283: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.
    if (match((char *)crulearg[0], cli_name(cli_from(acptr))))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/crule.c:656: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 funcname[CR_MAXARGLEN];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/crule.c:707: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 currarg[CR_MAXARGLEN];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/crule.c:709: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 word[CR_MAXARGLEN];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/crule.c:846: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 indata[256];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/dbuf.c:64: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 data[DBUF_SIZE];         /**< Actual data stored here */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/dbuf.c:200: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(db->end, buf, chunk);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/dbuf.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(buf, b, chunk);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/engine_devpoll.c:97: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).
  if ((devpoll_fd = open("/dev/poll", O_RDWR)) < 0) {
data/ircd-ircu-2.10.12.10.dfsg1/ircd/fileio.c:47: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[BUFSIZ];             /**< buffer */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/fileio.c:91:13:  [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).
  if ((fd = open(filename, openmode, pmode)) == -1) {
data/ircd-ircu-2.10.12.10.dfsg1/ircd/gline.c:374: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 uhmask[USERLEN + HOSTLEN + 2];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/hash.c:341:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char jupeTable[JUPEHASHSIZE][NICKLEN + 1];       /* About 40k */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/hash.c:368: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.
  static char temp[BUFSIZE + 1];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd.c:214: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 buff[20];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd.c:218:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buff, "%5d\n", (int)getpid());
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd.c:240:28:  [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).
  if ((thisServer.pid_fd = open(feature_str(FEAT_PPATH), O_CREAT | O_RDWR,
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd.c:506:20:  [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).
      debuglevel = atoi(optarg);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd.c:542: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).
    if ((fd = open("/dev/tty", O_RDWR)) > -1) {
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd.c:670: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).
    if ((fd = open("/dev/null", O_WRONLY)) < 0) {
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd.c:742: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).
  cli_serv(&me)->prot      = atoi(MAJOR_PROTOCOL);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt_smd5.c:87:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char passwd[120];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt_smd5.c:90: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.
unsigned char final[16];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_events.c:301: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 sigstr[SIGS_PER_SOCK];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_events.c:842: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.
  static char buf[256];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_events.c:874: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.
  static char buf[256];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_log.c:198:14:  [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).
    lf->fd = open(lf->file, O_WRONLY | O_CREAT | O_APPEND,
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_log.c:226:31:  [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).
    if ((logInfo.dbfile->fd = open("/dev/null", O_WRONLY)) < 0)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_log.c:374: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[LOG_BUFSIZE];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_log.c:377: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 timebuf[23];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_md5.c:91: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(p, buf, len);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_md5.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(p, buf, t);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_md5.c:103: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(ctx->in, buf, 64);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_md5.c:112: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(ctx->in, buf, len);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_md5.c:119:24:  [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 MD5Final(unsigned char digest[16], struct MD5Context *ctx)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_md5.c:156: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(digest, ctx->buf, 16);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_reply.c:53: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 message[BUFSIZE];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_res.c:147:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char irc_domain[HOSTLEN];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_res.c:477: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 host_name[HOSTLEN + 1];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_res.c:508: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 ipbuf[128];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_res.c:570: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[MAXPACKET];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_res.c:634: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 hostbuf[HOSTLEN + 100]; /* working buffer */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_res.c:713: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(&request->addr.in6_16[6], current, sizeof(struct in_addr));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_res.c:721: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(&request->addr, current, sizeof(struct irc_in_addr));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_res.c:781: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[sizeof(HEADER) + MAXPACKET];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_res.c:918: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 ipaddr[128];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_reslib.c:110:1:  [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 irc_domain[HOSTLEN + 1];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_reslib.c:113: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.
static const char digitvalue[256] = {
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_reslib.c:168: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 input[MAXLINE];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_reslib.c:275: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 tmp[NS_MAXCDNAME];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_reslib.c:329: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(dstp, srcp, l);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_reslib.c:686:15:  [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.
        dn += sprintf(dn, "\\[x");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_reslib.c:688:23:  [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.
                dn += sprintf(dn, "%02x", *cp & 0xff);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_reslib.c:691:23:  [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.
                dn += sprintf(dn, "%02x", tc & (0xff << (8 - b)));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_reslib.c:694:22:  [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.
               dn += sprintf(dn, "%1x",
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_reslib.c:697:15:  [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.
        dn += sprintf(dn, "/%d]", blen);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_reslib.c:926: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(dstp, srcp, n + 1);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_reslib.c:952: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 tmp[NS_MAXCDNAME];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_reslib.c:1171:11:  [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 *dnptrs[20], **dpp, **lastdnptr;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_snprintf.c:1867: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 intbuf[INTBUF_LEN], **table = 0, *tstr;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_string.c:104: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.
  static char cbuf[BUFSIZE];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_string.c:373: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.
  static char buf[SOCKIPLEN];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_string.c:393: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(buf, IpQuadTab[*pch++], len);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_string.c:397: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(buf+pos, IpQuadTab[*pch++], len);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_string.c:401: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(buf+pos, IpQuadTab[*pch++], len);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_string.c:405: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(buf+pos, IpQuadTab[*pch++], len);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/list.c:230:3:  [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(cli_username(cptr), "unknown");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/listener.c:103: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.
  static char buf[HOSTLEN + PORTNAMELEN + 4];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/listener.c:134: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 flags[8];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/listener.c:143:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    port = atoi(param);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_account.c:134:35:  [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).
    cli_user(acptr)->acc_create = atoi(parv[3]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_asll.c:127: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).
      send_asll_reply(sptr, acptr, parv[2], atoi(parv[3]), atoi(parv[4]), atoi(parv[5]));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_asll.c:127:60:  [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).
      send_asll_reply(sptr, acptr, parv[2], atoi(parv[3]), atoi(parv[4]), atoi(parv[5]));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_asll.c:127:75:  [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).
      send_asll_reply(sptr, acptr, parv[2], atoi(parv[3]), atoi(parv[4]), atoi(parv[5]));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_burst.c:212: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 modestr[BUFSIZE], nickstr[BUFSIZE], banstr[BUFSIZE];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_burst.c:220:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  timestamp = atoi(parv[2]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_cap.c:143: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 capbuf[BUFSIZE] = "", pfx[16];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_clearmode.c:131: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 control_buf[20];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_connect.c:184:10:  [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(parv[2]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_connect.c:319:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (0 == (port = atoi(parv[2]))) {
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_create.c:124:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  chanTS = atoi(parv[2]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_destruct.c:102:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  chanTS = atoi(parv[2]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_gline.c:145:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    lastmod = atoi(parv[4]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_gline.c:183: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).
  expire_off = parc < 5 ? 0 : atoi(parv[3]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_gline.c:261:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    expire_off = atoi(parv[2]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_gline.c:266:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    expire_off = atoi(parv[3]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_invite.c:263:17:  [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).
    invite_ts = atoi(parv[3]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_join.c:321:16:  [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).
    creation = atoi(parv[2]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_jupe.c:150:16:  [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).
  expire_off = atoi(parv[3]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_jupe.c:151:13:  [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).
  lastmod = atoi(parv[4]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_jupe.c:213:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    expire_off = atoi(parv[2]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_jupe.c:218:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    expire_off = atoi(parv[3]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_kill.c:243: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           msg[TOPICLEN + 3]; /* (, ), and \0 */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_list.c:384: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(cli_listing(sptr), &args, sizeof(struct ListingArgs));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_map.c:108: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.
  static char prompt[64];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_map.c:118: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 lag[512];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_map.c:122:7:  [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(lag,"(0s)");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_map.c:124:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(lag,"(%is)",cli_serv(server)->lag);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_map.c:143:3:  [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(p, "|-");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_mode.c:123: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 modebuf[MODEBUFLEN];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_mode.c:124:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char parabuf[MODEBUFLEN];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:118: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[BUFSIZE];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:128:3:  [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(buf, "* ");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:136:3:  [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(buf + 2 + len, " :");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:192:7:  [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(buf, "* ");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:195:7:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
      strcat(buf, " :");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:260: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[BUFSIZE]; 
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:281: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(buf, "* * :");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:315:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(buf, "* * :");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:408: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[BUFSIZE]; 
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:429: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(buf, "* * :");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:463:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(buf, "* * :");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_nick.c:146: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           nick[NICKLEN + 2];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_nick.c:290: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 nick[NICKLEN + 2];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_nick.c:311:16:  [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).
    lastnick = atoi(parv[3]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_nick.c:317:16:  [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).
    lastnick = atoi(parv[2]); 
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_pass.c:98: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 password[BUFSIZE];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_ping.c:250:16:  [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).
    int diff = atoi(militime_float(parv[3]));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_pong.c:129:32:  [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).
    cli_serv(cptr)->asll_rtt = atoi(militime_float(parv[3]));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_pong.c:130: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).
    cli_serv(cptr)->asll_to = atoi(parv[4]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_pong.c:131:33:  [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).
    cli_serv(cptr)->asll_from = atoi(militime_float(parv[5]));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_pong.c:142:32:  [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).
    cli_serv(cptr)->asll_rtt = atoi(militime_float(destination + 1));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_pseudo.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 *text, buffer[BUFSIZE];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_server.c:93:10:  [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).
  prot = atoi(proto+1);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_server.c:94: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).
  if (prot > atoi(MAJOR_PROTOCOL))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_server.c:95:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    prot = atoi(MAJOR_PROTOCOL);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_server.c:560:9:  [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).
  hop = atoi(parv[2]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_server.c:561:21:  [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).
  start_timestamp = atoi(parv[3]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_server.c:562:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  timestamp = atoi(parv[4]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_server.c:566:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (prot < atoi(MINOR_PROTOCOL))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_server.c:699:9:  [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).
  hop = atoi(parv[2]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_server.c:700:21:  [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).
  start_timestamp = atoi(parv[3]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_server.c:701:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  timestamp = atoi(parv[4]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_server.c:705:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (prot < atoi(MINOR_PROTOCOL))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_settime.c:114: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.
  static char tbuf[11];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_settime.c:120:7:  [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).
  t = atoi(parv[1]); /* convert time and compute delta */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_settime.c:207: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.
  static char tbuf[11];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_settime.c:219:7:  [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).
  t = atoi(parv[1]); /* convert the time */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_silence.c:67: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 orig_mask[NICKLEN+USERLEN+HOSTLEN+3];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_silence.c:115: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 *cp, *p, buf[BUFSIZE];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_silence.c:191: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(buf + buf_used, sile->banstr, slen);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_silence.c:232: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(buf + buf_used, sile->banstr, slen);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_squit.c:90:17:  [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).
    timestamp = atoi(parv[2]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_topic.c:188: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).
    if (parc > 3 && (ts = atoi(parv[2])) && chptr->creationtime < ts)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_topic.c:191: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).
    if (parc > 4 && (ts = atoi(parv[3])) && chptr->topic_time > ts)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_uping.c:140:39:  [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 (EmptyString(parv[2]) || (port = atoi(parv[2])) <= 0)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_uping.c:141:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    port = atoi(UDP_PORT);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_uping.c:143:40:  [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 (EmptyString(parv[4]) || (count = atoi(parv[4])) <= 0)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_uping.c:224:39:  [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 (EmptyString(parv[2]) || (port = atoi(parv[2])) <= 0)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_uping.c:225:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    port = atoi(UDP_PORT);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_uping.c:227:40:  [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 (EmptyString(parv[4]) || (count = atoi(parv[4])) <= 0)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_who.c:157: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.
  static char mymask[512];      /* To save the mask before corrupting it    */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_whois.c:136: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.
  static char buf[512];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_whowas.c:123:11:  [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 = atoi(parv[2]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/memdebug.c:36: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 type[32];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/memdebug.c:37: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 file[32];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/memdebug.c:158: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(mh2+1, mh+1, mh->length);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/motd.c:119: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			line[MOTD_LINESIZE + 2]; /* \r\n */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/motd.c:179:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(motd->cache, cache, sizeof(struct MotdCache) +
data/ircd-ircu-2.10.12.10.dfsg1/ircd/msgq.c: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 msg[1];			/**< the message */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/msgq.c:520: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(tmp->msg, mb->msg, mb->length + 1); /* copy string over */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/numnicks.c:168: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[3];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/numnicks.c:454:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(buf, "AAAAAA");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/opercmds.c:68: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.
  static char timebuf[18];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/opercmds.c:72:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(timebuf, "%ld",
data/ircd-ircu-2.10.12.10.dfsg1/ircd/opercmds.c:73: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).
        (tv.tv_sec - atoi(sec)) * 1000 + (tv.tv_usec - atoi(usec)) / 1000);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/opercmds.c:73:56:  [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).
        (tv.tv_sec - atoi(sec)) * 1000 + (tv.tv_usec - atoi(usec)) / 1000);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/opercmds.c:75:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(timebuf, "%ld %ld", tv.tv_sec, tv.tv_usec);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/opercmds.c:100: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.
  static char timebuf[18];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/opercmds.c:109:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(timebuf, "%ld",
data/ircd-ircu-2.10.12.10.dfsg1/ircd/opercmds.c:110:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          (tv.tv_sec - atoi(start)) * 1000 + (tv.tv_usec - atoi(p)) / 1000);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/opercmds.c:110:60:  [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).
          (tv.tv_sec - atoi(start)) * 1000 + (tv.tv_usec - atoi(p)) / 1000);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/opercmds.c:116:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(timebuf, "%ld.%ld", tv.tv_sec, tv.tv_usec);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/os_generic.c:107: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(&irc->addr.in6_16[6], &v4->sin_addr, sizeof(v4->sin_addr));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/os_generic.c:125: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(&irc->addr.in6_16[0], &v6->sin6_addr, sizeof(v6->sin6_addr));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/os_generic.c:204: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/ircd-ircu-2.10.12.10.dfsg1/ircd/os_generic.c:229:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buf, "CPU Secs %ld:%ld User %ld:%ld System %ld:%ld",
data/ircd-ircu-2.10.12.10.dfsg1/ircd/os_generic.c:235:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buf, "RSS %ld ShMem %ld Data %ld Stack %ld",
data/ircd-ircu-2.10.12.10.dfsg1/ircd/os_generic.c:241:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buf, "Swaps %ld Reclaims %ld Faults %ld",
data/ircd-ircu-2.10.12.10.dfsg1/ircd/os_generic.c:245:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buf, "Block in %ld out %ld", rus.ru_inblock, rus.ru_oublock);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/os_generic.c:248:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buf, "Msg Rcv %ld Send %ld", rus.ru_msgrcv, rus.ru_msgsnd);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/os_generic.c:251:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buf, "Signals %ld Context Vol. %ld Invol %ld",
data/ircd-ircu-2.10.12.10.dfsg1/ircd/os_generic.c:257: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/ircd-ircu-2.10.12.10.dfsg1/ircd/os_generic.c:281:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buf, "CPU Secs %d:%d User %d:%d System %d:%d", 
data/ircd-ircu-2.10.12.10.dfsg1/ircd/parse.c:646:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *para[MAXPARA + 2]; /* leave room for prefix and null */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/parse.c:1022: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 numeric_prefix[6];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/random.c:87: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 usec[3];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:176: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 i_buffer[BUFSIZE+1];             /**< partial unprocessed line from server */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:177: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 i_errbuf[BUFSIZE+1];             /**< partial unprocessed error line */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:521: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               authbuf[32];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:634: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[BUFSIZE + 1];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:1451:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  new_level = parc > 0 ? atoi(params[0]) : 0;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:1545:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(tmp, params[i], lengths[i]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:1778: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(&cli_ip(cli), &addr, sizeof(cli_ip(cli)));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:1928: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 *params[MAXPARA + 1]; /* leave space for NULL */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:2030: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.
  static char readbuf[SERVER_TCP_WINDOW];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:2037: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(readbuf, iauth->i_buffer, length);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:2063: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(iauth->i_buffer, sol, iauth->i_count);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:2108: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.
  static char readbuf[SERVER_TCP_WINDOW];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:2115: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(readbuf, iauth->i_errbuf, length);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:2137: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(iauth->i_errbuf, sol, iauth->i_errcount);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_bsd.c:83:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char               readbuf[SERVER_TCP_WINDOW];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_bsd.c:226: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(&cli_ip(cptr), &aconf->address.addr, sizeof(cli_ip(cptr)));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_bsd.c:524: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(&cli_ip(new_client), &addr.addr, sizeof(cli_ip(new_client)));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_bsd.c:724: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[HOSTLEN + 1];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_conf.c:95: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        line[80];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_conf.c:247: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[HOSTLEN + 1];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_conf.c:400: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 username[USERLEN+1], hostname[HOSTLEN+1], realname[REALLEN+1];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_debug.c:67:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char serveropts[256]; /* should be large enough for anything */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_err.c:1255: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.
  static char numbuff[512];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_err.c:1263:3:  [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(numbuff, ":%s 000 %s ");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_misc.c:97: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.
  static char buf[80], plus;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_misc.c:144: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.
  static char buf[28];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_misc.c:165: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.
  static char nbuf[HOSTLEN * 2 + USERLEN + 5];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_misc.c:363: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 comment1[HOSTLEN + HOSTLEN + 2];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_misc.c:448:7:  [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(comment1, "*.net *.split");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_misc.c:511: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 msgbuf[1024];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_misc.c:529: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 msgbuf[1024];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_misc.c:558: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(sp, ServerStats, sizeof(struct ServerStatistics));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_numeric.c:63: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 num[4];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_serv.c:245: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 xxx_buf[25];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_user.c:345: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             ip_base64[25];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_user.c:524:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char umodeBuf[BUFSIZE];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_user.c:549:32:  [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).
    cli_hopcount(new_client) = atoi(parv[2]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_user.c:550:32:  [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).
    cli_lastnick(new_client) = atoi(parv[3]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_user.c:593: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).
	cli_user(new_client)->acc_create = atoi(p);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_user.c:655:56:  [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).
      cli_lastnick(sptr) = (sptr == cptr) ? TStime() : atoi(parv[2]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_user.c:993: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[BUFSIZE];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_user.c:1249: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 nbuf[20];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_user.c:1385: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).
  newmask = (unsigned int)atoi(arg);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_user.c:1470: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[BUFSIZE];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_user.c:1479: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(buf, found->banstr, buf_used);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_user.c:1494: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(buf + buf_used, found->banstr, slen);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_user.c:1514: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 featurebuf[512];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/send.c:198: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 tmp[512];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/table_gen.c:60:1:  [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 NTL_tolower_tab[1 + CHAR_MAX - CHAR_MIN];	/* 256 bytes */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/table_gen.c:61:1:  [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 NTL_toupper_tab[1 + CHAR_MAX - CHAR_MIN];	/* 256 bytes */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/test/ircd_in_addr_t.c:60: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 unparsed[64], base64_v4[64], base64_v6[64];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:131: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, (salts+n), 1);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:134: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+1), (salts+n), 1);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:217: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.
unsigned char buffer[1024], digest[16];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:219:22:  [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 (NULL == (file = fopen(tmp, "r")))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:353:33:  [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).
    umkpasswd_conf->operclass = atoi(optarg);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:380:34:  [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).
    umkpasswd_conf->debuglevel = atoi(optarg);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/uping.c:102: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[BUFSIZE + 1];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/uping.c:136:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  from.port = atoi(UDP_PORT);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/uping.c:150:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  from.port = atoi(UDP_PORT);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/uping.c:278: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[BUFSIZE + 1];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/uping.c:286:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buf, " %10lu%c%6lu", (unsigned long)tv.tv_sec, '\0', (unsigned long)tv.tv_usec);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/uping.c:318: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[BUFSIZE + 1];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/uping.c:344:27:  [2] (integer) atol:
  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).
  pingtime = (tv.tv_sec - atol(&buf[1])) * 1000
data/ircd-ircu-2.10.12.10.dfsg1/ircd/uping.c:345:30:  [2] (integer) atol:
  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).
             + (tv.tv_usec - atol(buf + strlen(buf) + 1)) / 1000;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/uping.c:356:3:  [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(s, " %u", pingtime);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/userload.c:217: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.
  static const char *what[3] = {
data/ircd-ircu-2.10.12.10.dfsg1/ircd/whocmds.c:77: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.
  static char buf1[512];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/whocmds.c:251:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(p1, " n/a");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/whocmds.c:289: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 namebuf[USERLEN + HOSTLEN + 2];
data/ircd-ircu-2.10.12.10.dfsg1/ircd/whocmds.c:290: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 ipbuf[USERLEN + SOCKIPLEN + 2];
data/ircd-ircu-2.10.12.10.dfsg1/tools/Bounce/Bounce.cpp:98: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 tempBuf[256];
data/ircd-ircu-2.10.12.10.dfsg1/tools/Bounce/Bounce.cpp:108: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(!(configFd = fopen("bounce.conf", "r")))
data/ircd-ircu-2.10.12.10.dfsg1/tools/Bounce/Bounce.cpp:121:21:  [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).
        localPort = atoi(strtok(NULL, ":"));
data/ircd-ircu-2.10.12.10.dfsg1/tools/Bounce/Bounce.cpp:123: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).
        remotePort = atoi(strtok(NULL, ":")); 
data/ircd-ircu-2.10.12.10.dfsg1/tools/Bounce/Bounce.cpp:461: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((char *)&address.sin_addr,hp->h_addr,hp->h_length);
data/ircd-ircu-2.10.12.10.dfsg1/tools/Bounce/Bounce.cpp:487: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.
  static char buffer[4096];
data/ircd-ircu-2.10.12.10.dfsg1/tools/Bounce/Bounce.h:99: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 myVhost[15];       // Vhost to bind locally.
data/ircd-ircu-2.10.12.10.dfsg1/tools/Bounce/Bounce.h:100: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 remoteServer[15];  // Remote server to connect to.
data/ircd-ircu-2.10.12.10.dfsg1/tools/ringlog.c:163:13:  [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).
  if ((fd = open(fname, O_RDWR | (init_len > 0 ? O_CREAT : 0),
data/ircd-ircu-2.10.12.10.dfsg1/tools/ringlog.c:299: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).
      size = atoi(arg + 1);
data/ircd-ircu-2.10.12.10.dfsg1/include/ircd_string.h:41:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define DupString(x, y)  (strcpy((x = (char*) MyMalloc(strlen(y) + 1)), y))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:844:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat(pbuf, " ");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:848:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat(pbuf, "*");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:854:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat(pbuf, " ");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:858:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat(pbuf, "*");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:864:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat(pbuf, " ");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:868:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat(pbuf, "*");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:1078:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = strlen(lp2->banstr);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:1273:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen(chname);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:1630: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).
      tmp = strlen(cli_name(MB_CLIENT(mbuf, i)));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:1639: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).
      tmp = strlen(MB_STRING(mbuf, i));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:1662: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).
	     strlen(MB_STRING(mbuf, i)));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:1674: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).
      tmp = strlen(limitbuf);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:2745:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        totlen += strlen(ban->banstr);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:2851: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).
    banlen = strlen(ban->banstr);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:3086:18:  [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.
		       "deop", equal ? "the same" : "a higher");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:3424:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (comment ? strlen(comment) + 2 : 0));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:3507:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = chan ? strlen(chan->chname) + 1 : 2;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/channel.c:3548:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     (jbuf->jb_comment ? strlen(jbuf->jb_comment) + 2 : 0));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/convert-conf.c:103:81:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define dupstring(TARGET, SOURCE) do { free(TARGET); if (SOURCE) { size_t len = strlen(SOURCE) + 1; (TARGET) = malloc(len); memcpy((TARGET), (SOURCE), len); } else (TARGET) = 0; } while(0)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/convert-conf.c:125:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen(value), ii;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/convert-conf.c:159: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).
    nlen = strlen(name);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/convert-conf.c:310: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).
    ii = strlen(fields[0]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/convert-conf.c:615: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).
        size_t len = strlen(line);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/crule.c:84: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).
          x = (char*) MyMalloc(strlen(y)+1); \
data/ircd-ircu-2.10.12.10.dfsg1/ircd/crule.c:724:13:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
            strcat(currarg, " ");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/crule.c:852: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).
    indata[strlen(indata) - 1] = '\0';  /* lose the newline */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/fileio.c:141:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  n = read(fb->fd, fb->buf, BUFSIZ);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/fileio.c:220:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = write(fb->fd, str, strlen(str));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/gline.c:895:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    *gl_size += gline->gl_user ? (strlen(gline->gl_user) + 1) : 0;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/gline.c:896:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    *gl_size += gline->gl_host ? (strlen(gline->gl_host) + 1) : 0;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/gline.c:897:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    *gl_size += gline->gl_reason ? (strlen(gline->gl_reason) + 1) : 0;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd.c:219:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (write(thisServer.pid_fd, buff, strlen(buff)) == -1)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd.c:635:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  umask(077);                   /* better safe than sorry --SRB */
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt.c:149: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(salt) < crypt_mech->mech->crypt_token_size)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt.c:170: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(salt) < crypt_mech->mech->crypt_token_size + 1)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt.c:182:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if(NULL == (hashed_pass = (char *)MyMalloc(sizeof(char)*strlen(temp_hashed_pass) + crypt_mech->mech->crypt_token_size + 1)))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt.c:187:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   memset(hashed_pass, 0, sizeof(char)*strlen(temp_hashed_pass)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt.c:191:85:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   ircd_strncpy(hashed_pass + crypt_mech->mech->crypt_token_size, temp_hashed_pass, strlen(temp_hashed_pass));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt.c:203:6:  [1] (buffer) strlen:
  Does not handle 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(salt) > 2)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt_smd5.c:113: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).
 MD5Update(&ctx,(unsigned const char *)key,strlen(key));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt_smd5.c:116:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
 MD5Update(&ctx,(unsigned const char *)magic,strlen(magic));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt_smd5.c:123:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
 MD5Update(&ctx1,(unsigned const char *)key,strlen(key));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt_smd5.c:125: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).
 MD5Update(&ctx1,(unsigned const char *)key,strlen(key));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt_smd5.c:127: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).
 for (pl = strlen(key); pl > 0; pl -= 16)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt_smd5.c:134: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).
 for (j = 0, i = strlen(key); i; i >>= 1)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt_smd5.c:142:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
 strncpy(passwd, sp, sl);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt_smd5.c:143:2:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
 strcat(passwd, "$");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt_smd5.c:156:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   MD5Update(&ctx1,(unsigned const char *)key,strlen(key));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt_smd5.c:164:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   MD5Update(&ctx1,(unsigned const char *)key,strlen(key));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt_smd5.c:169:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   MD5Update(&ctx1,(unsigned const char *)key,strlen(key));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_crypt_smd5.c:174:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
 p = passwd + strlen(passwd);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_events.c:307:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  n_sigs = read(event->ev_gen.gen_socket->s_fd, sigstr, sizeof(sigstr));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_features.c:506:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!ircd_strncmp(fields[1], "TRUE", strlen(fields[1])) ||
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_features.c:507:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    !ircd_strncmp(fields[1], "YES", strlen(fields[1])) ||
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_features.c:508: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).
	    (strlen(fields[1]) >= 2 &&
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_features.c:509:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	     !ircd_strncmp(fields[1], "ON", strlen(fields[1]))))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_features.c:511: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).
	else if (!ircd_strncmp(fields[1], "FALSE", strlen(fields[1])) ||
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_features.c:512:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 !ircd_strncmp(fields[1], "NO", strlen(fields[1])) ||
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_features.c:513:5:  [1] (buffer) strlen:
  Does not handle 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(fields[1]) >= 2 &&
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_features.c:514:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  !ircd_strncmp(fields[1], "OFF", strlen(fields[1]))))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_res.c:239:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen(hname);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_res.c:241:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if ((strlen(irc_domain) + len + 2) < size)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_res.c:944:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        request_mem += strlen(request->name) + 1;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_string.c:392: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(IpQuadTab[*pch]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_string.c:396: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(IpQuadTab[*pch]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_string.c:400: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(IpQuadTab[*pch]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/ircd_string.c:404: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(IpQuadTab[*pch]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/jupe.c:416:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    *ju_size += jupe->ju_server ? (strlen(jupe->ju_server) + 1) : 0;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/jupe.c:417:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    *ju_size += jupe->ju_reason ? (strlen(jupe->ju_reason) + 1) : 0;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_account.c:127: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(parv[2]) > ACCOUNTLEN)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_away.c:126:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    unsigned int len = strlen(message);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_burst.c:423:13:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
            strcpy(newban->who, "*");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_ison.c:129: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 (msgq_bufleft(mb) < strlen(cli_name(acptr)) + 1) {
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_join.c:161: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).
          || strlen(name) >= IRCD_MIN(CHANNELLEN, feature_int(FEAT_CHANNELLEN))) {
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:134:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen(chptr->chname);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:147: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).
  mlen = strlen(cli_name(&me)) + 10 + strlen(cli_name(sptr));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:147:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  mlen = strlen(cli_name(&me)) + 10 + strlen(cli_name(sptr));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:166:6:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    	strcat(buf, " ");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:172:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat(buf, "!");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:177:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat(buf, "@");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:182:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat(buf, "+");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:186: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).
    idx += strlen(cli_name(c2ptr));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:262: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).
    mlen = strlen(cli_name(&me)) + 10 + strlen(cli_name(sptr));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:262:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    mlen = strlen(cli_name(&me)) + 10 + strlen(cli_name(sptr));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:308:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat(buf, " ");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:309: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).
      idx += strlen(cli_name(c2ptr)) + 1;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:410: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).
    mlen = strlen(cli_name(&me)) + 10 + strlen(cli_name(sptr));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:410:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    mlen = strlen(cli_name(&me)) + 10 + strlen(cli_name(sptr));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:456:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat(buf, " ");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_names.c:457: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).
      idx += strlen(cli_name(c2ptr)) + 1;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_nick.c:172: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(arg) > IRCD_MIN(NICKLEN, feature_int(FEAT_NICKLEN)))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_pass.c:112: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).
    len += strlen(parv[arg]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_ping.c:209: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(origin) > 64)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_server.c:72: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(host) > HOSTLEN)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_server.c:78:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (*ch || !strchr(host, '.') || strlen(host) > HOSTLEN)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_server.c:91: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(proto) != 3 || (proto[0] != 'P' && proto[0] != 'J'))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_silence.c:140:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      totlength += strlen(sile->banstr);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_silence.c:149: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).
        slen = strlen(sile->banstr);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_silence.c:180: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).
      slen = strlen(sile->banstr);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_silence.c:218: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).
      slen = strlen(sile->banstr);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_who.c:310: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 (mask && (strlen(mask) > 510))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_whois.c:150: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).
    mlen = strlen(cli_name(&me)) + strlen(cli_name(sptr)) + 12 + strlen(name);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_whois.c:150:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    mlen = strlen(cli_name(&me)) + strlen(cli_name(sptr)) + 12 + strlen(name);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_whois.c:150:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    mlen = strlen(cli_name(&me)) + strlen(cli_name(sptr)) + 12 + strlen(name);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_whois.c:171: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 (len+strlen(chptr->chname) + mlen > BUFSIZE - 5)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_whois.c:192:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
       len += strlen(chptr->chname);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/m_whois.c:193:8:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
       strcat(buf + len, " ");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/motd.c:458:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    mtm += MotdList.local->path ? (strlen(MotdList.local->path) + 1) : 0;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/motd.c:465:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    mtm += MotdList.remote->path ? (strlen(MotdList.remote->path) + 1) : 0;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/motd.c:472: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).
    mtm += ptr->path ? (strlen(ptr->path) + 1) : 0;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/numnicks.c:183: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).
  unsigned int len = strlen(numeric);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/numnicks.c:205:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (5 == strlen(yxx)) {
data/ircd-ircu-2.10.12.10.dfsg1/ircd/numnicks.c:243:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (5 == strlen(yxx)) {
data/ircd-ircu-2.10.12.10.dfsg1/ircd/numnicks.c:332:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (5 == strlen(yxx)) {
data/ircd-ircu-2.10.12.10.dfsg1/ircd/numnicks.c:503: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(input) == 6) {
data/ircd-ircu-2.10.12.10.dfsg1/ircd/numnicks.c:516:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        for (left = (25 - strlen(input)) / 3 - pos; left; left--)
data/ircd-ircu-2.10.12.10.dfsg1/ircd/opercmds.c:113: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(timebuf, "0");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/random.c:74:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  random_add_entropy(fields[0], strlen(fields[0]));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:529:64:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (IO_SUCCESS != os_send_nonb(s_fd(&auth->socket), authbuf, strlen(authbuf), &count)) {
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:1530:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len += lengths[i] = strlen(params[i]);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:2060:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  iauth->i_count = strlen(sol);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_auth.c:2134: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).
  iauth->i_errcount = strlen(sol);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_bsd.c:510:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      write(fd, throttle_message, strlen(throttle_message));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_bsd.c:533:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    write(fd, register_message, strlen(register_message));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_conf.c:108:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char* end = line + strlen(line);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_conf.c:155:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memset(aconf->passwd, 0, strlen(aconf->passwd));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_conf.c:588: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 (HOSTLEN < strlen(name))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_conf.c:617: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 (HOSTLEN < strlen(host))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_conf.c:679: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 (HOSTLEN < strlen(name))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_conf.c:705: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 (HOSTLEN < strlen(host))
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_conf.c:1058: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).
  assert(strlen(host) <= HOSTLEN);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_conf.c:1059: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).
  assert((name ? strlen(name) : 0) <= HOSTLEN);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_conf.c:1060: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).
  assert((realname ? strlen(realname) : 0) <= REALLEN);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_debug.c:278: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).
        awm += (strlen(cli_user(acptr)->away) + 1);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_debug.c:292: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).
    chm += (strlen(chptr->chname) + sizeof(struct Channel));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_debug.c:298:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      chbm += strlen(ban->who) + strlen(ban->banstr) + 2 + sizeof(*ban);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_debug.c:298:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      chbm += strlen(ban->who) + strlen(ban->banstr) + 2 + sizeof(*ban);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_debug.c:305:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    com += aconf->host ? strlen(aconf->host) + 1 : 0;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_debug.c:306:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    com += aconf->passwd ? strlen(aconf->passwd) + 1 : 0;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_debug.c:307:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    com += aconf->name ? strlen(aconf->name) + 1 : 0;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_misc.c:452:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat(comment1, " ");
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_user.c:1478: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).
    buf_used = strlen(found->banstr);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/s_user.c:1484: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).
      slen = strlen(found->banstr);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/test/ircd_in_addr_t.c:67:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    assert(len == strlen(addr->text));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/test/ircd_match_t.c:46: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).
       candidate += strlen(candidate) + 1, ++matched) {
data/ircd-ircu-2.10.12.10.dfsg1/ircd/test/ircd_match_t.c:56: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).
       candidate += strlen(candidate) + 1, ++not_matched) {
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.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).
  n = ((float)(strlen(salts))*random()/(RAND_MAX+1.0));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:133: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).
  n = ((float)(strlen(salts))*random()/(RAND_MAX+1.0));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:137: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).
  Debug((DEBUG_DEBUG, "strlen(salts) = %d", strlen(salts)));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:188:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen(tmp);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:313:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
 tagged = (char *)MyMalloc(strlen(untagged)+CryptTokSize(crypt_mech->mech)+1);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:314:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
 memset(tagged, 0, strlen(untagged)+CryptTokSize(crypt_mech->mech)+1);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:315:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
 strncpy(tagged, CryptTok(crypt_mech->mech), CryptTokSize(crypt_mech->mech));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:316:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
 strncpy(tagged+CryptTokSize(crypt_mech->mech), untagged, strlen(untagged));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:316:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
 strncpy(tagged+CryptTokSize(crypt_mech->mech), untagged, strlen(untagged));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:335: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).
 len = strlen(DPATH) + strlen(CPATH) + 2;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:335:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
 len = strlen(DPATH) + strlen(CPATH) + 2;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:338: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).
 ircd_strncpy(umkpasswd_conf->conf, DPATH, strlen(DPATH));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:339:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
 *((umkpasswd_conf->conf) + strlen(DPATH)) = '/';
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:340:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
 ircd_strncpy((umkpasswd_conf->conf) + strlen(DPATH) + 1, CPATH, strlen(CPATH));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:340:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
 ircd_strncpy((umkpasswd_conf->conf) + strlen(DPATH) + 1, CPATH, strlen(CPATH));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/umkpasswd.c:461: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).
 memset(pw, 0, strlen(pw));
data/ircd-ircu-2.10.12.10.dfsg1/ircd/uping.c:345:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
             + (tv.tv_usec - atol(buf + strlen(buf) + 1)) / 1000;
data/ircd-ircu-2.10.12.10.dfsg1/ircd/uping.c:355:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  s = pptr->buf + strlen(pptr->buf);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/whowas.c:356: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).
    um += (strlen(tmp->name) + 1);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/whowas.c:357: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).
    um += (strlen(tmp->username) + 1);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/whowas.c:358: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).
    um += (strlen(tmp->hostname) + 1);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/whowas.c:359: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).
    um += (strlen(tmp->servername) + 1);
data/ircd-ircu-2.10.12.10.dfsg1/ircd/whowas.c:362: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).
      am += (strlen(tmp->away) + 1);
data/ircd-ircu-2.10.12.10.dfsg1/tools/Bounce/Bounce.cpp:219:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      tempBuf = (*b)->localSocket->read();
data/ircd-ircu-2.10.12.10.dfsg1/tools/Bounce/Bounce.cpp:249:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      tempBuf = (*b)->remoteSocket->read();
data/ircd-ircu-2.10.12.10.dfsg1/tools/Bounce/Bounce.cpp:436:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   int amount = ::write(fd, message, strlen(message)); 
data/ircd-ircu-2.10.12.10.dfsg1/tools/Bounce/Bounce.cpp:476:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
char* Socket::read() { 
data/ircd-ircu-2.10.12.10.dfsg1/tools/Bounce/Bounce.cpp:489:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  amountRead = ::read(fd, &buffer, 4096);
data/ircd-ircu-2.10.12.10.dfsg1/tools/Bounce/Bounce.h:84:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  char* read();                         // Reads as much as possible into a 4k buffer.

ANALYSIS SUMMARY:

Hits = 566
Lines analyzed = 65420 in approximately 2.00 seconds (32753 lines/second)
Physical Source Lines of Code (SLOC) = 37920
Hits@level = [0] 238 [1] 176 [2] 333 [3]   7 [4]  50 [5]   0
Hits@level+ = [0+] 804 [1+] 566 [2+] 390 [3+]  57 [4+]  50 [5+]   0
Hits/KSLOC@level+ = [0+] 21.2025 [1+] 14.9262 [2+] 10.2848 [3+] 1.50316 [4+] 1.31857 [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.