[Rpm-maint] [rpm-software-management/rpm] Reject OpenPGP data over 1MiB (PR #1942)

Demi Marie Obenour notifications at github.com
Fri Mar 18 13:59:38 UTC 2022


@DemiMarie commented on this pull request.



> @@ -1104,6 +1104,8 @@ static int pgpVerifySelf(pgpDigParams key, pgpDigParams selfsig,
     return rc;
 }
 
+static const size_t RPM_MAX_OPENPGP_BYTES 65535 /* max number of bytes in a key */

That’s what I get for not even compile-testing my code.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1942#discussion_r830026868
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/1942/review/914398134 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220318/b436adda/attachment.html>


More information about the Rpm-maint mailing list