14 lines
436 B
Diff
14 lines
436 B
Diff
Index: ortp-0.16.5/src/stun.c
|
|
===================================================================
|
|
--- ortp-0.16.5.orig/src/stun.c
|
|
+++ ortp-0.16.5/src/stun.c
|
|
@@ -399,7 +399,7 @@ stunParseMessage( char* buf, unsigned in
|
|
char* body;
|
|
unsigned int size;
|
|
ortp_debug("stun: Received stun message: %i bytes\n", bufLen);
|
|
- memset(msg, 0, sizeof(msg));
|
|
+ memset(msg, 0, sizeof(*msg));
|
|
|
|
if (sizeof(StunMsgHdr) > bufLen)
|
|
{
|