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