rpc: Uninitialized pointer read

Initialize *xprt to avoid exposing a random value
in cleanup_svc_vc_create.
This is the kernel counterpart of r278041.

CID:		1007340
This commit is contained in:
Pedro F. Giffuni 2015-02-02 16:07:07 +00:00
parent 4b0e5c9ef4
commit 84a9ba84bb

View File

@ -143,7 +143,7 @@ SVCXPRT *
svc_vc_create(SVCPOOL *pool, struct socket *so, size_t sendsize,
size_t recvsize)
{
SVCXPRT *xprt;
SVCXPRT *xprt = NULL;
struct sockaddr* sa;
int error;