From 6616612ea683c908d3b2adf925618b0582e41b8a Mon Sep 17 00:00:00 2001 From: szaka Date: Sun, 15 Jan 2006 12:55:04 +0000 Subject: [PATCH] Set the size of the $SECURITY_DESCRIPTOR of the root directory appropriately and as 'format' also does (the extra space was unused garbage) --- ntfsprogs/sd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ntfsprogs/sd.c b/ntfsprogs/sd.c index 26c69aab..0407b9dc 100644 --- a/ntfsprogs/sd.c +++ b/ntfsprogs/sd.c @@ -217,9 +217,8 @@ void init_root_sd_31(u8 **sd_val, int *sd_val_len) ACCESS_ALLOWED_ACE *ace; SID *sid; - static char sd_array[0x1200]; - //char* sd_val = NULL; - *sd_val_len = 0x1200; + static char sd_array[0x1030]; + *sd_val_len = 0x1030; *sd_val = (u8*)&sd_array; //security descriptor relative