mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[LIBTIRPC] Fix CVE-2018-14622 by backporting its fix
CORE-15005
This commit is contained in:
parent
3dabca398f
commit
000bbe074e
1 changed files with 4 additions and 0 deletions
4
dll/3rdparty/libtirpc/src/svc_vc.c
vendored
4
dll/3rdparty/libtirpc/src/svc_vc.c
vendored
|
@ -340,6 +340,10 @@ again:
|
|||
*/
|
||||
|
||||
newxprt = makefd_xprt(sock, r->sendsize, r->recvsize);
|
||||
#ifdef __REACTOS__ // CVE-2018-14622
|
||||
if (!newxprt)
|
||||
return (FALSE);
|
||||
#endif
|
||||
|
||||
if (!__rpc_set_netbuf(&newxprt->xp_rtaddr, &addr, len))
|
||||
return (FALSE);
|
||||
|
|
Loading…
Reference in a new issue