[Rpm-maint] [rpm-software-management/rpm] rpmio: Handle EOF without EOL better at END PGP in rpmpgp.c (#800)
Štěpán Brož
notifications at github.com
Thu Jul 25 10:24:02 UTC 2019
Currently a PGP public key file which does not have any end-of-line character(s) at end of file, but is valid otherwise, is not considered valid by rpmio.
This change adds a special-case for the string terminating null byte right after the terminating `------` of `END PGP` header.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/800
-- Commit Summary --
* rpmpgp: Handle EOF without EOL better at END PGP
-- File Changes --
M rpmio/rpmpgp.c (5)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/800.patch
https://github.com/rpm-software-management/rpm/pull/800.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/800
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190725/8c7279f3/attachment.html>
More information about the Rpm-maint
mailing list