Skip to content

Commit

Permalink
Remove check for ExtendedDirectory index count
Browse files Browse the repository at this point in the history
* This "check" was incorrect, and is over limiting the amount of
  dirs that _could_ be read. This was added to prevent over-allocing,
  but is now removed since it's incorrect.

Closes #690
  • Loading branch information
wcampbell0x2a committed Jan 11, 2025
1 parent 1b3f16a commit eb960b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### `backhand`
- Remove incorrect check for `ExtendedDirectory` index count ([#691](https://github.com/wcampbell0x2a/backhand/pull/691))

## [v0.19.0] - 2024-11-12
### `backhand`
Expand Down
1 change: 0 additions & 1 deletion backhand/src/inode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ pub struct ExtendedDirectory {
pub file_size: u32,
pub block_index: u32,
pub parent_inode: u32,
#[deku(assert = "*index_count < 256")]
pub index_count: u16,
pub block_offset: u16,
pub xattr_index: u32,
Expand Down

0 comments on commit eb960b7

Please sign in to comment.