28 Feb
2023
28 Feb
'23
4:34 p.m.
Jacek Caban (@jacek) commented about dlls/winex11.drv/desktop.c:
static void query_desktop_work_area( RECT *rc_work ) { static const WCHAR trayW[] = {'S','h','e','l','l','_','T','r','a','y','W','n','d'}; - UNICODE_STRING str = { sizeof(trayW), sizeof(trayW), (WCHAR *)trayW }; + UNICODE_STRING str = RTL_CONSTANT_STRING( trayW ); You'd need to null-terminate trayW for this to work.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2016#note_25765