Subject: CVS commit: src/sys/dev/scsipi
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 11/01/2005 15:40:00
Module Name:	src
Committed By:	bouyer
Date:		Tue Nov  1 15:40:00 UTC 2005

Modified Files:
	src/sys/dev/scsipi: scsipi_ioctl.c

Log Message:
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.53 -r1.54 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.