[PATCH] [BZ 17542] sunrpc: conditional jump depends on uninitialised value in svc_getreq_common

Siddhesh Poyarekar siddhesh@redhat.com
Mon Mar 2 09:13:00 GMT 2015


On Wed, Dec 10, 2014 at 02:06:45PM +0530, Siddhesh Poyarekar wrote:
> On Wed, Dec 10, 2014 at 09:26:26AM +0100, Andreas Schwab wrote:
> > We should first understand what is the real bug.
> 
> The real bug is in the calling application, which calls svc_getreq on
> a file descriptor that it did not register.  We're patching this in
> sunrpc so that the check in svc_getreq_common below that was supposed
> to catch such conditions actually works.
> 
> ...
>   xprt = xports[fd];
>   /* Do we control fd? */
>   if (xprt == NULL)
>      return;
> ...

Andreas, is this OK or are you still not convinced about adding this
patch in?

Siddhesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150302/30d59640/attachment.sig>


More information about the Libc-alpha mailing list