https://bugs.winehq.org/show_bug.cgi?id=46407
--- Comment #1 from Dmitry Timoshkov dmitry@baikal.ru --- Created attachment 63170 --> https://bugs.winehq.org/attachment.cgi?id=63170 patch
Attached patch fixes the crash. It still would be nice to have a test case.