server: Fix typo. Should be group not owner.

This commit is contained in:
Vitaliy Margolen 2007-02-07 21:11:18 -07:00 committed by Alexandre Julliard
parent 05c0df15e2
commit aa28ed0162
1 changed files with 1 additions and 1 deletions

View File

@ -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;