freebsd-nq/sys/gnu
Bruce Evans 96cae770d3 Fixed some serious bugs in ext2_readdir():
The cookie buffer was usually overrun by a large amount whenever
cookies were used.  Cookies are used by nfs and the Linuxulator, so
this bug usually caused panics whenever an ext2fs filesystem was nfs
mounted or a Linux utility that calls readdir() was run on an ext2fs
filesystem.

The directory buffer was sometimes overrun by a small amount.  This
sometimes caused panics and wrong results even for FreeBSD utilities,
but it was usually harmless because FreeBSD utilities use a large
enough buffer size (4K).  Linux utilities usually triggered the bug
since they use a too-small buffer size (512 bytes), at least with the
old RedHat utilities that I tested with.

PR:	19407 (this fix is incomplete or for a slightly different bug)
2000-09-12 17:10:39 +00:00
..
dev/sound/pci sync CCR register definitions with creative sources 2000-08-06 20:58:11 +00:00
ext2fs Fixed some serious bugs in ext2_readdir(): 2000-09-12 17:10:39 +00:00
fs/ext2fs Fixed some serious bugs in ext2_readdir(): 2000-09-12 17:10:39 +00:00
i386 The change to do a longword compare in the previous commit just broke an 2000-06-03 11:09:09 +00:00