Subject: CVS commit: [netbsd-3] src/sys/dev/scsipi
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 11/03/2005 10:31:08
Module Name:	src
Committed By:	tron
Date:		Thu Nov  3 10:31:08 UTC 2005

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

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #928):
	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.52 -r1.52.4.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.