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

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