Crash on NTFS disk formatted under NT4.

Apr 3, 2012 at 10:51 AM

Hi.

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?

Coordinator
Apr 3, 2012 at 9:38 PM

Hi,

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

 

Cheers,

Ken

Apr 4, 2012 at 10:18 AM

Sure. Here it is http://narod.ru/disk/40237642001/nt4.vmdk.7z.html

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

Coordinator
Apr 5, 2012 at 1:52 AM

Hi,

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

 

Cheers,

Ken

Apr 5, 2012 at 1:22 PM

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

Thank you.