14ff4ec24c
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
24 lines
513 B
C
24 lines
513 B
C
=== 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;
|
|
}
|
|
|
|
/*
|