Skip to content

fix(ntfs): fix validation checks and restore NTFS 1.0 support - #461

Open
Dima120596 wants to merge 2 commits into
chenall:0.4.6afrom
Dima120596:0.4.6a
Open

fix(ntfs): fix validation checks and restore NTFS 1.0 support#461
Dima120596 wants to merge 2 commits into
chenall:0.4.6afrom
Dima120596:0.4.6a

Conversation

@Dima120596

Copy link
Copy Markdown

This patch permanently restores backward compatibility for legacy NTFS structures within the core fsys_ntfs.c driver.

  • Fixed Sanity Checks: Refactored layout validation routines that previously caused the driver to falsely reject valid Windows NT 3.5x structures.
  • NTFS 1.0 Support: Implemented full boot and file-reading capabilities for NTFS 1.0 (Windows NT 3.1) and NTFS 1.2 (Windows NT 3.50) layouts.

Since fsys_ntfs.c hasn't been changed since 2015, this patch is fully backward-compatible and can be easily backported to the stable 0.4.5 branch codebase.

This patch permanently restores backward compatibility for legacy NTFS structures within the core fsys_ntfs.c driver. 

- Fixed Sanity Checks: Refactored layout validation routines that previously caused the driver to falsely reject valid Windows NT 3.5x structures.
- NTFS 1.0 Support: Implemented full boot and file-reading capabilities for NTFS 1.0 (Windows NT 3.1) and NTFS 1.2 (Windows NT 3.50) layouts.

Since fsys_ntfs.c hasn't been changed since 2015, this patch is fully backward-compatible and can be easily backported to the stable 0.4.5 branch codebase.
fix(cmd): stub broken vol command to prevent root failure on legacy NTFS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant