pull up r18233 from trunk
r18233@cathode-dark-space: raeburn | 2006-06-26 19:47:03 -0400
ticket: 3923
tags: pullup
* kdc/network.c (make_toolong_error): New function.
(process_tcp_connection): If the specified length exceeds the internal limit,
stop reading and send back a FIELD_TOOLONG error.
* tests/dejagnu/krb-standalone/standalone.exp (doit): When testing TCP mode,
connect to the KDC and send a length of -1, and check that it sends back a
non-empty message.
ticket: 3923
version_fixed: 1.5
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-5@18236
dc483132-0cff-0310-8789-
dd5450dbe970