Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Frank van der Linden <fvdl@netbsd.org>
List: source-changes
Date: 02/08/2005 08:58:20
Module Name: src
Committed By: fvdl
Date: Tue Feb 8 08:58:19 UTC 2005
Modified Files:
src/sys/kern: subr_disk.c subr_disk_mbr.c
Log Message:
Change the 'sz' variable in bounds_check_* to int64_t to avoid overflows
when a very large blocknumber is passed in.
To generate a diff of this commit:
cvs rdiff -r1.66 -r1.67 src/sys/kern/subr_disk.c
cvs rdiff -r1.4 -r1.5 src/sys/kern/subr_disk_mbr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.