This project is read-only.

Crash on NTFS disk formatted under NT4.

Apr 3, 2012 at 10:51 AM


I have VMDK disk with one NTFS partition where Win NT4 is installed. And there is an issue when reading this disk with DiscUtils. Library crashes when trying to read $Quota metafile. As I understood from NTFS format description this file should only work properly on newer version of format but it seems to be still present in NT4 version.

Crash is inside class Ntfs.Index in constructor in line
_root = _file.GetStream(AttributeType.IndexRoot, _name).GetContent<IndexRoot>();
GetStream call returns null and we have NullReferenceException.

I understand that NT4 is very outdated system but is there any chance you can fix this issue?

Apr 3, 2012 at 9:38 PM


If you can provide a sample disk image I can take a look.




Apr 4, 2012 at 10:18 AM

Sure. Here it is

Interface on filesharing site is in russian but it's quite straightforward.

Apr 5, 2012 at 1:52 AM


Do you want to try out change c56b1a0ff7e5, and let me know if you have any problems.




Apr 5, 2012 at 1:22 PM

Everything works perfectly now. I was able to access test volume without any problems.

Thank you.