From: Bartłomiej Piotrowski Date: Thu, 25 May 2023 09:43:05 +0000 (+0200) Subject: Increase the metadata size limit to 128MB X-Git-Tag: archive/raspbian/2023.7-3+rpi1~1^2~9^2~1^2~23^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4bac96a8c817beda37448f9b8c662162bb619981;p=ostree.git Increase the metadata size limit to 128MB Flathub has hit the 10MB limit in 2022, and we had to drop less popular CPU architectures from the main summary to subsummaries, effectively cutting off users running too old Flatpak version. Despite that, the main summary containing only x86_64 is already at 7MB. As this is eventually going to happen to subsummaries as well, preemptively bump the limit 12 times. It takes between 2 and 3 years for a change like this to roll out across Linux distributions so the best time for this was yesterday. fixes #2715 --- diff --git a/src/libostree/ostree-core.h b/src/libostree/ostree-core.h index b18d9e16..12a1e48a 100644 --- a/src/libostree/ostree-core.h +++ b/src/libostree/ostree-core.h @@ -35,7 +35,7 @@ G_BEGIN_DECLS * objects). This is an arbitrary number intended to mitigate disk space * exhaustion attacks. */ -#define OSTREE_MAX_METADATA_SIZE (10 * 1024 * 1024) +#define OSTREE_MAX_METADATA_SIZE (128 * 1024 * 1024) /** * OSTREE_MAX_METADATA_WARN_SIZE: