Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 04/22/2000 15:45:41
Module Name:	syssrc
Committed By:	jdolecek
Date:		Sat Apr 22 22:45:41 UTC 2000

Modified Files:
	syssrc/sys/msdosfs: msdosfs_vnops.c

Log Message:
msdosfs_read(): avoid integer overflow for files > 2GB,  when
	difference between current read position and file size
	is bigger than 2GB

This fixes problem first noted in FreeBSD PR#15639 and sent
by Martin J. Laubach in kern/9046, though the implementation
differs a bit.


To generate a diff of this commit:
cvs rdiff -r1.95 -r1.96 syssrc/sys/msdosfs/msdosfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.