Size of payload in header is incorrect - should be size of compressed payload, not uncompressed
Open
- Dominant language
- Go
- Stars
- 128
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
The size of the payload written to the Size header is incorrect. It should be the length of the compressed payload, not the sun of the sizes of the uncompressed payload files.
This makes the rpm2cpio program exit with a failure, as it does a comparison between the header value and that returned by librpm's `ufdCopy()` function.
Contributor guide
Assessment
This issue has not been assessed yet.