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/inspircd-3.8.0/include/aligned_storage.h
Examining data/inspircd-3.8.0/include/bancache.h
Examining data/inspircd-3.8.0/include/base.h
Examining data/inspircd-3.8.0/include/channels.h
Examining data/inspircd-3.8.0/include/clientprotocol.h
Examining data/inspircd-3.8.0/include/clientprotocolevent.h
Examining data/inspircd-3.8.0/include/clientprotocolmsg.h
Examining data/inspircd-3.8.0/include/command_parse.h
Examining data/inspircd-3.8.0/include/compat.h
Examining data/inspircd-3.8.0/include/configparser.h
Examining data/inspircd-3.8.0/include/configreader.h
Examining data/inspircd-3.8.0/include/consolecolors.h
Examining data/inspircd-3.8.0/include/convto.h
Examining data/inspircd-3.8.0/include/ctables.h
Examining data/inspircd-3.8.0/include/cull_list.h
Examining data/inspircd-3.8.0/include/dynamic.h
Examining data/inspircd-3.8.0/include/dynref.h
Examining data/inspircd-3.8.0/include/event.h
Examining data/inspircd-3.8.0/include/exitcodes.h
Examining data/inspircd-3.8.0/include/extensible.h
Examining data/inspircd-3.8.0/include/filelogger.h
Examining data/inspircd-3.8.0/include/fileutils.h
Examining data/inspircd-3.8.0/include/flat_map.h
Examining data/inspircd-3.8.0/include/hashcomp.h
Examining data/inspircd-3.8.0/include/inspircd.h
Examining data/inspircd-3.8.0/include/inspsocket.h
Examining data/inspircd-3.8.0/include/inspstring.h
Examining data/inspircd-3.8.0/include/intrusive_list.h
Examining data/inspircd-3.8.0/include/intrusive_list_impl.h
Examining data/inspircd-3.8.0/include/iohook.h
Examining data/inspircd-3.8.0/include/isupportmanager.h
Examining data/inspircd-3.8.0/include/listmode.h
Examining data/inspircd-3.8.0/include/logger.h
Examining data/inspircd-3.8.0/include/membership.h
Examining data/inspircd-3.8.0/include/message.h
Examining data/inspircd-3.8.0/include/mode.h
Examining data/inspircd-3.8.0/include/modechange.h
Examining data/inspircd-3.8.0/include/moduledefs.h
Examining data/inspircd-3.8.0/include/modules.h
Examining data/inspircd-3.8.0/include/modules/account.h
Examining data/inspircd-3.8.0/include/modules/away.h
Examining data/inspircd-3.8.0/include/modules/callerid.h
Examining data/inspircd-3.8.0/include/modules/cap.h
Examining data/inspircd-3.8.0/include/modules/ctctags.h
Examining data/inspircd-3.8.0/include/modules/dns.h
Examining data/inspircd-3.8.0/include/modules/exemption.h
Examining data/inspircd-3.8.0/include/modules/geolocation.h
Examining data/inspircd-3.8.0/include/modules/hash.h
Examining data/inspircd-3.8.0/include/modules/httpd.h
Examining data/inspircd-3.8.0/include/modules/invite.h
Examining data/inspircd-3.8.0/include/modules/ircv3.h
Examining data/inspircd-3.8.0/include/modules/ircv3_batch.h
Examining data/inspircd-3.8.0/include/modules/ircv3_replies.h
Examining data/inspircd-3.8.0/include/modules/ircv3_servertime.h
Examining data/inspircd-3.8.0/include/modules/ldap.h
Examining data/inspircd-3.8.0/include/modules/names.h
Examining data/inspircd-3.8.0/include/modules/regex.h
Examining data/inspircd-3.8.0/include/modules/reload.h
Examining data/inspircd-3.8.0/include/modules/sasl.h
Examining data/inspircd-3.8.0/include/modules/server.h
Examining data/inspircd-3.8.0/include/modules/shun.h
Examining data/inspircd-3.8.0/include/modules/sql.h
Examining data/inspircd-3.8.0/include/modules/ssl.h
Examining data/inspircd-3.8.0/include/modules/stats.h
Examining data/inspircd-3.8.0/include/modules/webirc.h
Examining data/inspircd-3.8.0/include/modules/who.h
Examining data/inspircd-3.8.0/include/modules/whois.h
Examining data/inspircd-3.8.0/include/numeric.h
Examining data/inspircd-3.8.0/include/numericbuilder.h
Examining data/inspircd-3.8.0/include/numerics.h
Examining data/inspircd-3.8.0/include/parammode.h
Examining data/inspircd-3.8.0/include/protocol.h
Examining data/inspircd-3.8.0/include/serialize.h
Examining data/inspircd-3.8.0/include/server.h
Examining data/inspircd-3.8.0/include/snomasks.h
Examining data/inspircd-3.8.0/include/socket.h
Examining data/inspircd-3.8.0/include/socketengine.h
Examining data/inspircd-3.8.0/include/stdalgo.h
Examining data/inspircd-3.8.0/include/threadengine.h
Examining data/inspircd-3.8.0/include/threadengines/threadengine_pthread.h
Examining data/inspircd-3.8.0/include/threadengines/threadengine_win32.h
Examining data/inspircd-3.8.0/include/timer.h
Examining data/inspircd-3.8.0/include/token_list.h
Examining data/inspircd-3.8.0/include/typedefs.h
Examining data/inspircd-3.8.0/include/uid.h
Examining data/inspircd-3.8.0/include/usermanager.h
Examining data/inspircd-3.8.0/include/users.h
Examining data/inspircd-3.8.0/include/xline.h
Examining data/inspircd-3.8.0/make/template/config.h
Examining data/inspircd-3.8.0/make/test/arc4random_buf.cpp
Examining data/inspircd-3.8.0/make/test/clock_gettime.cpp
Examining data/inspircd-3.8.0/make/test/compiler.cpp
Examining data/inspircd-3.8.0/make/test/compiler_info.cpp
Examining data/inspircd-3.8.0/make/test/eventfd.cpp
Examining data/inspircd-3.8.0/make/test/kqueue.cpp
Examining data/inspircd-3.8.0/src/bancache.cpp
Examining data/inspircd-3.8.0/src/base.cpp
Examining data/inspircd-3.8.0/src/channels.cpp
Examining data/inspircd-3.8.0/src/cidr.cpp
Examining data/inspircd-3.8.0/src/clientprotocol.cpp
Examining data/inspircd-3.8.0/src/command_parse.cpp
Examining data/inspircd-3.8.0/src/commands.cpp
Examining data/inspircd-3.8.0/src/configparser.cpp
Examining data/inspircd-3.8.0/src/configreader.cpp
Examining data/inspircd-3.8.0/src/coremods/core_channel/cmd_invite.cpp
Examining data/inspircd-3.8.0/src/coremods/core_channel/cmd_join.cpp
Examining data/inspircd-3.8.0/src/coremods/core_channel/cmd_kick.cpp
Examining data/inspircd-3.8.0/src/coremods/core_channel/cmd_names.cpp
Examining data/inspircd-3.8.0/src/coremods/core_channel/cmd_topic.cpp
Examining data/inspircd-3.8.0/src/coremods/core_channel/cmode_k.cpp
Examining data/inspircd-3.8.0/src/coremods/core_channel/cmode_l.cpp
Examining data/inspircd-3.8.0/src/coremods/core_channel/core_channel.cpp
Examining data/inspircd-3.8.0/src/coremods/core_channel/core_channel.h
Examining data/inspircd-3.8.0/src/coremods/core_channel/invite.cpp
Examining data/inspircd-3.8.0/src/coremods/core_channel/invite.h
Examining data/inspircd-3.8.0/src/coremods/core_dns.cpp
Examining data/inspircd-3.8.0/src/coremods/core_hostname_lookup.cpp
Examining data/inspircd-3.8.0/src/coremods/core_info/cmd_admin.cpp
Examining data/inspircd-3.8.0/src/coremods/core_info/cmd_commands.cpp
Examining data/inspircd-3.8.0/src/coremods/core_info/cmd_info.cpp
Examining data/inspircd-3.8.0/src/coremods/core_info/cmd_modules.cpp
Examining data/inspircd-3.8.0/src/coremods/core_info/cmd_motd.cpp
Examining data/inspircd-3.8.0/src/coremods/core_info/cmd_servlist.cpp
Examining data/inspircd-3.8.0/src/coremods/core_info/cmd_time.cpp
Examining data/inspircd-3.8.0/src/coremods/core_info/cmd_version.cpp
Examining data/inspircd-3.8.0/src/coremods/core_info/core_info.cpp
Examining data/inspircd-3.8.0/src/coremods/core_info/core_info.h
Examining data/inspircd-3.8.0/src/coremods/core_list.cpp
Examining data/inspircd-3.8.0/src/coremods/core_loadmodule.cpp
Examining data/inspircd-3.8.0/src/coremods/core_lusers.cpp
Examining data/inspircd-3.8.0/src/coremods/core_message.cpp
Examining data/inspircd-3.8.0/src/coremods/core_mode.cpp
Examining data/inspircd-3.8.0/src/coremods/core_oper/cmd_die.cpp
Examining data/inspircd-3.8.0/src/coremods/core_oper/cmd_kill.cpp
Examining data/inspircd-3.8.0/src/coremods/core_oper/cmd_oper.cpp
Examining data/inspircd-3.8.0/src/coremods/core_oper/cmd_rehash.cpp
Examining data/inspircd-3.8.0/src/coremods/core_oper/cmd_restart.cpp
Examining data/inspircd-3.8.0/src/coremods/core_oper/core_oper.cpp
Examining data/inspircd-3.8.0/src/coremods/core_oper/core_oper.h
Examining data/inspircd-3.8.0/src/coremods/core_reloadmodule.cpp
Examining data/inspircd-3.8.0/src/coremods/core_serialize_rfc.cpp
Examining data/inspircd-3.8.0/src/coremods/core_stats.cpp
Examining data/inspircd-3.8.0/src/coremods/core_stub.cpp
Examining data/inspircd-3.8.0/src/coremods/core_user/cmd_away.cpp
Examining data/inspircd-3.8.0/src/coremods/core_user/cmd_ison.cpp
Examining data/inspircd-3.8.0/src/coremods/core_user/cmd_nick.cpp
Examining data/inspircd-3.8.0/src/coremods/core_user/cmd_part.cpp
Examining data/inspircd-3.8.0/src/coremods/core_user/cmd_quit.cpp
Examining data/inspircd-3.8.0/src/coremods/core_user/cmd_user.cpp
Examining data/inspircd-3.8.0/src/coremods/core_user/cmd_userhost.cpp
Examining data/inspircd-3.8.0/src/coremods/core_user/core_user.cpp
Examining data/inspircd-3.8.0/src/coremods/core_user/core_user.h
Examining data/inspircd-3.8.0/src/coremods/core_user/umode_o.cpp
Examining data/inspircd-3.8.0/src/coremods/core_user/umode_s.cpp
Examining data/inspircd-3.8.0/src/coremods/core_wallops.cpp
Examining data/inspircd-3.8.0/src/coremods/core_who.cpp
Examining data/inspircd-3.8.0/src/coremods/core_whois.cpp
Examining data/inspircd-3.8.0/src/coremods/core_whowas.cpp
Examining data/inspircd-3.8.0/src/coremods/core_xline/cmd_eline.cpp
Examining data/inspircd-3.8.0/src/coremods/core_xline/cmd_gline.cpp
Examining data/inspircd-3.8.0/src/coremods/core_xline/cmd_kline.cpp
Examining data/inspircd-3.8.0/src/coremods/core_xline/cmd_qline.cpp
Examining data/inspircd-3.8.0/src/coremods/core_xline/cmd_zline.cpp
Examining data/inspircd-3.8.0/src/coremods/core_xline/core_xline.cpp
Examining data/inspircd-3.8.0/src/coremods/core_xline/core_xline.h
Examining data/inspircd-3.8.0/src/cull_list.cpp
Examining data/inspircd-3.8.0/src/dynamic.cpp
Examining data/inspircd-3.8.0/src/filelogger.cpp
Examining data/inspircd-3.8.0/src/fileutils.cpp
Examining data/inspircd-3.8.0/src/hashcomp.cpp
Examining data/inspircd-3.8.0/src/helperfuncs.cpp
Examining data/inspircd-3.8.0/src/inspircd.cpp
Examining data/inspircd-3.8.0/src/inspsocket.cpp
Examining data/inspircd-3.8.0/src/inspstring.cpp
Examining data/inspircd-3.8.0/src/listensocket.cpp
Examining data/inspircd-3.8.0/src/listmode.cpp
Examining data/inspircd-3.8.0/src/logger.cpp
Examining data/inspircd-3.8.0/src/mode.cpp
Examining data/inspircd-3.8.0/src/modulemanager.cpp
Examining data/inspircd-3.8.0/src/modules.cpp
Examining data/inspircd-3.8.0/src/modules/extra/m_argon2.cpp
Examining data/inspircd-3.8.0/src/modules/extra/m_geo_maxmind.cpp
Examining data/inspircd-3.8.0/src/modules/extra/m_ldap.cpp
Examining data/inspircd-3.8.0/src/modules/extra/m_mysql.cpp
Examining data/inspircd-3.8.0/src/modules/extra/m_pgsql.cpp
Examining data/inspircd-3.8.0/src/modules/extra/m_regex_pcre.cpp
Examining data/inspircd-3.8.0/src/modules/extra/m_regex_posix.cpp
Examining data/inspircd-3.8.0/src/modules/extra/m_regex_re2.cpp
Examining data/inspircd-3.8.0/src/modules/extra/m_regex_stdlib.cpp
Examining data/inspircd-3.8.0/src/modules/extra/m_regex_tre.cpp
Examining data/inspircd-3.8.0/src/modules/extra/m_sqlite3.cpp
Examining data/inspircd-3.8.0/src/modules/extra/m_ssl_gnutls.cpp
Examining data/inspircd-3.8.0/src/modules/extra/m_ssl_mbedtls.cpp
Examining data/inspircd-3.8.0/src/modules/extra/m_ssl_openssl.cpp
Examining data/inspircd-3.8.0/src/modules/extra/m_sslrehashsignal.cpp
Examining data/inspircd-3.8.0/src/modules/m_abbreviation.cpp
Examining data/inspircd-3.8.0/src/modules/m_alias.cpp
Examining data/inspircd-3.8.0/src/modules/m_allowinvite.cpp
Examining data/inspircd-3.8.0/src/modules/m_alltime.cpp
Examining data/inspircd-3.8.0/src/modules/m_anticaps.cpp
Examining data/inspircd-3.8.0/src/modules/m_auditorium.cpp
Examining data/inspircd-3.8.0/src/modules/m_autoop.cpp
Examining data/inspircd-3.8.0/src/modules/m_banexception.cpp
Examining data/inspircd-3.8.0/src/modules/m_banredirect.cpp
Examining data/inspircd-3.8.0/src/modules/m_bcrypt.cpp
Examining data/inspircd-3.8.0/src/modules/m_blockamsg.cpp
Examining data/inspircd-3.8.0/src/modules/m_blockcaps.cpp
Examining data/inspircd-3.8.0/src/modules/m_blockcolor.cpp
Examining data/inspircd-3.8.0/src/modules/m_botmode.cpp
Examining data/inspircd-3.8.0/src/modules/m_callerid.cpp
Examining data/inspircd-3.8.0/src/modules/m_cap.cpp
Examining data/inspircd-3.8.0/src/modules/m_cban.cpp
Examining data/inspircd-3.8.0/src/modules/m_censor.cpp
Examining data/inspircd-3.8.0/src/modules/m_cgiirc.cpp
Examining data/inspircd-3.8.0/src/modules/m_chancreate.cpp
Examining data/inspircd-3.8.0/src/modules/m_chanfilter.cpp
Examining data/inspircd-3.8.0/src/modules/m_chanhistory.cpp
Examining data/inspircd-3.8.0/src/modules/m_chanlog.cpp
Examining data/inspircd-3.8.0/src/modules/m_channames.cpp
Examining data/inspircd-3.8.0/src/modules/m_channelban.cpp
Examining data/inspircd-3.8.0/src/modules/m_check.cpp
Examining data/inspircd-3.8.0/src/modules/m_chghost.cpp
Examining data/inspircd-3.8.0/src/modules/m_chgident.cpp
Examining data/inspircd-3.8.0/src/modules/m_chgname.cpp
Examining data/inspircd-3.8.0/src/modules/m_classban.cpp
Examining data/inspircd-3.8.0/src/modules/m_clearchan.cpp
Examining data/inspircd-3.8.0/src/modules/m_cloaking.cpp
Examining data/inspircd-3.8.0/src/modules/m_clones.cpp
Examining data/inspircd-3.8.0/src/modules/m_codepage.cpp
Examining data/inspircd-3.8.0/src/modules/m_commonchans.cpp
Examining data/inspircd-3.8.0/src/modules/m_conn_join.cpp
Examining data/inspircd-3.8.0/src/modules/m_conn_umodes.cpp
Examining data/inspircd-3.8.0/src/modules/m_conn_waitpong.cpp
Examining data/inspircd-3.8.0/src/modules/m_connectban.cpp
Examining data/inspircd-3.8.0/src/modules/m_connflood.cpp
Examining data/inspircd-3.8.0/src/modules/m_customprefix.cpp
Examining data/inspircd-3.8.0/src/modules/m_customtitle.cpp
Examining data/inspircd-3.8.0/src/modules/m_cycle.cpp
Examining data/inspircd-3.8.0/src/modules/m_dccallow.cpp
Examining data/inspircd-3.8.0/src/modules/m_deaf.cpp
Examining data/inspircd-3.8.0/src/modules/m_delayjoin.cpp
Examining data/inspircd-3.8.0/src/modules/m_delaymsg.cpp
Examining data/inspircd-3.8.0/src/modules/m_denychans.cpp
Examining data/inspircd-3.8.0/src/modules/m_disable.cpp
Examining data/inspircd-3.8.0/src/modules/m_dnsbl.cpp
Examining data/inspircd-3.8.0/src/modules/m_exemptchanops.cpp
Examining data/inspircd-3.8.0/src/modules/m_filter.cpp
Examining data/inspircd-3.8.0/src/modules/m_flashpolicyd.cpp
Examining data/inspircd-3.8.0/src/modules/m_gecosban.cpp
Examining data/inspircd-3.8.0/src/modules/m_geoban.cpp
Examining data/inspircd-3.8.0/src/modules/m_geoclass.cpp
Examining data/inspircd-3.8.0/src/modules/m_globalload.cpp
Examining data/inspircd-3.8.0/src/modules/m_globops.cpp
Examining data/inspircd-3.8.0/src/modules/m_haproxy.cpp
Examining data/inspircd-3.8.0/src/modules/m_helpop.cpp
Examining data/inspircd-3.8.0/src/modules/m_hidechans.cpp
Examining data/inspircd-3.8.0/src/modules/m_hidelist.cpp
Examining data/inspircd-3.8.0/src/modules/m_hidemode.cpp
Examining data/inspircd-3.8.0/src/modules/m_hideoper.cpp
Examining data/inspircd-3.8.0/src/modules/m_hostchange.cpp
Examining data/inspircd-3.8.0/src/modules/m_hostcycle.cpp
Examining data/inspircd-3.8.0/src/modules/m_httpd_acl.cpp
Examining data/inspircd-3.8.0/src/modules/m_httpd_config.cpp
Examining data/inspircd-3.8.0/src/modules/m_httpd_stats.cpp
Examining data/inspircd-3.8.0/src/modules/m_ident.cpp
Examining data/inspircd-3.8.0/src/modules/m_inviteexception.cpp
Examining data/inspircd-3.8.0/src/modules/m_ircv3.cpp
Examining data/inspircd-3.8.0/src/modules/m_ircv3_accounttag.cpp
Examining data/inspircd-3.8.0/src/modules/m_ircv3_batch.cpp
Examining data/inspircd-3.8.0/src/modules/m_ircv3_capnotify.cpp
Examining data/inspircd-3.8.0/src/modules/m_ircv3_chghost.cpp
Examining data/inspircd-3.8.0/src/modules/m_ircv3_ctctags.cpp
Examining data/inspircd-3.8.0/src/modules/m_ircv3_echomessage.cpp
Examining data/inspircd-3.8.0/src/modules/m_ircv3_invitenotify.cpp
Examining data/inspircd-3.8.0/src/modules/m_ircv3_labeledresponse.cpp
Examining data/inspircd-3.8.0/src/modules/m_ircv3_msgid.cpp
Examining data/inspircd-3.8.0/src/modules/m_ircv3_servertime.cpp
Examining data/inspircd-3.8.0/src/modules/m_ircv3_sts.cpp
Examining data/inspircd-3.8.0/src/modules/m_joinflood.cpp
Examining data/inspircd-3.8.0/src/modules/m_kicknorejoin.cpp
Examining data/inspircd-3.8.0/src/modules/m_knock.cpp
Examining data/inspircd-3.8.0/src/modules/m_ldapauth.cpp
Examining data/inspircd-3.8.0/src/modules/m_ldapoper.cpp
Examining data/inspircd-3.8.0/src/modules/m_lockserv.cpp
Examining data/inspircd-3.8.0/src/modules/m_maphide.cpp
Examining data/inspircd-3.8.0/src/modules/m_md5.cpp
Examining data/inspircd-3.8.0/src/modules/m_messageflood.cpp
Examining data/inspircd-3.8.0/src/modules/m_mlock.cpp
Examining data/inspircd-3.8.0/src/modules/m_modenotice.cpp
Examining data/inspircd-3.8.0/src/modules/m_monitor.cpp
Examining data/inspircd-3.8.0/src/modules/m_muteban.cpp
Examining data/inspircd-3.8.0/src/modules/m_namedmodes.cpp
Examining data/inspircd-3.8.0/src/modules/m_namesx.cpp
Examining data/inspircd-3.8.0/src/modules/m_nationalchars.cpp
Examining data/inspircd-3.8.0/src/modules/m_nickflood.cpp
Examining data/inspircd-3.8.0/src/modules/m_nicklock.cpp
Examining data/inspircd-3.8.0/src/modules/m_noctcp.cpp
Examining data/inspircd-3.8.0/src/modules/m_nokicks.cpp
Examining data/inspircd-3.8.0/src/modules/m_nonicks.cpp
Examining data/inspircd-3.8.0/src/modules/m_nonotice.cpp
Examining data/inspircd-3.8.0/src/modules/m_nopartmsg.cpp
Examining data/inspircd-3.8.0/src/modules/m_ojoin.cpp
Examining data/inspircd-3.8.0/src/modules/m_operchans.cpp
Examining data/inspircd-3.8.0/src/modules/m_operjoin.cpp
Examining data/inspircd-3.8.0/src/modules/m_operlevels.cpp
Examining data/inspircd-3.8.0/src/modules/m_operlog.cpp
Examining data/inspircd-3.8.0/src/modules/m_opermodes.cpp
Examining data/inspircd-3.8.0/src/modules/m_opermotd.cpp
Examining data/inspircd-3.8.0/src/modules/m_operprefix.cpp
Examining data/inspircd-3.8.0/src/modules/m_override.cpp
Examining data/inspircd-3.8.0/src/modules/m_passforward.cpp
Examining data/inspircd-3.8.0/src/modules/m_password_hash.cpp
Examining data/inspircd-3.8.0/src/modules/m_pbkdf2.cpp
Examining data/inspircd-3.8.0/src/modules/m_permchannels.cpp
Examining data/inspircd-3.8.0/src/modules/m_randquote.cpp
Examining data/inspircd-3.8.0/src/modules/m_redirect.cpp
Examining data/inspircd-3.8.0/src/modules/m_regex_glob.cpp
Examining data/inspircd-3.8.0/src/modules/m_remove.cpp
Examining data/inspircd-3.8.0/src/modules/m_repeat.cpp
Examining data/inspircd-3.8.0/src/modules/m_restrictchans.cpp
Examining data/inspircd-3.8.0/src/modules/m_restrictmsg.cpp
Examining data/inspircd-3.8.0/src/modules/m_rline.cpp
Examining data/inspircd-3.8.0/src/modules/m_rmode.cpp
Examining data/inspircd-3.8.0/src/modules/m_sajoin.cpp
Examining data/inspircd-3.8.0/src/modules/m_sakick.cpp
Examining data/inspircd-3.8.0/src/modules/m_samode.cpp
Examining data/inspircd-3.8.0/src/modules/m_sanick.cpp
Examining data/inspircd-3.8.0/src/modules/m_sapart.cpp
Examining data/inspircd-3.8.0/src/modules/m_saquit.cpp
Examining data/inspircd-3.8.0/src/modules/m_sasl.cpp
Examining data/inspircd-3.8.0/src/modules/m_satopic.cpp
Examining data/inspircd-3.8.0/src/modules/m_securelist.cpp
Examining data/inspircd-3.8.0/src/modules/m_seenicks.cpp
Examining data/inspircd-3.8.0/src/modules/m_serverban.cpp
Examining data/inspircd-3.8.0/src/modules/m_services_account.cpp
Examining data/inspircd-3.8.0/src/modules/m_servprotect.cpp
Examining data/inspircd-3.8.0/src/modules/m_sethost.cpp
Examining data/inspircd-3.8.0/src/modules/m_setident.cpp
Examining data/inspircd-3.8.0/src/modules/m_setidle.cpp
Examining data/inspircd-3.8.0/src/modules/m_setname.cpp
Examining data/inspircd-3.8.0/src/modules/m_sha1.cpp
Examining data/inspircd-3.8.0/src/modules/m_sha256.cpp
Examining data/inspircd-3.8.0/src/modules/m_showfile.cpp
Examining data/inspircd-3.8.0/src/modules/m_showwhois.cpp
Examining data/inspircd-3.8.0/src/modules/m_shun.cpp
Examining data/inspircd-3.8.0/src/modules/m_silence.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/addline.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/away.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/cachetimer.h
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/capab.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/commandbuilder.h
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/commands.h
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/compat.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/delline.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/encap.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/fjoin.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/fmode.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/ftopic.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/hmac.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/idle.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/ijoin.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/link.h
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/main.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/main.h
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/metadata.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/misccommands.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/netburst.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/nick.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/nickcollide.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/num.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/opertype.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/override_map.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/override_squit.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/override_stats.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/override_whois.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/ping.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/pingtimer.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/pingtimer.h
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/pong.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/postcommand.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/precommand.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/protocolinterface.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/protocolinterface.h
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/rconnect.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/remoteuser.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/remoteuser.h
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/resolvers.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/resolvers.h
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/rsquit.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/save.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/server.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/servercommand.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/servercommand.h
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/sinfo.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/svsjoin.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/svsnick.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/svspart.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/tags.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/tags.h
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/translate.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/translate.h
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/treeserver.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/treeserver.h
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/treesocket.h
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/treesocket1.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/treesocket2.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/uid.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/utils.cpp
Examining data/inspircd-3.8.0/src/modules/m_spanningtree/utils.h
Examining data/inspircd-3.8.0/src/modules/m_sqlauth.cpp
Examining data/inspircd-3.8.0/src/modules/m_sqloper.cpp
Examining data/inspircd-3.8.0/src/modules/m_sslinfo.cpp
Examining data/inspircd-3.8.0/src/modules/m_sslmodes.cpp
Examining data/inspircd-3.8.0/src/modules/m_starttls.cpp
Examining data/inspircd-3.8.0/src/modules/m_stripcolor.cpp
Examining data/inspircd-3.8.0/src/modules/m_svshold.cpp
Examining data/inspircd-3.8.0/src/modules/m_swhois.cpp
Examining data/inspircd-3.8.0/src/modules/m_timedbans.cpp
Examining data/inspircd-3.8.0/src/modules/m_tline.cpp
Examining data/inspircd-3.8.0/src/modules/m_topiclock.cpp
Examining data/inspircd-3.8.0/src/modules/m_uhnames.cpp
Examining data/inspircd-3.8.0/src/modules/m_uninvite.cpp
Examining data/inspircd-3.8.0/src/modules/m_userip.cpp
Examining data/inspircd-3.8.0/src/modules/m_vhost.cpp
Examining data/inspircd-3.8.0/src/modules/m_watch.cpp
Examining data/inspircd-3.8.0/src/modules/m_websocket.cpp
Examining data/inspircd-3.8.0/src/modules/m_xline_db.cpp
Examining data/inspircd-3.8.0/src/modules/m_httpd.cpp
Examining data/inspircd-3.8.0/src/serializable.cpp
Examining data/inspircd-3.8.0/src/server.cpp
Examining data/inspircd-3.8.0/src/snomasks.cpp
Examining data/inspircd-3.8.0/src/socket.cpp
Examining data/inspircd-3.8.0/src/socketengine.cpp
Examining data/inspircd-3.8.0/src/socketengines/socketengine_epoll.cpp
Examining data/inspircd-3.8.0/src/socketengines/socketengine_kqueue.cpp
Examining data/inspircd-3.8.0/src/socketengines/socketengine_poll.cpp
Examining data/inspircd-3.8.0/src/socketengines/socketengine_select.cpp
Examining data/inspircd-3.8.0/src/threadengine.cpp
Examining data/inspircd-3.8.0/src/threadengines/threadengine_pthread.cpp
Examining data/inspircd-3.8.0/src/threadengines/threadengine_win32.cpp
Examining data/inspircd-3.8.0/src/timer.cpp
Examining data/inspircd-3.8.0/src/usermanager.cpp
Examining data/inspircd-3.8.0/src/users.cpp
Examining data/inspircd-3.8.0/src/wildcard.cpp
Examining data/inspircd-3.8.0/src/xline.cpp
Examining data/inspircd-3.8.0/vendor/bcrypt/crypt_blowfish.c
Examining data/inspircd-3.8.0/vendor/bcrypt/crypt_blowfish.h
Examining data/inspircd-3.8.0/vendor/http_parser/http_parser.c
Examining data/inspircd-3.8.0/vendor/http_parser/http_parser.h
Examining data/inspircd-3.8.0/vendor/sha2/sha2.c
Examining data/inspircd-3.8.0/vendor/sha2/sha2.h
Examining data/inspircd-3.8.0/vendor/utfcpp/utf8.h
Examining data/inspircd-3.8.0/vendor/utfcpp/utf8/checked.h
Examining data/inspircd-3.8.0/vendor/utfcpp/utf8/core.h
Examining data/inspircd-3.8.0/vendor/utfcpp/utf8/cpp11.h
Examining data/inspircd-3.8.0/vendor/utfcpp/utf8/unchecked.h
Examining data/inspircd-3.8.0/vendor/ya_getopt/ya_getopt.c
Examining data/inspircd-3.8.0/vendor/ya_getopt/ya_getopt.h
Examining data/inspircd-3.8.0/win/inspircd_memory_functions.cpp
Examining data/inspircd-3.8.0/win/inspircd_win32wrapper.cpp
Examining data/inspircd-3.8.0/win/inspircd_win32wrapper.h
Examining data/inspircd-3.8.0/win/win32service.cpp
Examining data/inspircd-3.8.0/win/win32service.h

