diff --git a/ntfsprogs/ntfsck.c b/ntfsprogs/ntfsck.c index d49f3f96..8c126411 100644 --- a/ntfsprogs/ntfsck.c +++ b/ntfsprogs/ntfsck.c @@ -616,7 +616,8 @@ static BOOL check_file_record(u8 *buffer, u16 buflen) // Remove update seq & check it. usa = *(u16*)(buffer+usa_ofs); // The value that should be at the end of every sector. - assert_u32_equal(usa_count-1, buflen/NTFS_BLOCK_SIZE, "USA length"); + if (assert_u32_equal(usa_count-1, buflen/NTFS_BLOCK_SIZE, "USA length")) + return (1); for (i=1;i