mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[LIBTIRPC] Fix CVE-2018-14621 by backporting its fix
CORE-15407
This commit is contained in:
parent
4692f5f1cc
commit
f5f3ff86ea
1 changed files with 2 additions and 0 deletions
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);
|
||||
}
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue