error in socket number range check in kdc
authorKen Raeburn <raeburn@mit.edu>
Tue, 5 Aug 2008 22:15:34 +0000 (22:15 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 5 Aug 2008 22:15:34 +0000 (22:15 +0000)
commit1e16ad43bbee9103821669626ce898b532956773
tree2f4dd99428ff37aaf341ef6632d98505362c22cd
parent6c245c6847430c6b00ac45860e0d05e3067c67c7
error in socket number range check in kdc

Fix off-by-one error in checking that socket file descriptor numbers
are in range suitable for an fd_set.  Also, don't do the check if we
should someday happen to get compiled on Windows.

ticket: new
target_version: 1.6.4
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20606 dc483132-0cff-0310-8789-dd5450dbe970
src/kdc/network.c