Fix off-by-one in ACL dumping, one ACE was missed

edge.strict_endians
szaka 2006-01-14 00:54:51 +00:00
parent 6f05bf0407
commit 53883b3fde
2 changed files with 3 additions and 2 deletions

View File

@ -94,6 +94,7 @@ xx/xx/2005 - 1.12.2-WIP
- ntfsmount: Add FreeBSD support. (Yura)
- ntfsmount: Fix bug with moving non-empty directories. (Yura)
- ntfsinfo: dump $Secure:$SDS in verbose mode. (Szaka)
- ntfsinfo: fix off-by-one in ACL dumping, one ACE was missed. (Szaka)
10/10/2005 - 1.12.1 - Minor fix to location of mount.ntfs-fuse and mkfs.ntfs.

View File

@ -4,7 +4,7 @@
* Copyright (c) 2002-2004 Matthew J. Fanto
* Copyright (c) 2002-2005 Anton Altaparmakov
* Copyright (c) 2002-2005 Richard Russon
* Copyright (c) 2003-2005 Szabolcs Szakacsits
* Copyright (c) 2003-2006 Szabolcs Szakacsits
* Copyright (c) 2004-2005 Yuval Fledel
* Copyright (c) 2004-2005 Yura Pakhuchiy
* Copyright (c) 2005 Cristian Klein
@ -834,7 +834,7 @@ static void ntfs_dump_acl(const char *prefix, ACL *acl)
ace = (ACCESS_ALLOWED_ACE *)((char *)acl + 8);
/* iterate through ACE's */
for (i = 1; i < ace_count; i++) {
for (i = 1; i <= ace_count; i++) {
const char *ace_type;
char *sid;