diff options
author | Cy Schubert <cy@FreeBSD.org> | 2008-03-19 19:26:53 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2008-03-19 19:26:53 +0000 |
commit | 14ff4ec24cf8ca0a73ab4cc8b4c533a8a56f4e03 (patch) | |
tree | 7ce28225a2c4e61b94488e687669ed737a00901b /security/krb5-16/files/patch-lib-rpc-svc.c | |
parent | - Use USE_GL instead of depending directly on glut (diff) |
Fixes for multiple vulnerabilities.
Security: US-CERT Technical Cyber Security Alert TA08-079B --
MIT Kerberos Updates for Multiple Vulnerabilities
US-CERT Vulnerability Note VU#895609,
US-CERT Vulnerability Note VU#374121
MIT krb5 Security Advisory 2008-001
MIT krb5 Security Advisory 2008-002
Notes
Notes:
svn path=/head/; revision=209396
Diffstat (limited to 'security/krb5-16/files/patch-lib-rpc-svc.c')
-rw-r--r-- | security/krb5-16/files/patch-lib-rpc-svc.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/security/krb5-16/files/patch-lib-rpc-svc.c b/security/krb5-16/files/patch-lib-rpc-svc.c new file mode 100644 index 000000000000..395039040b04 --- /dev/null +++ b/security/krb5-16/files/patch-lib-rpc-svc.c @@ -0,0 +1,24 @@ +=== lib/rpc/svc.c +================================================================== +--- lib/rpc/svc.c (revision 1666) ++++ lib/rpc/svc.c (local) +@@ -109,15 +109,17 @@ + if (sock < FD_SETSIZE) { + xports[sock] = xprt; + FD_SET(sock, &svc_fdset); ++ if (sock > svc_maxfd) ++ svc_maxfd = sock; + } + #else + if (sock < NOFILE) { + xports[sock] = xprt; + svc_fds |= (1 << sock); ++ if (sock > svc_maxfd) ++ svc_maxfd = sock; + } + #endif /* def FD_SETSIZE */ +- if (sock > svc_maxfd) +- svc_maxfd = sock; + } + + /* |