[Rpm-maint] [rpm-software-management/rpm] Ban empty header tag data entries (#1589)

Demi Marie Obenour notifications at github.com
Sat Mar 20 04:54:57 UTC 2021


hdrchkType() incorrectly allowed an entry of type RPM_NULL_TYPE, but
that makes no sense in a header.  Also ensure that dataLength() and
hdrblobVerifyInfo() treat empty tag data entries as errors.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Ban empty header tag data entries

-- File Changes --

    M lib/header.c (9)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1589.patch
https://github.com/rpm-software-management/rpm/pull/1589.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/1589
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210319/43765e35/attachment.html>


More information about the Rpm-maint mailing list