Re: [PATCH] bundle: do not free uninitialized memory on bad arguments
- From
- Olof Fairbrook <olof.fairbrook@gmail.com>
- Date
- Oct 19, 2026, 10:35 UTC
- Message-ID
- <947bafea-8f2b-9865-0dcf-c5de1c7853f9@gmail.com>
- In-Reply-To
- <CAHwyqnWxr3ZhPpM0WPCnJh-SHdGDZNE0ZJwA1jHhd+6-f0aEcw@mail.gmail.com>
On Mon, 19 Oct 2026, Harald Nordgren wrote:
Show 9 quoted lines
>> - struct rev_info revs, revs_copy;
>> + struct rev_info revs, revs_copy = { 0 };
>
> I'm not familiar with this code, but the fix seems simple enough and
> has a test. Looks good.
>
>
> Harald
>Thanks for the review! Olof