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:
parent
4b0e5c9ef4
commit
84a9ba84bb
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user