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:
szaka 2006-01-15 12:55:04 +00:00
parent 53883b3fde
commit 6616612ea6

View File

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