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
Goes atop MR 388 and 401. The last five commits belong to this MR.
--
v2: vkd3d-shader/dxil: Implement the DXIL EXTRACTVAL instruction.
vkd3d-shader/spirv: Support scalar swizzle of vector SSA registers.
vkd3d-shader/dxil: Implement DX instruction CBufferLoadLegacy.
vkd3d-shader/dxil: Implement DX instruction CreateHandle.
vkd3d-shader/dxil: Move the register_address_init() index parameter to position 2.
vkd3d-shader: Clone descriptor scan info from struct vkd3d_shader_desc.
vkd3d-shader/dxil: Read CBV descriptors.
vkd3d-shader/dxil: Validate the descriptor list metadata nodes.
vkd3d-shader/spirv: Align constant buffer sizes to 16 bytes.
vkd3d-shader/dxil: Read DXIL compute shader thread group dimensions.
vkd3d-shader/dxil: Read DXIL global flags.
vkd3d-shader: Define more global flags.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/408
Goes atop MR 388 (the error codes would clash otherwise). The last four commits belong to this MR.
--
v8: vkd3d-shader: Clone descriptor scan info from struct vkd3d_shader_desc.
vkd3d-shader/dxil: Read CBV descriptors.
vkd3d-shader/dxil: Validate the descriptor list metadata nodes.
vkd3d-shader/spirv: Align constant buffer sizes to 16 bytes.
vkd3d-shader/dxil: Read DXIL compute shader thread group dimensions.
vkd3d-shader/dxil: Read DXIL global flags.
vkd3d-shader: Define more global flags.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/401