[Rpm-maint] [rpm-software-management/rpm] Limit maximum array size in the header to about one million (PR #1858)
Panu Matilainen
notifications at github.com
Mon Dec 13 08:37:56 UTC 2021
This is mainly to place *some* limit on number of files a package may
have. It's unlikely that rpm scales to million files in a package but
that much may actually work, whereas closer to int32 limits we run into
all manner of issues with internal types mismatching and whatnot.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/1858
-- Commit Summary --
* Limit maximum array size in the header to about one million
-- File Changes --
M lib/header.c (11)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/1858.patch
https://github.com/rpm-software-management/rpm/pull/1858.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1858
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20211213/58b65e6f/attachment.html>
More information about the Rpm-maint
mailing list