mirror of
https://github.com/reactos/reactos.git
synced 2025-06-25 21:09:43 +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);
|
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))
|
if (!__rpc_set_netbuf(&newxprt->xp_rtaddr, &addr, len))
|
||||||
return (FALSE);
|
return (FALSE);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue