From owner-cvs-sys Thu Aug 1 23:12:21 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA22134 for cvs-sys-outgoing; Thu, 1 Aug 1996 23:12:21 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA22065; Thu, 1 Aug 1996 23:10:51 -0700 (PDT) Date: Thu, 1 Aug 1996 23:10:51 -0700 (PDT) From: Peter Wemm Message-Id: <199608020610.XAA22065@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/scsi od.c sd.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/08/01 23:10:51 Modified: sys/scsi od.c sd.c Log: The sd and od drivers didn't check for negative block numbers (like wd.c does) before calling dscheck(). dscheck() doesn't appreciate this and calls Debugger() and returns without setting bp->b_error. This can happen when there is a casting error and offsets > 2G are converted to negative off_t's in the disk tools. (dumpfs used to do this). Revision Changes Path 1.20 +3 -3 src/sys/scsi/od.c 1.92 +3 -3 src/sys/scsi/sd.c