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] [BZ 17542] sunrpc: conditional jump depends on uninitialised value in svc_getreq_common


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;
...

Siddhesh

Attachment: pgpw2pUOBu89m.pgp
Description: PGP signature


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