mirror of
https://github.com/opnsense/src.git
synced 2026-04-25 16:18:54 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue