debuginfod-client: Initialize struct handle_data errbuf to the empty string.

Signed-off-by: Mark Wielaard <mark@klomp.org>
This commit is contained in:
Mark Wielaard
2020-11-23 17:52:02 +01:00
parent 609053a588
commit 6b82ac67d8
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -1,3 +1,8 @@
2020-11-23 Mark Wielaard <mark@klomp.org>
* debuginfod-client.c (debuginfod_query_server): Initialize
struct handle_data errbuf to the empty string.
2020-11-11 Mark Wielaard <mark@klomp.org>
* debuginfod-client.c (debuginfod_set_verbose_fd): New function.
+1
View File
@@ -756,6 +756,7 @@ debuginfod_query_server (debuginfod_client *c,
{
data[i].handle = NULL;
data[i].fd = -1;
data[i].errbuf[0] = '\0';
}
char *strtok_saveptr;