Re: [PATCH] debuginfod-client.c: Avoid freeing uninitialized value

2025-01-25 Thread Mark Wielaard
Hi Aaron, On Fri, Jan 24, 2025 at 08:32:48PM -0500, Aaron Merey wrote: > debuginfod_validate_imasig might call free on an uninitialized sig_buf > due to a goto that can occur before sig_buf is set to NULL. > > Fix this by setting sig_buf to NULL before the goto. The first thing after exit_valida

[PATCH] debuginfod-client.c: Avoid freeing uninitialized value

2025-01-24 Thread Aaron Merey
debuginfod_validate_imasig might call free on an uninitialized sig_buf due to a goto that can occur before sig_buf is set to NULL. Fix this by setting sig_buf to NULL before the goto. Signed-off-by: Aaron Merey --- debuginfod/debuginfod-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio