init_dmo_media_type_video uses head + extra bytes memory,
and with MEDIASUBTYPE_RGB8 the extra bytes are already 1024.
This leads to stack corruption.
Note that not all of those are strictly necessary to prevent a crash, but I think it's safer in case it becomes relevant in the future.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4112
On Tue Oct 17 05:34:53 2023 +0000, Nikolay Sivov wrote:
> We have a number of debugstr_an(..., 4) used for the same purpose in
> different modules. It will give different output if replaced with fourcc
> helper, because of isprint(), but still might be worth considering.
Thanks for pointing that out. I've started to send merge requests to clean those up.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3994#note_48952
It is really nice to be able to double-click batch files and have them run in an interactive console window, just like on Windows.
If this patch doesn't work for you, you may need a newer version of the shared-mime-info package.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4114