summaryrefslogtreecommitdiffstats
path: root/src/lib/gssapi/gss_libinit.c
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2014-07-02 16:13:23 -0400
committerTom Yu <tlyu@mit.edu>2014-07-02 17:04:37 -0400
commit158a551b14b017d232066c4a053dc608d87fa172 (patch)
treed946d4f56bf33b0a1cbd317fe54a42669e840802 /src/lib/gssapi/gss_libinit.c
parent4bd50f73c80a86852ec0879abdf52202be40892b (diff)
downloadkrb5-158a551b14b017d232066c4a053dc608d87fa172.tar.gz
krb5-158a551b14b017d232066c4a053dc608d87fa172.tar.xz
krb5-158a551b14b017d232066c4a053dc608d87fa172.zip
Fix bugs in bindresvport_sa() changes
In svctcp_create() and svcudp_bufcreate(), set sa->sa_len on platforms where that field exists, so that a subsequent call to socklen() will return the correct result. To make the code more self-evidently correct, zero the entire struct sockaddr_storage object, using the memset(&ss, 0, sizeof(ss)) idiom. ticket: 7935
Diffstat (limited to 'src/lib/gssapi/gss_libinit.c')
0 files changed, 0 insertions, 0 deletions