https://bugs.winehq.org/show_bug.cgi?id=19241
--- Comment #16 from Indrek efbiaiinzinz@hotmail.com --- It was pointed out to me that the PNG bytes were actually correctly handled in windowscodecs, so only resource size check was needed. I resent the smaller patch https://source.winehq.org/patches/data/106261 After patching the crash is gone for me.