Subject: CVS commit: src/sys/dev
To: None <source-changes@NetBSD.org>
From: Christian Biere <cbiere@netbsd.org>
List: source-changes
Date: 01/19/2007 18:59:59
Module Name:	src
Committed By:	cbiere
Date:		Fri Jan 19 18:59:59 UTC 2007

Modified Files:
	src/sys/dev: cgd.c

Log Message:
cgd_ioctl_set():
  * Corrected type of keybytes to size_t to prevent a potential buffer
    overflow on 64-bit archs.
  * Fixed incorrect but harmless use of sizeof.
hexprint():
  * Corrected cast to prevent sign extension if char is signed.


To generate a diff of this commit:
cvs rdiff -r1.42 -r1.43 src/sys/dev/cgd.c

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