Date: Mon, 23 Aug 2010 05:33:31 +0000 (UTC) From: Brian Somers <brian@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern vfs_default.c Message-ID: <201008230533.o7N5Xqx5046516@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 2010-08-23 05:33:31 UTC FreeBSD src repository Modified files: sys/kern vfs_default.c Log: SVN rev 211684 on 2010-08-23 05:33:31Z by brian uio_resid isn't updated by VOP_READDIR for nfs filesystems. Use the uio_offset adjustment instead to calculate a correct *len. Without this change, we run off the end of the directory data we're reading and panic horribly for nfs filesystems. MFC after: 1 week Revision Changes Path 1.161 +2 -3 src/sys/kern/vfs_default.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008230533.o7N5Xqx5046516>