Re: Alloc Error Handling in lib/libc/rpc/svc.c

2012-04-28 Thread Konstantin Belousov
On Fri, Apr 27, 2012 at 05:48:06PM -0400, Matt Miller wrote: In an OOM condition, we noticed a couple of mem_alloc handling bugs in this file. Please let me know if a PR should be opened for these. - No NULL checks after mem_alloc()'s: SVCXPRT * svc_xprt_alloc() { SVCXPRT *xprt;

Alloc Error Handling in lib/libc/rpc/svc.c

2012-04-27 Thread Matt Miller
In an OOM condition, we noticed a couple of mem_alloc handling bugs in this file. Please let me know if a PR should be opened for these. - No NULL checks after mem_alloc()'s: SVCXPRT * svc_xprt_alloc() { SVCXPRT *xprt; SVCXPRT_EXT *ext; xprt =