Re: [PATCH] bundle: do not free uninitialized memory on bad arguments
- From
Harald Nordgren <haraldnordgren@gmail.com>
- Date
- Oct 19, 2026, 09:40 UTC
- Message-ID
- <CAHwyqnWxr3ZhPpM0WPCnJh-SHdGDZNE0ZJwA1jHhd+6-f0aEcw@mail.gmail.com>
- In-Reply-To
- <20261018142130.2701449-1-olof.fairbrook@gmail.com>
> - 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