[Nice] [nice/master] Init variable to 0 before going further
Olivier Crête
olivier.crete at collabora.co.uk
Wed Nov 5 14:01:40 PST 2008
---
stun/tests/test-format.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/stun/tests/test-format.c b/stun/tests/test-format.c
index 73e1e4f..5e38c45 100644
--- a/stun/tests/test-format.c
+++ b/stun/tests/test-format.c
@@ -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);
--
1.5.6.5
More information about the Nice
mailing list