Subject: CVS commit: [netbsd-2] src/sys/dev/scsipi
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 11/03/2005 20:24:25
Module Name: src
Committed By: riz
Date: Thu Nov 3 20:24:25 UTC 2005
Modified Files:
src/sys/dev/scsipi [netbsd-2]: scsipi_ioctl.c
Log Message:
Pull up following revision(s) (requested by bouyer in ticket #5961):
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.46.4.1 -r1.46.4.1.2.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.