27 Sep
2022
27 Sep
'22
3:29 p.m.
Huw Davies (@huw) commented about server/registry.c:
{ struct key *key, *parent = NULL; struct unicode_str name; + const char *req_data; + data_size_t req_data_len; + char *filename; const struct security_descriptor *sd; const struct object_attributes *objattr = get_req_object_attributes( &sd, &name, NULL ); + req_data = get_req_data_after_objattr( objattr, &req_data_len ); This should be called after the test for objattr below. Also, although the code would work if req_data is NULL, it would be better to test for that too.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/820#note_9399