X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=libustconsumer%2Flibustconsumer.c;h=c51b1066b84e138158c150e73f4a41947687bea7;hb=eb52c24a03c9995d989356c0ae05730ea8da9ce7;hp=25c84ce0c48d36b20ef6369e8f0a60d5a2508293;hpb=4007533b5dfd45dbba9b3bb72031861845360fa6;p=ust.git diff --git a/libustconsumer/libustconsumer.c b/libustconsumer/libustconsumer.c index 25c84ce..c51b106 100644 --- a/libustconsumer/libustconsumer.c +++ b/libustconsumer/libustconsumer.c @@ -621,7 +621,7 @@ static void process_client_cmd(int sock, struct ustcomm_header *req_header, char *recvbuf, struct ustconsumer_instance *instance) { int result; - struct ustcomm_header _res_header; + struct ustcomm_header _res_header = {0}; struct ustcomm_header *res_header = &_res_header; struct ustcomm_buffer_info *buf_inf;