Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/ntfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/attribute.rs')
-rw-r--r--src/attribute.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attribute.rs b/src/attribute.rs
index 9279b09..9b8bb2a 100644
--- a/src/attribute.rs
+++ b/src/attribute.rs
@@ -409,7 +409,7 @@ impl<'n, 'f> NtfsAttribute<'n, 'f> {
debug_assert!(self.is_resident());
let start = self.resident_value_offset();
- if start as u32 >= self.attribute_length() {
+ if start as u32 > self.attribute_length() {
return Err(NtfsError::InvalidResidentAttributeValueOffset {
position: self.position(),
expected: start,