Changes by: szaka
Update of /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29206/ntfsprogs
Modified Files:
sd.c
Log Message:
Set the size of the $SECURITY_DESCRIPTOR of the root directory appropriately
and as 'format' also does (the extra space was unused garbage)
Index: sd.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs/sd.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- sd.c 7 Jan 2006 08:31:09 -0000 1.11
+++ sd.c 15 Jan 2006 12:55:04 -0000 1.12
@@ -217,9 +217,8 @@ void init_root_sd_31(u8 **sd_val, int *s
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
|