diff options
author | bde <bde@FreeBSD.org> | 2000-09-12 17:10:39 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2000-09-12 17:10:39 +0000 |
commit | f16595f63d83acc00c80c72b954cbcc3197241b4 (patch) | |
tree | e5e802bfb6c2a95d69a264afe2d18e3ad3647232 /sys/kern/subr_trap.c | |
parent | 8437d5b6f497e851fd3d65553c3af50667ccfbd4 (diff) | |
download | FreeBSD-src-f16595f63d83acc00c80c72b954cbcc3197241b4.zip FreeBSD-src-f16595f63d83acc00c80c72b954cbcc3197241b4.tar.gz |
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)
Diffstat (limited to 'sys/kern/subr_trap.c')
0 files changed, 0 insertions, 0 deletions