~x3lectric/ntfs-3g/trunk

  • Committer: Jean-Pierre André
  • Date: 2015-07-14 06:37:01 UTC
  • Revision ID: git-v1:2c11aaa2aa9900f24f09c6903c3b9fdb79e38689
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
Filename Latest Rev Last Changed Committer Comment Size
..
include 1 17 years ago szaka initial CVS import Diff
libfuse-lite 357 16 years ago jpandre Updating the source directory tree Diff
libntfs-3g 1 17 years ago szaka initial CVS import Diff
m4 549 14 years ago szaka fix build process: add m4/.keep Diff
ntfsprogs 768 13 years ago Erik Larsson Merge remote branch 'linux-ntfs/libntfs-3g_port' i Diff
src 1 17 years ago szaka initial CVS import Diff
AUTHORS 514 15 years ago jpandre Implemented backup/restoring of encrypted files (b 327 bytes Diff Download File
File autogen.sh 428 15 years ago jpandre Updated files needed to make a build 866 bytes Diff Download File
ChangeLog 1091 10 years ago Jean-Pierre André Updated the references to changelog and source rep 212 bytes Diff Download File
configure.ac 1175 9 years ago Erik Larsson Version 2015.3.14. 19.4 KB Diff Download File
COPYING 572 14 years ago szaka add COPYING file explicitely because autogen.sh do 17.5 KB Diff Download File
COPYING.LIB 553 14 years ago szaka add COPYING.LIB for fuse-lite 24.6 KB Diff Download File
CREDITS 768 13 years ago Erik Larsson Merge remote branch 'linux-ntfs/libntfs-3g_port' i 1011 bytes Diff Download File
Makefile.am 870 12 years ago Jean-Pierre André Got the target libs to build libntfs-3g and libfus 1.1 KB Diff Download File
NEWS 864 13 years ago Szaka Update ntfs-3g.org references 146 bytes Diff Download File
README 1118 10 years ago Jean-Pierre André Added a license section to the README file Explai 5.2 KB Diff Download File
TODO.ntfsprogs 924 12 years ago Jean-Pierre André cosmetic : fixed improper wordings (hggdh2) 3.9 KB Diff Download File