FINAL RESULTS:

data/inspircd-3.8.0/src/listensocket.cpp:96:4:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
			chmod(bind_to.str().c_str(), permissions);
data/inspircd-3.8.0/include/compat.h:47:67:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define CUSTOM_PRINTF(stringpos, firstpos) __attribute__((format(printf, stringpos, firstpos)))
data/inspircd-3.8.0/src/configparser.cpp:477:26:  [4] (shell) popen:
  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.
	FileWrapper file(exec ? popen(name.c_str(), "r") : fopen(path.c_str(), "r"), exec);
data/inspircd-3.8.0/src/configparser.cpp:505:29:  [4] (shell) popen:
  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.
	FileWrapper file((isexec ? popen(path.c_str(), "r") : fopen(path.c_str(), "r")), isexec);
data/inspircd-3.8.0/src/coremods/core_oper/cmd_restart.cpp:63: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(ServerInstance->Config->cmdline.argv[0], ServerInstance->Config->cmdline.argv);
data/inspircd-3.8.0/src/fileutils.cpp:99:10:  [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.
	return !access(file.c_str(), F_OK);
data/inspircd-3.8.0/src/helperfuncs.cpp:465:16:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		int vsnret = vsnprintf(&formatBuffer[0], formatBuffer.size(), formatString, dst);
data/inspircd-3.8.0/src/listensocket.cpp:201: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(client.un.sun_path, server.un.sun_path);
data/inspircd-3.8.0/vendor/ya_getopt/ya_getopt.c:58:9:  [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, format, ap);
data/inspircd-3.8.0/win/inspircd_win32wrapper.h:102:9:  [4] (shell) popen:
  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.
#define popen _popen
data/inspircd-3.8.0/include/threadengines/threadengine_win32.h:90:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
		InitializeCriticalSection(&wutex);
data/inspircd-3.8.0/include/threadengines/threadengine_win32.h:94:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
		EnterCriticalSection(&wutex);
data/inspircd-3.8.0/src/configparser.cpp:252:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
					const char* envstr = getenv(varname.c_str() + 4);
data/inspircd-3.8.0/src/fileutils.cpp:82:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		const char* homedir = getenv("HOME");
data/inspircd-3.8.0/src/helperfuncs.cpp:553:15:  [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.
		output[i] = random();
data/inspircd-3.8.0/src/inspircd.cpp:213:7:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
		if (realpath(path, configPath))
data/inspircd-3.8.0/src/inspircd.cpp:310:17:  [3] (buffer) getopt_long:
  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 ((ret = getopt_long(ServerInstance->Config->cmdline.argc, argv, ":c:", longopts, NULL)) != -1)
data/inspircd-3.8.0/src/inspircd.cpp:350:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		srand(ts.tv_nsec ^ ts.tv_sec);
data/inspircd-3.8.0/src/inspircd.cpp:352:3:  [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(ts.tv_nsec ^ ts.tv_sec);
data/inspircd-3.8.0/src/modules/m_randquote.cpp:49:38:  [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.
			user->WriteNotice(prefix + quotes[random] + suffix);
data/inspircd-3.8.0/vendor/ya_getopt/ya_getopt.c:65:32:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (optstring[0] == '+' || getenv("POSIXLY_CORRECT") != NULL) {
data/inspircd-3.8.0/vendor/ya_getopt/ya_getopt.h:61:9:  [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.
#define getopt ya_getopt
data/inspircd-3.8.0/vendor/ya_getopt/ya_getopt.h:62:9:  [3] (buffer) getopt_long:
  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.
#define getopt_long ya_getopt_long
data/inspircd-3.8.0/include/clientprotocolmsg.h:50:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 numericstr[4];
data/inspircd-3.8.0/include/hashcomp.h:65:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
CoreExport extern unsigned const char rfc_case_insensitive_map[256];
data/inspircd-3.8.0/include/hashcomp.h:71:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
CoreExport extern unsigned const char ascii_case_insensitive_map[256];
data/inspircd-3.8.0/include/inspircd.h:197:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 ReadBuffer[65535];
data/inspircd-3.8.0/include/socket.h:89:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			unsigned char bits[16];
data/inspircd-3.8.0/make/test/arc4random_buf.cpp:23:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[100];
data/inspircd-3.8.0/src/configparser.cpp:477:53:  [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).
	FileWrapper file(exec ? popen(name.c_str(), "r") : fopen(path.c_str(), "r"), exec);
data/inspircd-3.8.0/src/configparser.cpp:484:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 linebuf[5120];
data/inspircd-3.8.0/src/configparser.cpp:505:56:  [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).
	FileWrapper file((isexec ? popen(path.c_str(), "r") : fopen(path.c_str(), "r")), isexec);
data/inspircd-3.8.0/src/configreader.cpp:341:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 hostname[256];
data/inspircd-3.8.0/src/coremods/core_dns.cpp:58: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(&output[pos], token.data(), token.length());
data/inspircd-3.8.0/src/coremods/core_dns.cpp:304: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 reverse_ip[128];
data/inspircd-3.8.0/src/coremods/core_dns.cpp:333: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(&output[pos], &s, 2);
data/inspircd-3.8.0/src/coremods/core_dns.cpp:486: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 buffer[524];
data/inspircd-3.8.0/src/coremods/core_dns.cpp:569: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 buffer[524];
data/inspircd-3.8.0/src/dynamic.cpp:121:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char errmsg[500];
data/inspircd-3.8.0/src/hashcomp.cpp:61:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned const char ascii_case_insensitive_map[256] = {
data/inspircd-3.8.0/src/hashcomp.cpp:98:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned const char rfc_case_insensitive_map[256] = {
data/inspircd-3.8.0/src/helperfuncs.cpp:511:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[512];
data/inspircd-3.8.0/src/inspircd.cpp:208:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		TCHAR configPath[MAX_PATH + 1];
data/inspircd-3.8.0/src/inspircd.cpp: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 configPath[PATH_MAX + 1];
data/inspircd-3.8.0/src/inspircd.cpp:600:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		int fd = open("/dev/null", O_RDWR);
data/inspircd-3.8.0/src/listensocket.cpp:108: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(afa.af_name, "dataready");
data/inspircd-3.8.0/src/listensocket.cpp:180:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 unsigned char prefix4in6[12] = { 0,0,0,0, 0,0,0,0, 0,0,0xFF,0xFF };
data/inspircd-3.8.0/src/listensocket.cpp:187: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(&client.in4.sin_addr.s_addr, client.in6.sin6_addr.s6_addr + 12, sizeof(uint32_t));
data/inspircd-3.8.0/src/listensocket.cpp:192: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(&server.in4.sin_addr.s_addr, server.in6.sin6_addr.s6_addr + 12, sizeof(uint32_t));
data/inspircd-3.8.0/src/logger.cpp:123:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char realtarget[256];
data/inspircd-3.8.0/src/logger.cpp:127:14:  [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).
			FILE* f = fopen(realtarget, "a");
data/inspircd-3.8.0/src/modules/extra/m_ssl_gnutls.cpp:801: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 str[512];
data/inspircd-3.8.0/src/modules/extra/m_ssl_gnutls.cpp:802: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 digest[512];
data/inspircd-3.8.0/src/modules/extra/m_ssl_mbedtls.cpp:72: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/inspircd-3.8.0/src/modules/extra/m_ssl_mbedtls.cpp:637: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[512];
data/inspircd-3.8.0/src/modules/extra/m_ssl_mbedtls.cpp:937: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 verbuf[16]; // Should be at least 9 bytes in size
data/inspircd-3.8.0/src/modules/extra/m_ssl_openssl.cpp:618:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char md[EVP_MAX_MD_SIZE];
data/inspircd-3.8.0/src/modules/extra/m_ssl_openssl.cpp:641: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[512];
data/inspircd-3.8.0/src/modules/m_bcrypt.cpp:33: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 entropy[16];
data/inspircd-3.8.0/src/modules/m_bcrypt.cpp: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 salt[32];
data/inspircd-3.8.0/src/modules/m_bcrypt.cpp:49:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char hash[64];
data/inspircd-3.8.0/src/modules/m_codepage.cpp:33: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 casemap[UCHAR_MAX];
data/inspircd-3.8.0/src/modules/m_codepage.cpp:163: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 newcasemap[UCHAR_MAX];
data/inspircd-3.8.0/src/modules/m_dnsbl.cpp: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 records[256];
data/inspircd-3.8.0/src/modules/m_haproxy.cpp:131: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 proxy_signature[13] = "\x0D\x0A\x0D\x0A\x00\x0D\x0A\x51\x55\x49\x54\x0A";
data/inspircd-3.8.0/src/modules/m_haproxy.cpp:253: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(&client.in4.sin_addr.s_addr, &recvq[0], 4);
data/inspircd-3.8.0/src/modules/m_haproxy.cpp:254: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(&server.in4.sin_addr.s_addr, &recvq[4], 4);
data/inspircd-3.8.0/src/modules/m_haproxy.cpp:255: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(&client.in4.sin_port, &recvq[8], 2);
data/inspircd-3.8.0/src/modules/m_haproxy.cpp:256: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(&server.in4.sin_port, &recvq[10], 2);
data/inspircd-3.8.0/src/modules/m_haproxy.cpp:261: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(client.in6.sin6_addr.s6_addr, &recvq[0], 16);
data/inspircd-3.8.0/src/modules/m_haproxy.cpp:262: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(server.in6.sin6_addr.s6_addr, &recvq[16], 16);
data/inspircd-3.8.0/src/modules/m_haproxy.cpp:263: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(&client.in6.sin6_port, &recvq[32], 2);
data/inspircd-3.8.0/src/modules/m_haproxy.cpp:264: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(&server.in6.sin6_port, &recvq[34], 2);
data/inspircd-3.8.0/src/modules/m_haproxy.cpp:269: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(client.un.sun_path, &recvq[0], 108);
data/inspircd-3.8.0/src/modules/m_haproxy.cpp:270: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(server.un.sun_path, &recvq[108], 108);
data/inspircd-3.8.0/src/modules/m_haproxy.cpp:307: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(&header, recvq.c_str(), PP2_HEADER_LENGTH);
data/inspircd-3.8.0/src/modules/m_ident.cpp:166: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 req[32];
data/inspircd-3.8.0/src/modules/m_ident.cpp:206: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 ibuf[256];
data/inspircd-3.8.0/src/modules/m_md5.cpp:92: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((byte *)ctx->in + 64 - (unsigned)t, buf, len);
data/inspircd-3.8.0/src/modules/m_md5.cpp:96: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((byte *)ctx->in + 64 - (unsigned)t, buf, (unsigned)t);
data/inspircd-3.8.0/src/modules/m_md5.cpp:105: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(ctx->in, buf, 64);
data/inspircd-3.8.0/src/modules/m_md5.cpp:113: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, len);
data/inspircd-3.8.0/src/modules/m_md5.cpp:144: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(digest, ctx->buf, 16);
data/inspircd-3.8.0/src/modules/m_md5.cpp: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 res[16];
data/inspircd-3.8.0/src/modules/m_nationalchars.cpp:44:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 unsigned char m_reverse_additional[256],m_additionalMB[256],m_additionalUtf8[256],m_additionalUtf8range[256],m_additionalUtf8interval[256];
data/inspircd-3.8.0/src/modules/m_nationalchars.cpp:154:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				unsigned char uright[5] = {0,0,0,0,0}, range = mb[cursize] - 1;
data/inspircd-3.8.0/src/modules/m_nationalchars.cpp:227: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 m_additional[256], m_additionalUp[256], m_lower[256], m_upper[256];
data/inspircd-3.8.0/src/modules/m_nationalchars.cpp:232: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 prev_map[256];
data/inspircd-3.8.0/src/modules/m_nationalchars.cpp:267: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(m_lower, rfc_case_insensitive_map, 256);
data/inspircd-3.8.0/src/modules/m_nationalchars.cpp:288: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 * tables[8] = { m_additional, m_additionalMB, m_additionalUp, m_lower, m_upper, m_additionalUtf8, m_additionalUtf8range, m_additionalUtf8interval };
data/inspircd-3.8.0/src/modules/m_nationalchars.cpp:352: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(m_lower, rfc_case_insensitive_map, 256);
data/inspircd-3.8.0/src/modules/m_nationalchars.cpp:402: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(chartable, buf.c_str() + 1, i);
data/inspircd-3.8.0/src/modules/m_pbkdf2.cpp:91:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char salt_data[4];
data/inspircd-3.8.0/src/modules/m_sha1.cpp:31: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 c[64];
data/inspircd-3.8.0/src/modules/m_sha1.cpp:65: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 buffer[64];
data/inspircd-3.8.0/src/modules/m_sha1.cpp:66: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 digest[20];
data/inspircd-3.8.0/src/modules/m_sha1.cpp:68:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Transform(const unsigned char buf[64])
data/inspircd-3.8.0/src/modules/m_sha1.cpp:73: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(block.c, buf, 64);
data/inspircd-3.8.0/src/modules/m_sha1.cpp:132: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(&this->buffer[j], data, (i = 64 - j));
data/inspircd-3.8.0/src/modules/m_sha1.cpp:140: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(&this->buffer[j], &data[i], len - i);
data/inspircd-3.8.0/src/modules/m_sha1.cpp:146: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 finalcount[8];
data/inspircd-3.8.0/src/modules/m_sha256.cpp:54:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char bytes[SHA256_DIGEST_SIZE];
data/inspircd-3.8.0/src/modules/m_websocket.cpp:156: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 header[MAXHEADERSIZE];
data/inspircd-3.8.0/src/socket.cpp:197: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(&sa.un.sun_path, path.c_str(), path.length() + 1);
data/inspircd-3.8.0/src/socket.cpp:241:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char ip4addr[INET_ADDRSTRLEN];
data/inspircd-3.8.0/src/socket.cpp:247:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char ip6addr[INET6_ADDRSTRLEN];
data/inspircd-3.8.0/src/socket.cpp:266:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char ip4addr[INET_ADDRSTRLEN];
data/inspircd-3.8.0/src/socket.cpp:268: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(ip4addr, "0.0.0.0");
data/inspircd-3.8.0/src/socket.cpp:272:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char ip6addr[INET6_ADDRSTRLEN];
data/inspircd-3.8.0/src/socket.cpp:274: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(ip6addr, "0:0:0:0:0:0:0:0");
data/inspircd-3.8.0/src/socket.cpp:426: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(base, bits, len);
data/inspircd-3.8.0/src/socketengine.cpp:369:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 szErrorString[500];
data/inspircd-3.8.0/src/threadengines/threadengine_pthread.cpp:132: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 dummy[128];
data/inspircd-3.8.0/src/users.cpp:124: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(&client_sa, client, sizeof(irc::sockets::sockaddrs));
data/inspircd-3.8.0/src/users.cpp:125: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(&server_sa, servaddr, sizeof(irc::sockets::sockaddrs));
data/inspircd-3.8.0/src/users.cpp:348: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(&user->server_sa, &server, sizeof(irc::sockets::sockaddrs));
data/inspircd-3.8.0/src/users.cpp:770: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(&client_sa, &sa, sizeof(irc::sockets::sockaddrs));
data/inspircd-3.8.0/vendor/bcrypt/crypt_blowfish.c:364:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 unsigned char BF_itoa64[64 + 1] =
data/inspircd-3.8.0/vendor/bcrypt/crypt_blowfish.c:367:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 unsigned char BF_atoi64[0x60] = {
data/inspircd-3.8.0/vendor/bcrypt/crypt_blowfish.c:645:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 unsigned char flags_by_subtype[26] =
data/inspircd-3.8.0/vendor/bcrypt/crypt_blowfish.c:768: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(output, setting, 7 + 22 - 1);
data/inspircd-3.8.0/vendor/bcrypt/crypt_blowfish.c:821:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static const char * const test_hashes[2] =
data/inspircd-3.8.0/vendor/bcrypt/crypt_blowfish.c:829: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 s[7 + 22 + 1];
data/inspircd-3.8.0/vendor/bcrypt/crypt_blowfish.c:830: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 o[7 + 22 + 31 + 1 + 1 + 1];
data/inspircd-3.8.0/vendor/http_parser/http_parser.c:189: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 tokens[256] = {
data/inspircd-3.8.0/vendor/sha2/sha2.c:364: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(&ctx->block[ctx->len], message, rem_len);
data/inspircd-3.8.0/vendor/sha2/sha2.c:381: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(ctx->block, &shifted_message[block_nb << 6],
data/inspircd-3.8.0/vendor/sha2/sha2.c:561: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(&ctx->block[ctx->len], message, rem_len);
data/inspircd-3.8.0/vendor/sha2/sha2.c:578: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(ctx->block, &shifted_message[block_nb << 7],
data/inspircd-3.8.0/vendor/sha2/sha2.c:663: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(&ctx->block[ctx->len], message, rem_len);
data/inspircd-3.8.0/vendor/sha2/sha2.c:680: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(ctx->block, &shifted_message[block_nb << 7],
data/inspircd-3.8.0/vendor/sha2/sha2.c:763: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(&ctx->block[ctx->len], message, rem_len);
data/inspircd-3.8.0/vendor/sha2/sha2.c:780: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(ctx->block, &shifted_message[block_nb << 6],
data/inspircd-3.8.0/vendor/sha2/sha2.c:834: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 output[2 * SHA512_DIGEST_SIZE + 1];
data/inspircd-3.8.0/vendor/sha2/sha2.c:840:8:  [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(output + 2 * i, "%02x", digest[i]);
data/inspircd-3.8.0/vendor/sha2/sha2.c:852:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char *vectors[4][3] =
data/inspircd-3.8.0/vendor/sha2/sha2.c:893:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char digest[SHA512_DIGEST_SIZE];
data/inspircd-3.8.0/vendor/sha2/sha2.h:61:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char block[2 * SHA256_BLOCK_SIZE];
data/inspircd-3.8.0/vendor/sha2/sha2.h:68:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char block[2 * SHA512_BLOCK_SIZE];
data/inspircd-3.8.0/vendor/ya_getopt/ya_getopt.c:133:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 **)argv)[i] = argv[i + 1];
data/inspircd-3.8.0/vendor/ya_getopt/ya_getopt.c:135:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            ((char const **)argv)[i] = arg;
data/inspircd-3.8.0/win/inspircd_win32wrapper.h:154:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 szErrorString[500];
data/inspircd-3.8.0/win/inspircd_win32wrapper.h:190:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 sun_path[6];
data/inspircd-3.8.0/win/win32service.cpp:115:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 szModuleName[MAX_PATH];
data/inspircd-3.8.0/win/win32service.cpp:170:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		TCHAR tszBinaryPath[MAX_PATH];
data/inspircd-3.8.0/src/configparser.cpp:130:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		int ch = fgetc(file);
data/inspircd-3.8.0/src/configparser.cpp:487:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t len = strlen(linebuf);
data/inspircd-3.8.0/src/dynamic.cpp:41: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).
	static size_t extlen = strlen(DLL_EXTENSION);
data/inspircd-3.8.0/src/inspircd.cpp:327: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).
						<< std::string(strlen(argv[0]) + 8, ' ') << "[--nopid] [--runasroot] [--version]" << std::endl;
data/inspircd-3.8.0/src/modules/extra/m_ssl_mbedtls.cpp:263: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).
			size_t len = strlen(msg);
data/inspircd-3.8.0/src/modules/extra/m_ssl_openssl.cpp:496:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		static int read(BIO* bio, char* buf, int len);
data/inspircd-3.8.0/src/modules/extra/m_ssl_openssl.cpp:504:48:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			BIO_meth_set_read(meth, OpenSSL::BIOMethod::read);
data/inspircd-3.8.0/src/modules/extra/m_ssl_openssl.cpp:522:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	OpenSSL::BIOMethod::read,
data/inspircd-3.8.0/src/modules/extra/m_ssl_openssl.cpp:915:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
static int OpenSSL::BIOMethod::read(BIO* bio, char* buffer, int size)
data/inspircd-3.8.0/src/modules/m_check.cpp:112:253:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			: Numeric::GenericBuilder<' ', false, Numeric::WriteRemoteNumericSink>(Numeric::WriteRemoteNumericSink(context.GetUser()), RPL_CHECK, false, (IS_LOCAL(context.GetUser()) ? context.GetUser()->nick.length() : ServerInstance->Config->Limits.NickMax) + strlen(checktype) + 1)
data/inspircd-3.8.0/src/modules/m_nationalchars.cpp:155:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy((char* ) uright, (char *) mb, cursize);
data/inspircd-3.8.0/src/threadengines/threadengine_pthread.cpp:133:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		read(fd, dummy, 128);
data/inspircd-3.8.0/vendor/sha2/sha2.c:905: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).
    sha224((const unsigned char *) message1, strlen(message1), digest);
data/inspircd-3.8.0/vendor/sha2/sha2.c:907: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).
    sha224((const unsigned char *) message2a, strlen(message2a), digest);
data/inspircd-3.8.0/vendor/sha2/sha2.c:915: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).
    sha256((const unsigned char *) message1, strlen(message1), digest);
data/inspircd-3.8.0/vendor/sha2/sha2.c:917: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).
    sha256((const unsigned char *) message2a, strlen(message2a), digest);
data/inspircd-3.8.0/vendor/sha2/sha2.c:925: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).
    sha384((const unsigned char *) message1, strlen(message1), digest);
data/inspircd-3.8.0/vendor/sha2/sha2.c:927: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).
    sha384((const unsigned char *)message2b, strlen(message2b), digest);
data/inspircd-3.8.0/vendor/sha2/sha2.c:935: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).
    sha512((const unsigned char *) message1, strlen(message1), digest);
data/inspircd-3.8.0/vendor/sha2/sha2.c:937: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).
    sha512((const unsigned char *) message2b, strlen(message2b), digest);
data/inspircd-3.8.0/vendor/ya_getopt/ya_getopt.c:265: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).
        namelen = strlen(opt->name);

ANALYSIS SUMMARY:

Hits = 166
Lines analyzed = 99549 in approximately 2.73 seconds (36465 lines/second)
Physical Source Lines of Code (SLOC) = 62475
Hits@level = [0]  18 [1]  21 [2] 122 [3]  13 [4]   9 [5]   1
Hits@level+ = [0+] 184 [1+] 166 [2+] 145 [3+]  23 [4+]  10 [5+]   1
Hits/KSLOC@level+ = [0+] 2.94518 [1+] 2.65706 [2+] 2.32093 [3+] 0.368147 [4+] 0.160064 [5+] 0.0160064
Dot directories skipped = 2 (--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.