Subject: CVS commit: src/sys/arch/acorn32/podulebus
To: None <source-changes@NetBSD.org>
From: Ben Harris <bjh21@netbsd.org>
List: source-changes
Date: 10/09/2006 21:12:44
Module Name:	src
Committed By:	bjh21
Date:		Mon Oct  9 21:12:44 UTC 2006

Modified Files:
	src/sys/arch/acorn32/podulebus: icside.c rapide.c

Log Message:
The correct number of elements to insert into cmd_iohs is WDC_NREG.  Using
larger numbers risks a buffer overflow and panic.  Bug spotted by Mike Pumford.
Patch compile-tested only, but it's obviously correct.


To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 src/sys/arch/acorn32/podulebus/icside.c
cvs rdiff -r1.24 -r1.25 src/sys/arch/acorn32/podulebus/rapide.c

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