https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f5f3ff86eafd51bd34665…
commit f5f3ff86eafd51bd34665fdfed892a7fc3785879
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sat Dec 1 12:15:31 2018 +0100
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Sat Dec 1 12:16:41 2018 +0100
[LIBTIRPC] Fix CVE-2018-14621 by backporting its fix
CORE-15407
---
dll/3rdparty/libtirpc/src/svc_vc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dll/3rdparty/libtirpc/src/svc_vc.c b/dll/3rdparty/libtirpc/src/svc_vc.c
index 2ccbe0e340..47757fe0ab 100644
--- a/dll/3rdparty/libtirpc/src/svc_vc.c
+++ b/dll/3rdparty/libtirpc/src/svc_vc.c
@@ -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);
}
/*