diff options
-rw-r--r-- | Changes | 3 | ||||
-rw-r--r-- | src/process.c | 2 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 8 insertions, 3 deletions
@@ -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. |