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.