[Bug 45397] WSAStringToAddressA recognizes "255.255.255" as a valid IP
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Aug 22 10:49:09 CDT 2018
https://bugs.winehq.org/show_bug.cgi?id=45397
Andreas Schneider <asn at cryptomilk.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |asn at cryptomilk.org
--- Comment #6 from Andreas Schneider <asn at cryptomilk.org> ---
(In reply to Thomas Faller from comment #1)
> This is because wine uses "inet_aton" to parse the ip.
> "inet_aton" acceepts this address because of specific parsing rules.
> The rules can be found here: https://linux.die.net/man/3/inet_aton
libssh uses inet_pton() on Unix platforms which works correctly!
rc = inet_pton(AF_INET, str, &dest);
Maybe it is a good idea to switch if inet_aton() doesn't work correctly.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list