From: Omar Polo Subject: Re: fix crash during pack creation in ports.git To: Stefan Sperling Cc: gameoftrees@openbsd.org Date: Mon, 09 Jan 2023 18:25:35 +0100 On 2023/01/09 16:49:11 +0100, Stefan Sperling wrote: > While testing my gotd-session patch with ports.git I came across > unrelated bugs which are fixed by the three commits below. > > The bugs are triggered by a PLIST file in the ports tree which is > 8.5MB in size and hence exceeds GOT_DELTA_RESULT_SIZE_CACHED_MAX. > > To understand the 3rd and final fix, it helps to look at what > got_object_read_raw() in object_parse.c is doing with max_in_mem_size. > > With these changes, gotd can serve clones of ports.git successfully. > > ok? ok funny the third one