Date: Thu, 1 Aug 1996 23:10:51 -0700 (PDT) From: Peter Wemm <peter> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/scsi od.c sd.c Message-ID: <199608020610.XAA22065@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608020610.XAA22065>