https://bugs.winehq.org/show_bug.cgi?id=55487
--- Comment #3 from Hans Leidekker hans@meelstraat.net --- Thanks for the detailed bug report. The fix you proposed looks good, would you mind creating a merge request at https://gitlab.winehq.org? Note that pcap_loop() will need the same treatment.