23 Sep
2022
23 Sep
'22
1:19 p.m.
Huw Davies (@huw) commented about server/registry.c:
else file_set_error(); }
+static void load_app_registry( struct key *key, const char *filename, obj_handle_t *handle, + unsigned int access, unsigned int attributes ) +{ + static const WCHAR applicationhive_fullpath[] = {'\\', 'R', 'E', 'G', 'I', 'S', 'T', 'R', 'Y', '\\', 'A'};
You want to terminate this string with a '\\\\' to ensure keys like "\\\\REGISTRY\\\\Ax\\\\" are rejected. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/820#note_9137