This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Undernet IRC Server Source Code.".
The branch, u2_10_12_branch has been updated
via 2dbbe9916ce1a6aa389661ac7fd3346e64e129a4 (commit)
via a5f0bbaf5fda744efbdfcca3e185f9f8c58a641c (commit)
from b632d7552473bd071d535195ac1614fce490df46 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2dbbe9916ce1a6aa389661ac7fd3346e64e129a4
Author: Michael Poole <[email protected]>
Date: Tue May 2 21:04:39 2017 -0400
ms_opmode(): Only forward the message for non-local users.
diff --git a/ircd/m_opmode.c b/ircd/m_opmode.c
index e57438c..df67464 100644
--- a/ircd/m_opmode.c
+++ b/ircd/m_opmode.c
@@ -178,8 +178,12 @@ int ms_opmode(struct Client* cptr, struct Client* sptr,
int parc, char* parv[])
if (!dptr)
return send_reply(sptr, ERR_NOSUCHNICK, parv[1]);
- sendcmdto_serv_butone(sptr, CMD_OPMODE, cptr, "%s %s",
- parv[1], parv[2]);
+ if (!MyConnect(dptr))
+ {
+ sendcmdto_serv_butone(sptr, CMD_OPMODE, cptr, "%s %s",
+ parv[1], parv[2]);
+ return 0;
+ }
/* At the moment, we only support +o and -o. set_user_mode() does
* not support remote mode setting or setting +o.
commit a5f0bbaf5fda744efbdfcca3e185f9f8c58a641c
Author: Michael Poole <[email protected]>
Date: Mon May 1 21:33:29 2017 -0400
s_auth: Avoid double-free of DNS request for DNS failures.
diff --git a/ircd/s_auth.c b/ircd/s_auth.c
index 53ed3ff..6f4a0b9 100644
--- a/ircd/s_auth.c
+++ b/ircd/s_auth.c
@@ -966,6 +966,9 @@ static void auth_dns_callback(void* vptr, const struct
irc_in_addr *addr, const
struct AuthRequest* auth = (struct AuthRequest*) vptr;
assert(0 != auth);
+ /* Clear the dns-pending flag so exit_client() cleans up properly. */
+ FlagClr(&auth->flags, AR_DNS_PENDING);
+
if (!addr) {
/* DNS entry was missing for the IP. */
if (IsUserPort(auth->client))
-----------------------------------------------------------------------
Summary of changes:
ircd/m_opmode.c | 8 ++++++--
ircd/s_auth.c | 3 +++
2 files changed, 9 insertions(+), 2 deletions(-)
hooks/post-receive
--
Undernet IRC Server Source Code.
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches