https://bugs.winehq.org/show_bug.cgi?id=7425
--- Comment #34 from Marc Bessières marc.bessieres@gmail.com --- Created attachment 51578 --> https://bugs.winehq.org/attachment.cgi?id=51578 similar patch as Bruno but bigger
Thank you Bruno for the fix. I'm glad you found the issue obvious as it wasn't for me :-)
Thanks Béla for the testing, as you I can confirm that this fixes the crash.
When I wanted to make the change of your patch manually I found out that the exact same function exists in 3 places. So shouldn't they all be corrected? See attachment for such a patch.
Cheers, Marc