Date: Sun, 14 Jun 1998 01:46:45 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/miscfs/fdesc fdesc_vnops.c Message-ID: <199806140846.BAA09672@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1998/06/14 01:46:44 PDT
Modified files:
sys/miscfs/fdesc fdesc_vnops.c
Log:
Avoid a 64-bit division in fdesc_readdir(). Fixed related overflows
and missing arg checking.
Panic instead of returning bogus error codes or forgetting to check
all cases if fdesc_readdir() gets called for a non-directory. This
can't happen.
Revision Changes Path
1.38 +15 -28 src/sys/miscfs/fdesc/fdesc_vnops.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806140846.BAA09672>
