diff options
author | Qing He <qing.he@intel.com> | 2011-04-25 14:06:48 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-04 00:54:42 +0100 |
commit | a29b96e3828ecf8a4915856d1e6733a97cd4b89f (patch) | |
tree | 119531cc1adc53b34ea119b1e7a1483d3288dcb9 /meta/recipes-core/busybox/busybox-1.18.4/get_header_tar.patch | |
parent | b9e63d96addd5fa1d69877e9a58e6ea92482e19b (diff) | |
download | poky-a29b96e3828ecf8a4915856d1e6733a97cd4b89f.tar.gz |
busybox: upgrade to version 1.18.4
from version 1.17.3
- remove make-382-fix since it's upstreamed
(From OE-Core rev: bb92a1852e17232c07658eef013f243ca6780563)
Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox/busybox-1.18.4/get_header_tar.patch')
-rw-r--r-- | meta/recipes-core/busybox/busybox-1.18.4/get_header_tar.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox-1.18.4/get_header_tar.patch b/meta/recipes-core/busybox/busybox-1.18.4/get_header_tar.patch new file mode 100644 index 0000000000..c1f881fbd7 --- /dev/null +++ b/meta/recipes-core/busybox/busybox-1.18.4/get_header_tar.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | # copy commit message from OE as the patch comment: | ||
2 | # commit 5a0e1d473ca7aca5ffefffe9a2ec44ae7a1f35bc | ||
3 | # Author: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | ||
4 | # Date: Wed Feb 11 22:40:21 2009 +0100 | ||
5 | # | ||
6 | # busybox: fix tar problem with filenames that are exactly 100 bytes | ||
7 | # | ||
8 | # above comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-06 | ||
9 | |||
10 | --- busybox-1.13.2/archival/libarchive/get_header_tar.c.orig 2008-11-09 18:28:02.000000000 +0100 | ||
11 | +++ busybox-1.13.2/archival/libarchive/get_header_tar.c 2009-02-11 22:34:52.000000000 +0100 | ||
12 | @@ -252,6 +252,8 @@ | ||
13 | file_header->name = concat_path_file(tar.prefix, tar.name); | ||
14 | } else | ||
15 | file_header->name = xstrdup(tar.name); | ||
16 | + if (strlen(file_header->name) > 100) | ||
17 | + file_header->name[100] = 0; | ||
18 | } | ||
19 | |||
20 | /* Set bits 12-15 of the files mode */ | ||