[Bug 32643] New: getsockopt() does not indicate WSAEFAULT when setting optlen too small

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jan 3 13:36:13 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=32643

             Bug #: 32643
           Summary: getsockopt() does not indicate WSAEFAULT when setting
                    optlen too small
           Product: Wine
           Version: 1.5.20
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P2
         Component: winsock
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: alexander255 at lavabit.com
    Classification: Unclassified


Using the attached WSA code will cause an error on Windows but NOT on WINE.
If you change "optlen" value to at least 4, the example the code will run
smoothly on both platforms.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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