summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_trap.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-09-12 17:10:39 +0000
committerbde <bde@FreeBSD.org>2000-09-12 17:10:39 +0000
commitf16595f63d83acc00c80c72b954cbcc3197241b4 (patch)
treee5e802bfb6c2a95d69a264afe2d18e3ad3647232 /sys/kern/subr_trap.c
parent8437d5b6f497e851fd3d65553c3af50667ccfbd4 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud