rpc: Uninitialized pointer read
Initialize *xprt to avoid exposing a random value in cleanup_svc_vc_create. CID: 1018723 Phabric: D1749 Reviewed by: alfred
This commit is contained in:
parent
370a13bfff
commit
e742fdff32
@ -128,7 +128,7 @@ svc_vc_create(fd, sendsize, recvsize)
|
||||
u_int sendsize;
|
||||
u_int recvsize;
|
||||
{
|
||||
SVCXPRT *xprt;
|
||||
SVCXPRT *xprt = NULL;
|
||||
struct cf_rendezvous *r = NULL;
|
||||
struct __rpc_sockinfo si;
|
||||
struct sockaddr_storage sslocal;
|
||||
|
Loading…
Reference in New Issue
Block a user