michal-grzedzicki / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

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

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