https://bugs.winehq.org/show_bug.cgi?id=37669
--- Comment #7 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Dmitry Timoshkov from comment #6)
There is no need for an exception handler, it works just fine without it. Regarding memory allocation: there are many other places in Wine that create intermediate buffers with the caller specified sizes.
No, you'll need at least an SEH exception handler. On Windows its "valid" to release the memory while the async call is still pending or pass an invalid pointer to the winsock functions.