summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/busybox-1.20.2/get_header_tar.patch
diff options
context:
space:
mode:
authorRadu Moisan <radu.moisan@intel.com>2012-08-22 12:22:22 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-23 11:43:34 +0100
commitd48585caf9cf13c06eabc068b3c3a17a3f92636d (patch)
tree38f666bb65af6ea7093be2ab418d30256e10fc69 /meta/recipes-core/busybox/busybox-1.20.2/get_header_tar.patch
parent8e335f1da265cdb0ea2d5f95b3dfe8c856213c96 (diff)
downloadpoky-d48585caf9cf13c06eabc068b3c3a17a3f92636d.tar.gz
busybox: Upgrade to upstream 1.20.2
Updated defconfig file from generated .config Disabled CONFIG_LSOF,CONFIG_CROSS_COMPILER_PREFIX, and CONFIG_EXTRA_CFLAGS for backwards compatibility. Added busybox-1.20.2-kernel_ver.patch from upstream. (From OE-Core rev: e5f2cc805509a23e160c6f05e6776d6d32e3ce98) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox/busybox-1.20.2/get_header_tar.patch')
-rw-r--r--meta/recipes-core/busybox/busybox-1.20.2/get_header_tar.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox-1.20.2/get_header_tar.patch b/meta/recipes-core/busybox/busybox-1.20.2/get_header_tar.patch
new file mode 100644
index 0000000000..0e528ff91f
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox-1.20.2/get_header_tar.patch
@@ -0,0 +1,22 @@
1Upstream-Status: Pending
2
3# copy commit message from OE as the patch comment:
4# commit 5a0e1d473ca7aca5ffefffe9a2ec44ae7a1f35bc
5# Author: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
6# Date: Wed Feb 11 22:40:21 2009 +0100
7#
8# busybox: fix tar problem with filenames that are exactly 100 bytes
9#
10# above comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-06
11
12--- busybox-1.13.2/archival/libarchive/get_header_tar.c.orig 2008-11-09 18:28:02.000000000 +0100
13+++ busybox-1.13.2/archival/libarchive/get_header_tar.c 2009-02-11 22:34:52.000000000 +0100
14@@ -252,6 +252,8 @@
15 file_header->name = concat_path_file(tar.prefix, tar.name);
16 } else
17 file_header->name = xstrdup(tar.name);
18+ if (strlen(file_header->name) > 100)
19+ file_header->name[100] = 0;
20 }
21
22 /* Set bits 12-15 of the files mode */