pull up r18233 from trunk
authorTom Yu <tlyu@mit.edu>
Tue, 27 Jun 2006 02:42:39 +0000 (02:42 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 27 Jun 2006 02:42:39 +0000 (02:42 +0000)
commitb34969467e7d18f2a82cbdf56df555cb0f25d008
tree630ecd36356d46e1fd4b03d71646fd7d0e082393
parent66481bd708f1ec5c5bb394b4412627e806cd799d
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
src/kdc/network.c
src/tests/dejagnu/krb-standalone/standalone.exp