From 742887059d7a5a3412f216172cfe185a1d9bb694 Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Sun, 6 Oct 2013 13:18:22 +0000 Subject: [PATCH] arcfour: Zero the full size of the 'in' array. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@379 13b04d17-f746-0410-82c6-800466cd88b0 --- dll/arcfour/md5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/arcfour/md5.c b/dll/arcfour/md5.c index a1627eb..e5f0a15 100644 --- a/dll/arcfour/md5.c +++ b/dll/arcfour/md5.c @@ -217,7 +217,7 @@ static void Transform(UINT_32 *buf, UINT_32 *in) buf[2] += c; buf[3] += d; - memset((void *)in, 0, sizeof(in)); + memset(in, 0, 16 * sizeof in[0]); } #if 0