[Rpm-maint] [rpm-software-management/rpm] hdrchkType(): reject RPM_NULL_TYPE (#1617)

Demi Marie Obenour notifications at github.com
Fri Apr 2 17:24:47 UTC 2021


`RPM_NULL_TYPE` is used to mean “unknown type”; it is not a valid type
itself.  However, `hdrchkType()` did not reject it.  Therefore,
`headerPut()` allowed adding an entry of type `RPM_NULL_TYPE` to a header,
which is wrong.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * hdrchkType(): reject RPM_NULL_TYPE

-- File Changes --

    M lib/header.c (2)

-- Patch Links --

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


More information about the Rpm-maint mailing list