From b90dfa435af6afa7fc21a59a6d37a2d537a9ad43 Mon Sep 17 00:00:00 2001 From: "certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Thu, 2 Mar 2006 08:40:41 +0000 Subject: # 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 --- Changes | 3 ++- src/process.c | 2 +- version.log | 6 +++++- 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. - 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. - 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. -- cgit