[Rpm-maint] [rpm-software-management/rpm] Reject OpenPGP data over 1MiB (PR #1942)
Demi Marie Obenour
notifications at github.com
Fri Mar 18 11:34:04 UTC 2022
@DemiMarie 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,
+};
It’s a way to have a compile-time constant in C without a preprocessor macro. I’ll use a `#define` instead.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1942#discussion_r829918059
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/1942/review/914246220 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220318/8561a948/attachment.html>
More information about the Rpm-maint
mailing list