This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] DoS in RPC implementation (CVE-2011-4069)
- From: David Miller <davem at davemloft dot net>
- To: law at redhat dot com
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 21 Nov 2012 16:48:44 -0500 (EST)
- Subject: Re: [PATCH] DoS in RPC implementation (CVE-2011-4069)
- References: <50AD2EF0.1040601@redhat.com>
From: Jeff Law <law@redhat.com>
Date: Wed, 21 Nov 2012 12:43:44 -0700
> +2012-11-21 Jeff Law <law@redhat.com>
> + Martin Osvald <mosvald@redhat.com>
> +
> + * sunrpc/Versions (__svc_accept_failed): Mark as GLIBC_PRIVATE.
> + * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
> + * sunrpc/svc.c: Include time.h.
> + (__svc_accept_failed): New function.
> + * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
> + any reason other than EINTR, call __svc_accept_failed.
> + * sunrpc/svc_udp.c (svcudp_recv): Similarly.
> + * sunrpc/svc_unix.c (rendezvous_request): Similarly.
> +
FWIW this patch looks fine to me.