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

Panu Matilainen notifications at github.com
Fri Mar 18 10:50:21 UTC 2022


@pmatilai commented on this pull request.



> @@ -1095,6 +1095,10 @@ static int pgpVerifySelf(pgpDigParams key, pgpDigParams selfsig,
     return rc;
 }
 
+enum {
+    RPM_MAX_OPENPGP_BYTES = 1 << 16,
+};

Ehm. Why on earth an *enum* of all things?

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

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


More information about the Rpm-maint mailing list