summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/chanserv.c2
-rw-r--r--version.log6
3 files changed, 7 insertions, 2 deletions
diff --git a/Changes b/Changes
index 6f389ea55..7cd22fd03 100644
--- a/Changes
+++ b/Changes
@@ -16,6 +16,7 @@ Provided by Anope Dev. <dev@anope.org> - 2004
11/19 A Added anope_cmd_ctcp() to code API, for sending CTCP messages. [ #00]
11/18 A Unable to use registered nicknames as bot nicks from now on. [ #00]
11/18 A NSAddAccessOnReg to control access list on registration. [ #00]
+12/31 F Fixed integer overflow error with CS LEVELS. [#262]
12/30 F Fixed moduleAddData using an old moduleData as list head. [#261]
12/30 F List handling of moduleData was bad on deletion. [#261]
12/30 F Few memleaks with moduleData functions returning early. [ #00]
diff --git a/src/chanserv.c b/src/chanserv.c
index f543b2656..ca012639b 100644
--- a/src/chanserv.c
+++ b/src/chanserv.c
@@ -4882,7 +4882,7 @@ static int do_levels(User * u)
char *error;
ChannelInfo *ci;
- short level;
+ int level;
int i;
/* If SET, we want two extra parameters; if DIS[ABLE] or FOUNDER, we want only
diff --git a/version.log b/version.log
index b3e4c253c..9f2cbc1fe 100644
--- a/version.log
+++ b/version.log
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="6"
-VERSION_BUILD="516"
+VERSION_BUILD="517"
# $Log$
#
+# BUILD : 1.7.6 (517)
+# BUGS : 262
+# NOTES : Fixed integer overflow error with CS LEVELS.
+#
# BUILD : 1.7.6 (516)
# BUGS : 261
# NOTES : This should be it finally! The moduleAddData function was using the old head to append/prepend the new moduleData to, but it had to use the new head. Thanks to DrStein for finding the cause! :)