https://bugs.winehq.org/show_bug.cgi?id=45397
Bug ID: 45397 Summary: WSAStringToAddressA recognizes "255.255.255" as a valid IP Product: Wine Version: 3.10 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winsock Assignee: wine-bugs@winehq.org Reporter: ansasaki@redhat.com Distribution: ---
Created attachment 61709 --> https://bugs.winehq.org/attachment.cgi?id=61709 Reproducer
When WSAStringToAddressA is called passing "255.255.255" as the input string to be converted, it is successful and returns zero.
Running on Windows instead of wine, it returns an error code, as expected.
This was tested using version wine-3.10 (Staging), packaged on Fedora.
Follows attached a reproducer.