3 Aug
2023
3 Aug
'23
3:49 p.m.
Hans Leidekker (@hans) commented about server/token.c:
+ { + priv_count = req->priv_count; + + if (data_size < priv_count * sizeof( privs[0] )) + { + free( groups ); + set_error( STATUS_INVALID_PARAMETER ); + return; + } + + data_size -= priv_count * sizeof( privs[0] ); + privs = (struct luid_attr *)((char *)groups + groups_size); + } + + if (data_size) + dacl = (struct acl *)((char *)privs + priv_count * sizeof(privs[0])); dacl should also be checked.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3505#note_41234