+++ This bug was initially created as a clone of Bug #1001965 +++
Description of problem:
cpio with crc format fails to verfy chjecksums and also can't extract the files.
This happens with files > ~200M (didn't see it with smaller ones).
Version-Release number of selected component (if applicable):
Version : 2.11
Release : 24.el7
Steps to Reproduce:
dd if=/dev/urandom of=rand bs=1M count=300
echo rand | cpio --create --format=crc --verbose > rand.cpio
cpio --extract --only-verify-crc < rand.cpio
cpio fails with checksum error:
cpio: rand: checksum error (0x9568bd204, should be 0x568bd204)
cpio doesn't get a checksum error
This issue does not exist in F24.
Name : cpio
Version : 2.12
Release : 3.fc24
Following commit is missing in the RHEL version:
* Mo Sep 30 2013 Pavel Raiskup <firstname.lastname@example.org> - 2.11-24
- properly trim "crc" checksum to 32 bits (#1001965) <=====
- remove unneeded patch for config.gues/config.sub (#951442)
- allow treat read() errors (#996150)
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.