summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-03-02 08:40:41 +0000
committercertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-03-02 08:40:41 +0000
commitb90dfa435af6afa7fc21a59a6d37a2d537a9ad43 (patch)
treea54f95a9d8344e6f25abd5d933667467b12c52fe
parentbd1c639428b4d1edf34fe68148027c5d4897e45e (diff)
# BUILD : 1.7.13 (998)
# BUGS : 445 # NOTES : Tixed possible overflow in process() git-svn-id: svn://svn.anope.org/anope/trunk@998 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@723 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes3
-rw-r--r--src/process.c2
-rw-r--r--version.log6
3 files changed, 8 insertions, 3 deletions
diff --git a/Changes b/Changes
index 3cccbf7bb..d765c4823 100644
--- a/Changes
+++ b/Changes
@@ -28,7 +28,8 @@ Provided by Anope Dev. <dev@anope.org> - 2006
03/01 F Fixed memleak in do_mass_mode(). [#450]
03/01 F Fixed memleaks in cs_list.c, hs_list.c and ns_list.c. [#447]
03/01 F Fixed memleaks in hs_set.c. [#441]
-03/01 F Fixed missing TS6 functionality in channels.c. [#418]
+04/01 F Fixed missing TS6 functionality in channels.c. [#418]
+04/01 F Fixed possible overflow in process(). [#445]
Provided by nenolod. <nenolod@nenolod.net> - 2006
02/03 A Support for Charybdis IRCd. [ #00]
diff --git a/src/process.c b/src/process.c
index 8bf1ebb9d..bc2876107 100644
--- a/src/process.c
+++ b/src/process.c
@@ -211,7 +211,7 @@ void process()
/* First make a copy of the buffer so we have the original in case we
* crash - in that case, we want to know what we crashed on. */
- strscpy(buf, inbuf, 513);
+ strscpy(buf, inbuf, sizeof(buf));
doCleanBuffer((char *) buf);
diff --git a/version.log b/version.log
index 552aa2c8d..6f5d60078 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="13"
VERSION_EXTRA="-svn"
-VERSION_BUILD="997"
+VERSION_BUILD="998"
# $Log$
#
+# BUILD : 1.7.13 (998)
+# BUGS : 445
+# NOTES : Tixed possible overflow in process()
+#
# BUILD : 1.7.13 (997)
# BUGS : 418
# NOTES : Fixed TS6 stuff in channels.c, thx 2 Trystan.