teknoraver / rpms / rpm

Forked from rpms/rpm 3 months ago
Clone

Blame SOURCES/rpm-4.14.3-bump-up-the-limit-of-signature-header-to-64MB.patch

976aaf
diff -up rpm-4.14.3/lib/header.c.orig rpm-4.14.3/lib/header.c
976aaf
--- rpm-4.14.3/lib/header.c.orig	2020-04-28 14:50:11.816399041 +0200
976aaf
+++ rpm-4.14.3/lib/header.c	2021-02-03 16:47:23.567245743 +0100
976aaf
@@ -1910,7 +1910,7 @@ rpmRC hdrblobRead(FD_t fd, int magic, in
976aaf
 
976aaf
     if (regionTag == RPMTAG_HEADERSIGNATURES) {
976aaf
 	il_max = 32;
976aaf
-	dl_max = 8192;
976aaf
+	dl_max = 64 * 1024 * 1024;
976aaf
     }
976aaf
 
976aaf
     memset(block, 0, sizeof(block));