[Rpm-maint] [rpm-software-management/rpm] pgpGet(): check that the returned length is in bounds (#1706)
Demi Marie Obenour
notifications at github.com
Wed Jun 16 14:04:23 UTC 2021
This will be used to replace incorrect checks in the calling code.
The new pgpGet() avoids undefined pointer arithmetic, too. One
call-site of pgpGet() is broken by this change, so replace it with a
direct bounds-check.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/1706
-- Commit Summary --
* pgpGet(): check that the returned length is in bounds
-- File Changes --
M rpmio/rpmpgp.c (43)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/1706.patch
https://github.com/rpm-software-management/rpm/pull/1706.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/1706
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210616/a15be81b/attachment.html>
More information about the Rpm-maint
mailing list