[krbdev.mit.edu #8197] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Jun 3 18:59:37 EDT 2015


Fix bindresvport_sa port byte swap bug

The sa_setport() helper handles conversion to network byte order, so
bindresvport_sa() should not itself call htons() on the port argument.

(This bug was introduced in commit
0d04b60d159ab83b943e43802b1449a3b074bc83 when adding
bindresvport_sa().  It was my fault, not Andreas Schneider's.)

https://github.com/krb5/krb5/commit/5c6d218e385755766ff427b3e707510f0ce175c5
Author: Greg Hudson <ghudson at mit.edu>
Commit: 5c6d218e385755766ff427b3e707510f0ce175c5
Branch: master
 src/lib/rpc/bindresvport.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)



More information about the krb5-bugs mailing list