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

CORE-15407
This commit is contained in:
Pierre Schweitzer 2018-12-01 12:15:31 +01:00
parent 4692f5f1cc
commit f5f3ff86ea
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -324,6 +324,7 @@ again:
&len)) == SOCKET_ERROR) {
if (errno == EINTR)
goto again;
#ifndef __REACTOS__ // CVE-2018-14621
/*
* Clean out the most idle file descriptor when we're
* running out.
@ -333,6 +334,7 @@ again:
__svc_clean_idle(&cleanfds, 0, FALSE);
goto again;
}
#endif
return (FALSE);
}
/*