From e5fcb9e84422cd11f52b57f4f923571bc2d31ab4 Mon Sep 17 00:00:00 2001 From: jpandre Date: Sun, 23 Mar 2008 08:41:18 +0000 Subject: [PATCH] Fixed a bug in security API --- libntfs-3g/security.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libntfs-3g/security.c b/libntfs-3g/security.c index 32449de8..67da9da8 100644 --- a/libntfs-3g/security.c +++ b/libntfs-3g/security.c @@ -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();