Fixed initialization of a Posix ACL

A posix ACL record was not fully initialized.
edge.strict_endians^2
Jean-Pierre André 2021-05-17 15:37:45 +03:00 committed by Erik Larsson
parent d60175230a
commit 02e199978b
1 changed files with 4 additions and 0 deletions

View File

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