From aa28ed016296bc35c424ffb24cbd2be775b9289d Mon Sep 17 00:00:00 2001 From: Vitaliy Margolen Date: Wed, 7 Feb 2007 21:11:18 -0700 Subject: [PATCH] server: Fix typo. Should be group not owner. --- server/token.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/token.c b/server/token.c index 04d3808df95..2c00daa08d4 100644 --- a/server/token.c +++ b/server/token.c @@ -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;