This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] DoS in RPC implementation (CVE-2011-4069)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]