27 Sep
2022
27 Sep
'22
3:43 p.m.
Huw Davies (@huw) commented about server/registry.c:
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 );
if (!objattr) return; + req_data = get_req_data_after_objattr( objattr, &req_data_len );
You've changed the wrong commit, this should be changed in the first one. Also, I suggested that you add a test for `req_data` and return if it's `NULL`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/820#note_9406