[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	krw_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2005/08/28 18:41:44

Modified files:
	sys/scsi       : scsi_base.c 

Log message:
If a buffer larger than the max allowed is offered to scsi_mode_sense()
or scsi_mode_sense_big(), use as much of it as is allowed. Don't justi
mask off the higher bits and possibly leave yourself with 0 space.

Fixes problem aoyama@ found on luna88k tape drive.

ok deraadt_(_at_)__(_dot_)_