[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Kenneth R Westerback <krw_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Sat, 14 Jun 2008 18:36:41 -0600 (MDT)
CVSROOT: /cvs
Module name: src
Changes by: krw_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2008/06/14 18:36:41
Modified files:
sys/arch/sparc/dev: presto.c
sys/dev : ccd.c flash.c ramdisk.c
sys/dev/ata : wd.c
sys/dev/isa : mcd.c
sys/dev/raidframe: rf_openbsdkintf.c
sys/scsi : cd.c sd.c
Log message:
Don't bypass partition bounds check for RAW_PART. We now guarantee that
RAW_PART will always be 0 -> disksize, so the bounds check will always
pass for i/o's to valid addresses. Now the i/o will be properly truncated
if it goes past the end of the device. This prevents various adverse
impacts of issuing i/o's for data past the end of the device.
Repeatedly requested by todd_(_at_)__(_dot_)_
ok weingart@ deraadt@
Visit your host, monkey.org