[krbdev.mit.edu #7508] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Jun 26 14:06:38 EDT 2013


Fix spin loop reading from KDC TCP socket

In the k5_sendto code for reading from a TCP socket, detect
end-of-stream when reading the length.  Otherwise we can get stuck in
an infinite loop of poll() and read().

[ghudson at mit.edu: commit message]

https://github.com/krb5/krb5/commit/53e5c850e05f011e9e7f25c2032aec51d8b352a9
Author: Viktor Dukhovni <viktor at twosigma.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 53e5c850e05f011e9e7f25c2032aec51d8b352a9
Branch: master
 src/lib/krb5/os/sendto_kdc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)



More information about the krb5-bugs mailing list