mirror of
https://github.com/anope/anope.git
synced 2026-07-03 09:53:12 +02:00
BUILD : 1.7.9 (775) BUGS : NOTES : Fixed possible segfaults in ns_maxemail
git-svn-id: svn://svn.anope.org/anope/trunk@775 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@535 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
9496304952
commit
7a731e504b
@@ -1,5 +1,6 @@
|
||||
Anope Version S V N
|
||||
-------------------
|
||||
05/05 F Segfault in ns_maxemail when passing wrong param count. [ #00]
|
||||
05/05 F ULined servers still got their modes removed with SecureOps on. [ #00]
|
||||
05/05 F Missing access checks when removing modes due to SecureOps. [#366]
|
||||
Provided by Anope Dev. <dev@anope.org> - 2005
|
||||
|
||||
@@ -116,6 +116,8 @@ int my_ns_register(User * u)
|
||||
|
||||
cur_buffer = moduleGetLastBuffer();
|
||||
email = myStrGetToken(cur_buffer, ' ', 1);
|
||||
if (!email)
|
||||
return MOD_CONT;
|
||||
|
||||
ret = check_email_limit_reached(email, u);
|
||||
free(email);
|
||||
@@ -132,7 +134,10 @@ int my_ns_set(User * u)
|
||||
|
||||
cur_buffer = moduleGetLastBuffer();
|
||||
set = myStrGetToken(cur_buffer, ' ', 0);
|
||||
|
||||
|
||||
if (!set)
|
||||
return MOD_CONT;
|
||||
|
||||
if (stricmp(set, "email") != 0) {
|
||||
free(set);
|
||||
return MOD_CONT;
|
||||
@@ -140,6 +145,8 @@ int my_ns_set(User * u)
|
||||
|
||||
free(set);
|
||||
email = myStrGetToken(cur_buffer, ' ', 1);
|
||||
if (!email)
|
||||
return MOD_CONT;
|
||||
|
||||
ret = check_email_limit_reached(email, u);
|
||||
free(email);
|
||||
|
||||
+5
-1
@@ -8,10 +8,14 @@
|
||||
VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="9"
|
||||
VERSION_BUILD="774"
|
||||
VERSION_BUILD="775"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.9 (775)
|
||||
# BUGS :
|
||||
# NOTES : Fixed possible segfaults in ns_maxemail
|
||||
#
|
||||
# BUILD : 1.7.9 (774)
|
||||
# BUGS : 366
|
||||
# NOTES : Updated chan_set_correct_modes() to work ok with U:Lined servers and added checking for OPDEOPME next to AUTOOP levels (same for the other modes)
|
||||
|
||||
Reference in New Issue
Block a user