diff options
author | Marek Vasut <marex@denx.de> | 2023-05-15 19:21:21 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-05-25 05:49:26 -1000 |
commit | 37a03beb6d0be060eb0b25d781bc1f107b415611 (patch) | |
tree | 03b28050135e4660c907657b8e54cce2db824ab6 /meta/recipes-extended/cpio/cpio_2.13.bb | |
parent | f8902083fd99a5d6e306147feda56247ae6969d2 (diff) | |
download | poky-37a03beb6d0be060eb0b25d781bc1f107b415611.tar.gz |
cpio: Fix wrong CRC with ASCII CRC for large files
Due to signedness, the checksum is not computed when filesize is bigger
a 2GB. Pick a fix for this problem from CPIO ML, where the fix has been
posted for 5 years. Since CPIO upstream is effectively unresponsive and
any and all attempts to communicate with the maintainer and get the fix
applied upstream failed, add the fix here instead.
(From OE-Core rev: bfff138af4bdd356ac66571e6ad91c1a5599b935)
(From OE-Core rev: 0a8fb1c00e75e8434e0ef433d9074d54f038fba1)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-extended/cpio/cpio_2.13.bb')
-rw-r--r-- | meta/recipes-extended/cpio/cpio_2.13.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/cpio/cpio_2.13.bb b/meta/recipes-extended/cpio/cpio_2.13.bb index 7c8a465cd0..86527da744 100644 --- a/meta/recipes-extended/cpio/cpio_2.13.bb +++ b/meta/recipes-extended/cpio/cpio_2.13.bb | |||
@@ -10,6 +10,7 @@ SRC_URI = "${GNU_MIRROR}/cpio/cpio-${PV}.tar.gz \ | |||
10 | file://0001-Unset-need_charset_alias-when-building-for-musl.patch \ | 10 | file://0001-Unset-need_charset_alias-when-building-for-musl.patch \ |
11 | file://0002-src-global.c-Remove-superfluous-declaration-of-progr.patch \ | 11 | file://0002-src-global.c-Remove-superfluous-declaration-of-progr.patch \ |
12 | file://CVE-2021-38185.patch \ | 12 | file://CVE-2021-38185.patch \ |
13 | file://0001-Wrong-CRC-with-ASCII-CRC-for-large-files.patch \ | ||
13 | " | 14 | " |
14 | 15 | ||
15 | SRC_URI[md5sum] = "389c5452d667c23b5eceb206f5000810" | 16 | SRC_URI[md5sum] = "389c5452d667c23b5eceb206f5000810" |