Fixed a wrong computation of ACL size (minor issue)

This commit is contained in:
Jean-Pierre André 2012-06-18 12:26:36 +02:00
parent 9ae4165ee8
commit 464a9156cd

View File

@ -3804,7 +3804,7 @@ static le32 build_inherited_id(struct SECURITY_CONTEXT *scx,
*/
memcpy(&newattr[pos],gsid,gsidsz);
pnhead->group = cpu_to_le32(pos);
pos += usidsz;
pos += gsidsz;
securid = setsecurityattr(scx->vol,
(SECURITY_DESCRIPTOR_RELATIVE*)newattr, pos);
free(newattr);