[krbdev.mit.edu #7935] git commit
Greg Hudson via RT
rt-comment at krbdev.mit.edu
Fri Jun 27 22:37:19 EDT 2014
Use binresvport_sa when creating RPC handles
Make clnttcp_create, clntudp_bufcreate, svctcp_create, and
svcudp_bufcreate work with unbound IPv6 sockets using bindresvport_sa
and other socket helpers. For caller-supplied sockets, call
getsockname to determine the address family we should attempt to bind.
[ghudson at mit.edu: clarified commit message, minimized code changes,
used socket-utils.h helpers, fixed fallback find on bindresvport
failure, restored getsockaddr call to get port after binding]
https://github.com/krb5/krb5/commit/b272744422dea77fdf9518a20386660df7a97bf7
Author: Andreas Schneider <asn at samba.org>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: b272744422dea77fdf9518a20386660df7a97bf7
Branch: master
src/lib/rpc/clnt_tcp.c | 2 +-
src/lib/rpc/clnt_udp.c | 2 +-
src/lib/rpc/svc_tcp.c | 31 ++++++++++++++++++-------------
src/lib/rpc/svc_udp.c | 31 +++++++++++++++++++------------
4 files changed, 39 insertions(+), 27 deletions(-)
More information about the krb5-bugs
mailing list