Skip to content

Commit 5801f43

Browse files
Pull request FauxFaux#5: Ext4 xattrs: do not check block for nulls to exit loop
Merge in CRATES/ext4-rs from feature/cases/PKM-1425 to without_state_verification * commit '72a4ffae86f3c36b70c94ceb441b52a21ca8aeb1': [PKM-1425] Do not check block for nulls to exit loop
2 parents 3d34f4c + 72a4ffa commit 5801f43

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/parse.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,9 +606,8 @@ fn read_xattrs(
606606
let e_name_len = reading[0x00];
607607
let e_name_prefix_magic = reading[0x01];
608608
let e_value_offset = read_le16(&reading[0x02..0x04]);
609-
let e_block = read_le32(&reading[0x04..0x08]);
610609

611-
if 0 == e_name_len && 0 == e_name_prefix_magic && 0 == e_value_offset && 0 == e_block {
610+
if 0 == e_name_len && 0 == e_name_prefix_magic && 0 == e_value_offset {
612611
break;
613612
}
614613

0 commit comments

Comments
 (0)