commit 88b1b4908e8a15350682e086f24a4b77cdfed141 from: Stefan Sperling via: Thomas Adam date: Mon Jun 13 17:55:22 2022 UTC check the maximum cached delta size against the correct constant commit - a5061f770a80b2e450a8c950f658880b703607ba commit + 88b1b4908e8a15350682e086f24a4b77cdfed141 blob - a3fc5309822ffb0f6abf0d07bb6684cf9dbaf057 blob + 784397cd14eacc033b6e0712e6c81b361e5ee692 --- lib/delta_cache.c +++ lib/delta_cache.c @@ -196,7 +196,7 @@ got_delta_cache_add(struct got_delta_cache *cache, struct got_delta_cache_head *head; uint64_t idx; - if (delta_len > GOT_DELTA_RESULT_SIZE_CACHED_MAX) { + if (delta_len > GOT_DELTA_CACHE_MAX_DELTA_SIZE) { cache->cache_toolarge++; return got_error(GOT_ERR_NO_SPACE); }