[krbdev.mit.edu #7508] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Mon Jul 1 15:55:51 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]

(back ported from commit 53e5c850e05f011e9e7f25c2032aec51d8b352a9)

https://github.com/krb5/krb5/commit/a68c4fb6c498d2507a060db1deb44e0a5a42cd31
Author: Tom Yu <tlyu at mit.edu>
Commit: a68c4fb6c498d2507a060db1deb44e0a5a42cd31
Branch: krb5-1.11
 src/lib/krb5/os/sendto_kdc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)



More information about the krb5-bugs mailing list