rblibtorrent, deluge: broken for ages, moved to abandoned github feed
[openwrt.org/packages.git] / libs / 001-memset_fix.patch
1
2
3
4
5
6
7
8
9
10
11
12
--- a/src/stun.c
+++ b/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)
    {
 
comments