blob: e119280f9732a7ed1d7afcb5bf646d7b875aaf83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- busybox-1.21.0/util-linux/volume_id/ntfs.c
+++ busybox-1.21.0-ntfs/util-linux/volume_id/ntfs.c
@@ -150,7 +150,7 @@ int FAST_FUNC volume_id_probe_ntfs(struc
attr = (struct file_attribute*) &buf[attr_off];
attr_type = le32_to_cpu(attr->type);
- attr_len = le16_to_cpu(attr->len);
+ attr_len = le32_to_cpu(attr->len);
val_off = le16_to_cpu(attr->value_offset);
val_len = le32_to_cpu(attr->value_len);
attr_off += attr_len;
|