26 Sep
2025
26 Sep
'25
2:16 p.m.
Nikolay Sivov (@nsivov) commented about dlls/combase/combase.c:
int i; + HKEY xhkey = NULL;
if (!s || s[0] != '{') { - memset(id, 0, sizeof(*id)); - if (!s) return TRUE; + if (!s) + { + memset(id, 0, sizeof(*id)); + return TRUE; + } + if (open_classes_key(HKEY_CLASSES_ROOT, s, KEY_READ, &xhkey) != ERROR_SUCCESS) + memset(id, 0, sizeof(*id)); return FALSE; }
This function has nothing to do with registry keys. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7539#note_116880