https://bugs.winehq.org/show_bug.cgi?id=54379
--- Comment #13 from Eugene Savelov savelov@gmail.com --- is it just a typo in this patch?
https://gitlab.winehq.org/wine/wine/-/commit/1cf1412a12c6ee6191d387162fecb45...
on line 273, should be
if (output) memcpy( port, output, output_str.Length );
instead of
if (port) memcpy( port, output, output_str.Length );
as in memcpy first argument (port) is destination, so it makes no sense in checking it for not-NULL, instead need to check second argument (output), which is the source