]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix bindresvport_sa port byte swap bug 282/head
authorGreg Hudson <ghudson@mit.edu>
Tue, 19 May 2015 14:38:51 +0000 (10:38 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 3 Jun 2015 22:50:59 +0000 (18:50 -0400)
commit5c6d218e385755766ff427b3e707510f0ce175c5
treee7d1ca5e3982338095e93349e440a2356ddbdad2
parent4b6045adb7a044cd7ddc3987da2f26bf8a5281fe
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.)

ticket: 8197 (new)
target_version: 1.13.3
tags: pullup
src/lib/rpc/bindresvport.c