mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 10:04:00 +08:00
Set the size of the $SECURITY_DESCRIPTOR of the root directory appropriately
and as 'format' also does (the extra space was unused garbage)
This commit is contained in:
parent
53883b3fde
commit
6616612ea6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user