ntfs-3g/libntfs-3g
Jean-Pierre André 2c11aaa2aa Fixed the range of valid subauthority counts in a SID
ntfs_valid_sid() required that the subauthority count be between 1 and 8
inclusively.  However, Windows permits more than 8 subauthorities as well
as 0 subauthorities:

  - The install.wim file for the latest Windows 10 build contains a file
    whose DACL contains a SID with 10 subauthorities.
    ntfs_set_ntfs_acl() was failing on this file.

  - The IsValidSid() function on Windows returns true for subauthority
    less than or equal to 15, including 0.

There was actually already a another SID validation function that had the
Windows-compatible behavior, so I merged the two together.

Contributed by Eric Biggers
2015-07-14 08:37:01 +02:00
..
acls.c Fixed the range of valid subauthority counts in a SID 2015-07-14 08:37:01 +02:00
attrib.c Fixed inserting a new ACL after they have been wiped out by chkdsk 2014-04-23 09:53:13 +02:00
attrlist.c remove redundant ntfs_attr_get_search_ctx() error logging 2007-07-13 20:05:48 +00:00
bitmap.c Adapted to ntfs-3g.1.2712 2008-07-13 17:55:57 +00:00
bootsect.c Fixed displaying the correct sector number in error message 2014-03-11 10:37:27 +01:00
cache.c Removed unneeded variables as warned by gcc 4.6 2011-07-05 12:17:29 +02:00
collate.c Made direct calls to collation functions 2009-12-16 10:20:57 +00:00
compat.c Adapted to ntfs-3g.1.2812 2008-08-16 15:17:47 +00:00
compress.c Zeroed uninitialized bytes before writing compressed data 2015-04-17 11:31:47 +02:00
debug.c Adapted to ntfs-3g.2009.3.8 2009-03-27 09:10:00 +00:00
device.c Fixed a use of uninitialized variable compiler warning 2013-02-13 08:54:34 +01:00
dir.c Rejected reserved files names when option windows_names is set 2014-03-11 10:56:31 +01:00
ea.c Implemented an extended attribute to get/set EAs 2014-04-12 09:22:17 +02:00
efs.c Removed unneeded variables as warned by gcc 4.6 2011-07-05 12:17:29 +02:00
index.c major : Fixed computation of index block size (Anton Altaparmakov) 2011-11-04 11:01:11 +01:00
inode.c Avoid endless recursion when MFT extents are described in themselves 2011-08-30 15:56:36 +02:00
ioctl.c Rephrased the warning for trimming not supported (cosmetic) 2015-04-17 09:06:22 +02:00
lcnalloc.c developed overwriting compressed files 2010-05-25 10:25:31 +02:00
libntfs-3g.pc.in Updating the source directory tree 2008-03-28 14:42:50 +00:00
libntfs-3g.script.so.in Updating the source directory tree 2008-03-28 14:42:50 +00:00
logfile.c Prevented partitions with metadata cached in Windows from being mounted 2012-09-25 09:46:54 +02:00
logging.c Enabled renaming of system extended attributes 2010-10-26 08:59:52 +02:00
Makefile.am Implemented fstrim(8) 2014-07-31 14:03:11 +02:00
mft.c Removed a temporary debug comment (cosmetic) 2015-04-17 10:56:34 +02:00
misc.c Redesigned caches for indexing cached entries 2009-12-17 17:36:06 +00:00
mst.c Avoided logging meaningless fixup errors in ntfsclone and ntfsresize 2011-09-23 11:28:42 +02:00
object_id.c Used ENOENT instead of ENODATA when the latter is not defined (Robert Millan) 2012-01-23 16:50:25 +01:00
realpath.c Fixed device path canonicalization for use by devmapper (basilinya) 2011-07-05 12:17:12 +02:00
reparse.c Implemented an extended attribute to get/set EAs 2014-04-12 09:22:17 +02:00
runlist.c cosmetic : fixed improper wordings (hggdh2) 2011-09-28 16:41:12 +02:00
security.c Fixed the range of valid subauthority counts in a SID 2015-07-14 08:37:01 +02:00
unistr.c unistr.c: Cleanup of OS X Unicode normalization code. 2015-06-23 06:43:17 +02:00
unix_io.c ntfs_fsync: fix comment (Erik Larsson) 2009-11-05 11:30:47 +00:00
volume.c Used /proc/mounts for checking existing mounts 2013-04-22 18:37:51 +02:00
win32_io.c Fixed getting sector size from a partition image (Windows variant) 2015-04-17 09:21:58 +02:00
xattrs.c Implemented an extended attribute to get/set EAs 2014-04-12 09:22:17 +02:00