]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Apr 2023 13:31:37 +0000 (14:31 +0100)
commitbfff138af4bdd356ac66571e6ad91c1a5599b935
tree0f97c4a9ef889091ab06d84927969d56108ee304
parent17c995c53775b8cee279ca4ced916092067e1195
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>
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