]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
cpio: Fix wrong CRC with ASCII CRC for large files
authorMarek Vasut <marex@denx.de>
Wed, 5 Apr 2023 21:33:58 +0000 (23:33 +0200)
committerSteve Sakoman <steve@sakoman.com>
Mon, 24 Apr 2023 14:22:14 +0000 (04:22 -1000)
commitbdd1d3c8a0ef1e2086ea15e5c1b38628cfda5121
treece89225d9b084872858638bbea0d2214454e61f2
parentb14b8f38da9195852e9a2fd6b2e446ed8a1fa0b8
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.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bfff138af4bdd356ac66571e6ad91c1a5599b935)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-extended/cpio/cpio-2.13/0001-Wrong-CRC-with-ASCII-CRC-for-large-files.patch [new file with mode: 0644]
meta/recipes-extended/cpio/cpio_2.13.bb