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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user