Fixed initialization of a Posix ACL
A posix ACL record was not fully initialized.edge.strict_endians^2
parent
d60175230a
commit
02e199978b
|
@ -1330,6 +1330,10 @@ struct POSIX_SECURITY *ntfs_build_basic_posix(
|
|||
pydesc->acccnt = 3;
|
||||
pydesc->defcnt = 0;
|
||||
pydesc->firstdef = 6;
|
||||
pydesc->filler = 0;
|
||||
pydesc->acl.version = POSIX_VERSION;
|
||||
pydesc->acl.flags = 0;
|
||||
pydesc->acl.filler = 0;
|
||||
} else
|
||||
errno = ENOMEM;
|
||||
return (pydesc);
|
||||
|
|
Loading…
Reference in New Issue