1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys/gnu/ext2fs
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
..
COPYRIGHT.INFO
ext2_alloc.c
ext2_balloc.c
ext2_bmap.c This patch corrects the first round of panics and hangs reported 2000-07-24 05:28:33 +00:00
ext2_extern.h
ext2_fs_sb.h
ext2_fs.h
ext2_ihash.c
ext2_inode_cnv.c
ext2_inode.c Fix typo (accessable --> accessible). 2000-06-14 17:53:40 +00:00
ext2_linux_balloc.c
ext2_linux_ialloc.c
ext2_lookup.c Fixed some serious bugs in ext2_readdir(): 2000-09-12 17:10:39 +00:00
ext2_mount.h
ext2_readwrite.c
ext2_subr.c
ext2_vfsops.c
ext2_vnops.c
fs.h
i386-bitops.h
inode.h Add snapshots to the fast filesystem. Most of the changes support 2000-07-11 22:07:57 +00:00