apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject apr_gethostbyname incorrectly uses htons to convert port number
Date Fri, 02 May 2008 18:09:31 GMT
Chris Taylor seems to have identified a significant bug here, but some
effort at comparing different OS's man pages is probably worthwhile before
we accept the patch on it's face;


Would someone on a non-traditional, inverted machine and network byte order
machine care to validate his findings and commit?

[granted, it's not truly a 'patch' but a one line change he documented
clearly enough ;-]


View raw message