summaryrefslogtreecommitdiffstats
path: root/package/busybox/1.21.0/busybox-1.21.0-ntfs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/1.21.0/busybox-1.21.0-ntfs.patch')
-rw-r--r--package/busybox/1.21.0/busybox-1.21.0-ntfs.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/1.21.0/busybox-1.21.0-ntfs.patch b/package/busybox/1.21.0/busybox-1.21.0-ntfs.patch
new file mode 100644
index 000000000..e119280f9
--- /dev/null
+++ b/package/busybox/1.21.0/busybox-1.21.0-ntfs.patch
@@ -0,0 +1,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;