Subject: CVS commit: src/sys/opencrypto
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 04/02/2006 18:29:13
Module Name: src
Committed By: dsl
Date: Sun Apr 2 18:29:13 UTC 2006
Modified Files:
src/sys/opencrypto: cryptosoft.c
Log Message:
malloc data the size the pointer points to, not the size of a pointer.
Maybe we get away with this (at least on 32bit archs) because the structure
is 24 bytes and I bet the minimum allocation size is 32.
Fixed coverty CIDs 2732 and 2733
To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/opencrypto/cryptosoft.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.