Subject: CVS commit: src/sys/opencrypto
To: None <source-changes@NetBSD.org>
From: Jonathan Stone <jonathan@netbsd.org>
List: source-changes
Date: 11/18/2003 23:01:39
Module Name:	src
Committed By:	jonathan
Date:		Tue Nov 18 23:01:39 UTC 2003

Modified Files:
	src/sys/opencrypto: xform.c

Log Message:
Remove erroneous '2 *' from 'bzero(*sched, 2 * sizeof(rijndael_ctx));'
After using AES from sys/crypto, we only malloc sizeof(rijndael_ctx),
and we were bzero()ing past the end of the aes ctx, leading to panics.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/opencrypto/xform.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.