Commit aa28ed01 authored by Vitaliy Margolen's avatar Vitaliy Margolen Committed by Alexandre Julliard

server: Fix typo. Should be group not owner.

parent 05c0df15
......@@ -316,7 +316,7 @@ static int sd_is_valid( const struct security_descriptor *sd, data_size_t size )
if (group)
{
size_t needed_size = FIELD_OFFSET(SID, SubAuthority[group->SubAuthorityCount]);
if ((sd->owner_len < sizeof(SID)) || (needed_size > sd->owner_len))
if ((sd->group_len < sizeof(SID)) || (needed_size > sd->group_len))
return FALSE;
}
offset += sd->group_len;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment