cvs commit: src/sys/fs/msdosfs msdosfs_fat.c
Tim J. Robbins
tjr at FreeBSD.org
Wed Sep 8 03:57:09 PDT 2004
tjr 2004-09-08 10:57:09 UTC
FreeBSD src repository
Modified files:
sys/fs/msdosfs msdosfs_fat.c
Log:
Merge from NetBSD:
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.
Submitted by: Xin LI
Revision Changes Path
1.36 +5 -0 src/sys/fs/msdosfs/msdosfs_fat.c
More information about the cvs-src
mailing list