krita patch

This commit is contained in:
2025-05-31 15:21:56 -06:00
parent af33349c10
commit 6054385386
3 changed files with 36 additions and 170 deletions

15
patches/libpng.patch Normal file
View File

@@ -0,0 +1,15 @@
diff --git a/scripts/pnglibconf.dfa b/scripts/pnglibconf.dfa
index fe8e481..ecaffe7 100644
--- a/scripts/pnglibconf.dfa
+++ b/scripts/pnglibconf.dfa
@@ -516,8 +516,8 @@ setting USER_WIDTH_MAX default 1000000
setting USER_HEIGHT_MAX default 1000000
# Use 0 for unlimited
-setting USER_CHUNK_CACHE_MAX default 1000
-setting USER_CHUNK_MALLOC_MAX default 8000000
+setting USER_CHUNK_CACHE_MAX default 0
+setting USER_CHUNK_MALLOC_MAX default 0
# If this option is enabled APIs to set the above limits at run time are added;
# without this the hardwired (compile time) limits will be used.