]> git.ipfire.org Git - thirdparty/elfutils.git/commit
debuginfod: Initialize response_data early in debuginfod-client query
authorMark Wielaard <mark@klomp.org>
Tue, 15 Nov 2022 16:50:01 +0000 (17:50 +0100)
committerMark Wielaard <mark@klomp.org>
Mon, 21 Nov 2022 17:20:59 +0000 (18:20 +0100)
commit274f2376c458ba62534740d1a29e841e930aeda7
treec5be7b1d401842d1b1d8fe7e16ba8f02df3b9463
parent88bab837c1d96a1f9a589dca74101ff378a0ff65
debuginfod: Initialize response_data early in debuginfod-client query

On error going to out2, the response_data is freed. So initialize the
response_data to NULL immediately after allocation or when going back
to query_in_parallel.

Signed-off-by: Mark Wielaard <mark@klomp.org>
debuginfod/ChangeLog
debuginfod/debuginfod-client.c