Date: Wed, 13 Oct 2004 16:27:27 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/msdosfs msdosfs_fat.c Message-ID: <200410131627.i9DGRRas017543@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2004-10-13 16:27:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/fs/msdosfs msdosfs_fat.c Log: MFC revision 1.36 date: 2004/09/08 10:57:09; author: tjr; state: Exp; lines: +5 -0 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. Approved by: re (scottl) Approved by: murray (mentor) Revision Changes Path 1.35.2.1 +5 -0 src/sys/fs/msdosfs/msdosfs_fat.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410131627.i9DGRRas017543>