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 --- src/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit