Bug 1483571
| Summary: | cpio fails with checksum error larger files >~200M [rhel-7.4.z] | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Oneata Mircea Teodor <toneata> |
| Component: | cpio | Assignee: | Pavel Raiskup <praiskup> |
| Status: | CLOSED ERRATA | QA Contact: | Daniel Rusek <drusek> |
| Severity: | medium | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 7.3 | CC: | databases-maint, drusek, ealcaniz, extras-qa, fdeutsch, fkrska, hhorak, kdudka, ovasik, praiskup, sfroemer, toneata, trepik, vdanek |
| Target Milestone: | rc | Keywords: | EasyFix, FastFix, Patch, Reproducer, ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
Cpio's crc checksum algorithm works with improperly casted or badly sized integers.
Consequence:
Even though the cpio utility extracts the files from "crc" archives (concrete cpio archive format) correctly, it fails if the archive contains files larger than 200MB and prints warning that the CRC of extracted file is not correct.
Fix:
Using integer type of proper size.
Result:
Cpio now extracts files larger than 200MB from 'crc' archives without complaining.
|
Story Points: | --- |
| Clone Of: | 1415081 | Environment: | |
| Last Closed: | 2017-09-05 11:33:11 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1415081 | ||
| Bug Blocks: | |||
|
Description
Oneata Mircea Teodor
2017-08-21 12:25:19 UTC
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. https://access.redhat.com/errata/RHBA-2017:2593 |