Subject: CVS commit: src/sys/fs/msdosfs
To: None <source-changes@NetBSD.org>
From: Allen Briggs <briggs@netbsd.org>
List: source-changes
Date: 10/22/2003 03:51:12
Module Name:	src
Committed By:	briggs
Date:		Wed Oct 22 03:51:12 UTC 2003

Modified Files:
	src/sys/fs/msdosfs: msdosfs_fat.c

Log Message:
Fix a panic that occurred when trying to traverse a corrupt msdosfs
filesystem.  With this particular corruption, the code in pcbmap()
would compute an offset into an array that was way out of bounds,
so check the bounds before trying to access and return an error if
the offset would be out of bounds.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/sys/fs/msdosfs/msdosfs_fat.c

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