Re: [PATCH] debuginfod: Clear and reset debuginfod_client winning_headers on reuse

2021-12-07 Thread Mark Wielaard
Hi Frank, On Mon, 2021-12-06 at 13:41 -0500, Frank Ch. Eigler wrote: > gcc address sanitizer detected a leak of the debuginfod_client > > winning_headers when the handle was reused. Make sure to free and > > reset the winning_headers field before reuse. > > This is good. Thanks, pushed. Cheers,

Re: [PATCH] debuginfod: Clear and reset debuginfod_client winning_headers on reuse

2021-12-06 Thread Frank Ch. Eigler via Elfutils-devel
Hi - > gcc address sanitizer detected a leak of the debuginfod_client > winning_headers when the handle was reused. Make sure to free and > reset the winning_headers field before reuse. This is good. (Note we're not actually using these winning_headers bits for anything. That was to be part of

[PATCH] debuginfod: Clear and reset debuginfod_client winning_headers on reuse

2021-12-04 Thread Mark Wielaard
gcc address sanitizer detected a leak of the debuginfod_client winning_headers when the handle was reused. Make sure to free and reset the winning_headers field before reuse. Signed-off-by: Mark Wielaard --- debuginfod/ChangeLog | 5 + debuginfod/debuginfod-client.c | 7 ++- 2