Date: Sun, 14 May 2000 21:22:03 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: freebsd-hackers@freefall.freebsd.org Subject: Re: PR kern/18346 - struct file ref count is a short, can be overflowed Message-ID: <1175.958332123@critter.freebsd.dk> In-Reply-To: Your message of "Sun, 14 May 2000 12:12:33 PDT." <200005141912.MAA07098@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <200005141912.MAA07098@apollo.backplane.com>, Matthew Dillon writes: > PR kern/18346 > > I would like to bump struct file f_count and f_msgcount from > a short to an int, in both 5.x and 4.x, because the program > supplied with the PR can demonstratably crash the machine from > userland and cause other serious problems, such as file descriptor > stealing (what happens when you roll the ref count to 0?). Any > objections? Agreed. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD coreteam member | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1175.958332123>