[LIBTIRPC] Fix CVE-2018-14622 by backporting its fix

CORE-15005
This commit is contained in:
Pierre Schweitzer 2018-09-05 21:44:47 +02:00
parent 3dabca398f
commit 000bbe074e
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -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);