mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 10:04:00 +08:00
Fixed a bug in security API
This commit is contained in:
parent
d766714986
commit
e5fcb9e844
@ -5252,6 +5252,7 @@ struct SECURITY_API *ntfs_initialize_file_security(const char *device,
|
||||
ntfs_malloc(sizeof(struct SECURITY_API));
|
||||
if (scapi) {
|
||||
scapi->magic = MAGIC_API;
|
||||
scapi->seccache = (struct PERMISSIONS_CACHE*)NULL;
|
||||
scx = &scapi->security;
|
||||
scx->vol = vol;
|
||||
scx->uid = getuid();
|
||||
|
Loading…
Reference in New Issue
Block a user