mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 18:14:24 +08:00
Fixed a wrong computation of ACL size (minor issue)
This commit is contained in:
parent
9ae4165ee8
commit
464a9156cd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user