mirror of
https://github.com/openharmony/third_party_elfutils.git
synced 2026-07-20 23:45:11 -04:00
debuginfod-client: Initialize struct handle_data errbuf to the empty string.
Signed-off-by: Mark Wielaard <mark@klomp.org>
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user