diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2021-03-18 10:39:38 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2021-03-22 12:04:27 +0200 |
commit | 98be44d9f017955c3703a7f3b42b379a790f36b0 (patch) | |
tree | 5b94eb17975acb9332d634cb01c6e4057457d8a5 /po/ar.po | |
parent | 6941a235bb466f9c319a3f55078f8481bd15d9dd (diff) | |
download | rpm-98be44d9f017955c3703a7f3b42b379a790f36b0.tar.gz |
Better sanity check for header entry counts
The count can never be larger than header data size, which can never be
larger than 256MB. Most datatypes have further restrictions of course, this
is merely an outer perimeter check to catch impossibly large values that
could otherwise overflow all manner of trivial calculations.
Addresses the point I missed in PR #1493 but with a much tighter limit.
(cherry picked from commit d8fbddfa5051bdc1c71e16cb11f14d9fdc7f5c5e)
Diffstat (limited to 'po/ar.po')
0 files changed, 0 insertions, 0 deletions