[Rpm-maint] [rpm-software-management/rpm] rpm2cpio.sh: only read needed bytes of file magic (PR #2146)

Florian Festi notifications at github.com
Fri Aug 5 08:42:16 UTC 2022


As we look at the first 4 bytes anyway there is no reason to read more.
Reading more also hits a bug in bash on aarch64 (rhbz#2115206).
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/2146

-- Commit Summary --

  * rpm2cpio.sh: only read needed bytes of file magic

-- File Changes --

    M scripts/rpm2cpio.sh (2)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/2146.patch
https://github.com/rpm-software-management/rpm/pull/2146.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2146
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2146 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220805/82834ce6/attachment-0001.html>


More information about the Rpm-maint mailing list