mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[LIBTIRPC] Fix CVE-2018-14621 by backporting its fix
CORE-15407
This commit is contained in:
2
dll/3rdparty/libtirpc/src/svc_vc.c
vendored
2
dll/3rdparty/libtirpc/src/svc_vc.c
vendored
@@ -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);
|
||||
}
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user