* 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. Commit By: raeburn Revision: 18233 Changed Files: U trunk/src/kdc/network.c U trunk/src/tests/dejagnu/krb-standalone/standalone.exp