Date: Wed, 5 Jun 2002 17:35:07 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_diskslice.c Message-ID: <200206060035.g560ZIh98958@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 2002/06/05 17:35:07 PDT Modified files: sys/kern subr_diskslice.c Log: Fixed overflow in the bounds checking in dscheck(). It assumed that daadr_t is no larger than a long, and some other relatively harmless things (*blush*). Overflow for subtracting a daddr_t from a u_long caused "truncation" of the i/o for attempts to access blocks beyond the end of the actually cause expansion of the i/o to a preposterous size. Revision Changes Path 1.104 +4 -4 src/sys/kern/subr_diskslice.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206060035.g560ZIh98958>