Eliminate union in net-server.c struct connection
authorGreg Hudson <ghudson@mit.edu>
Sat, 24 Sep 2011 15:01:02 +0000 (15:01 +0000)
committerGreg Hudson <ghudson@mit.edu>
Sat, 24 Sep 2011 15:01:02 +0000 (15:01 +0000)
commit9dc5f8039c52e83a593baf72eb31ba3bae713d7d
treebad98348630abb3c2ece003bfbb4bd85ec0dbf0c
parent998417af98c4690765d533136cf484fd1ce96777
Eliminate union in net-server.c struct connection

Several of the u.tcp fields were also used for RPC connections.  The
overlap between u.tcp.addr_s and u.rpc.closed could confuse
free_socket() into causing a null pointer dereference inside
svc_getreqset().

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25231 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/apputils/net-server.c