Commit 95457b20 authored by Olivier Crête's avatar Olivier Crête

Init variable to 0 before going further

parent 7a16e23d
......@@ -96,7 +96,7 @@ finish_check (StunAgent *agent, StunMessage *msg)
uint8_t buf[STUN_MAX_MESSAGE_SIZE + 8];
size_t len;
uint16_t plen;
StunMessage msg2;
StunMessage msg2 = {0};
msg2.agent = msg->agent;
msg2.buffer = buf;
msg2.buffer_len = sizeof(buf);
......
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