Akshay Ajayan wrote on 1/11/21 1:52 PM:
Hi,
I found the following bug while mounting a corrupt image using ntfs-3g.
Bug info:
Infinite loop in ntfs_volume_startup at volume.c:602
This bug occurs because of incorrect value of LCN of VCN 0 of the $MFT,
image offset 0x30 in $Boot.
Thank you for having already debugged the cause.
I think I just have to add another condition in the consistency
check of the boot sector.
And a reminder : there is a backup boot sector in the last sector
of the partition, it can be retrieved by ntfsfix when the normal
boot sector is corrupt.
Jean-Pierre
Behavior in windows: Disk structure is corrupted and unreadable
Version info:
r00tus3r@akshay:~$ ntfs-3g --version
ntfs-3g 2017.3.23 integrated FUSE 27
To Reproduce:
ntfs-3g loop.img mountpoint
Please let me know if you need the corrupted image file or any
additional information.
Best,
Akshay
_______________________________________________
ntfs-3g-devel mailing list
ntfs-3g-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel