debuginfod-client: Initialize struct handle_data errbuf to the empty string.
[platform/upstream/elfutils.git] / debuginfod / debuginfod-client.c
index 2bf1543..a99f3c1 100644 (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;