Blob Blame History Raw
--- libntfs-3g/volume.c.ref	2017-03-23 10:42:44.000000000 +0100
+++ libntfs-3g/volume.c	2017-12-20 08:11:51.842424300 +0100
@@ -959,7 +959,8 @@
 		vol->mftmirr_size = l;
 	}
 	ntfs_log_debug("Comparing $MFTMirr to $MFT...\n");
-	for (i = 0; i < vol->mftmirr_size; ++i) {
+		/* Windows 10 does not update the full $MFTMirr any more */
+	for (i = 0; (i < vol->mftmirr_size) && (i < FILE_first_user); ++i) {
 		MFT_RECORD *mrec, *mrec2;
 		const char *ESTR[12] = { "$MFT", "$MFTMirr", "$LogFile",
 			"$Volume", "$AttrDef", "root directory", "$Bitmap",