Subject: CVS commit: [netbsd-1-6] src/sys/dev/scsipi
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 11/03/2005 20:06:08
Module Name:	src
Committed By:	riz
Date:		Thu Nov  3 20:06:08 UTC 2005

Modified Files:
	src/sys/dev/scsipi [netbsd-1-6]: scsipi_ioctl.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #5929):
	sys/dev/scsipi/scsipi_ioctl.c: revision 1.54
Don't claim there is a data in or out phase if the datalen is 0 (userland
shouldn't claim it either, but a buggy software shouldn't be able to crash
the kernel anyway). Should fix port-sparc64/31925 by Johan A.van Zanten
(which should really be kern/31925).
Analysed and patch tested by Martin Husemann.


To generate a diff of this commit:
cvs rdiff -r1.43 -r1.43.10.1 src/sys/dev/scsipi/scsipi_ioctl.c

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