Skip to content
Commit 0a8fb1c0 authored by Marek Vasut's avatar Marek Vasut Committed by Steve Sakoman
Browse files

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: bfff138a)

Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 0a6a31e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment