[Rpm-maint] [rpm-software-management/rpm] Validate self-signatures and require subkey bindings on PGP public keys (#1788)

Panu Matilainen notifications at github.com
Wed Oct 13 07:52:11 UTC 2021


@pmatilai commented on this pull request.



>  	if (pkttype == PGPTAG_SIGNATURE)
 	    break;
+
+	if (alloced <= i) {
+	    alloced *= 2;

To elaborate on that a bit, the suggested change is simply absurd when you could simply place a simple upper bound and error out if exceeded. 

-- 
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/1788#discussion_r727793623
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20211013/655a86df/attachment-0001.html>


More information about the Rpm-maint mailing list