6 Feb
2024
6 Feb
'24
12:34 p.m.
Hans Leidekker (@hans) commented about dlls/wbemprox/builtin.c:
idx = 0; while (SetupDiEnumDeviceInfo( device_info_set, idx++, &devinfo )) { - WCHAR device_id[MAX_PATH]; - WCHAR guid[40] = {0}; + WCHAR device_id[MAX_PATH], guid[GUID_SIZE] = {0};
There's no need to initialize guid. Otherwise it looks good. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5030#note_60209