summaryrefslogtreecommitdiffstats
path: root/meta/packages/busybox/busybox-1.15.3/get_header_tar.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/busybox/busybox-1.15.3/get_header_tar.patch')
-rw-r--r--meta/packages/busybox/busybox-1.15.3/get_header_tar.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/packages/busybox/busybox-1.15.3/get_header_tar.patch b/meta/packages/busybox/busybox-1.15.3/get_header_tar.patch
new file mode 100644
index 0000000000..0121cd1b61
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.15.3/get_header_tar.patch
@@ -0,0 +1,11 @@
1--- busybox-1.13.2/archival/libunarchive/get_header_tar.c.orig 2008-11-09 18:28:02.000000000 +0100
2+++ busybox-1.13.2/archival/libunarchive/get_header_tar.c 2009-02-11 22:34:52.000000000 +0100
3@@ -252,6 +252,8 @@
4 file_header->name = concat_path_file(tar.prefix, tar.name);
5 } else
6 file_header->name = xstrdup(tar.name);
7+ if (strlen(file_header->name) > 100)
8+ file_header->name[100] = 0;
9 }
10
11 /* Set bits 12-15 of the files mode */