Easy DoS
Xin LI
delphij at gmail.com
Fri Dec 16 10:34:04 PST 2005
Hi,
On 12/16/05, Kostik Belousov <kostikbel at gmail.com> wrote:
> Sure, it is a bug :).
>
> Please, try the following patch (against 7-CURRENT,
> shall work for 6-STABLE too):
>
> --- src-pristine/sys/kern/sys_pipe.c Mon Jul 11 11:33:58 2005
> +++ src-quotas/sys/kern/sys_pipe.c Fri Dec 16 17:03:01 2005
> @@ -1176,6 +1176,8 @@
> ("Pipe buffer overflow"));
> }
> pipeunlock(wpipe);
> + if (error != 0)
> + break;
> } else {
> /*
> * If the "read-side" has been blocked, wake it up now.
Patch looks good so I have committed it as sys/kern/sys_pipe.c,v
1.185. Thanks for the submission!
Cheers,
--
Xin LI <delphij at delphij.net> http://www.delphij.net
More information about the freebsd-current
mailing list