Commit 24019013 authored by Luca Boccassi's avatar Luca Boccassi

Problem: test_srcfd uses unitialised memory

Solution: memset temporary buffer before use to reduce Valgrind noise
parent 302c7bee
......@@ -62,6 +62,7 @@ int main (void)
assert (rc == 0);
char tmp[MSG_SIZE];
memset (tmp, 0, MSG_SIZE);
zmq_send(req, tmp, MSG_SIZE, 0);
zmq_msg_t msg;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment