]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[sofia-sip] scan-build: Fix "Result of operation is garbage or undefined" in sres_log... 391/head
authorAndrey Volk <andywolk@gmail.com>
Wed, 19 Feb 2020 21:47:54 +0000 (01:47 +0400)
committerAndrey Volk <andywolk@gmail.com>
Wed, 19 Feb 2020 21:47:54 +0000 (01:47 +0400)
libs/sofia-sip/.update
libs/sofia-sip/libsofia-sip-ua/sresolv/sres.c

index 0d656974e6210ffcae5e88385b0cc753d1d6b5b2..9e9891a5b46685377fe8a443e5df03c3406e2103 100644 (file)
@@ -1 +1 @@
-Thu Feb 13 14:53:01 UTC 2020
+Wed Feb 19 21:45:20 UTC 2020
index a06650b13e76218fceb08c6e0731e93e54c653fb..07e3e322b4e65add88620f166e34c5f51e71c7f2 100644 (file)
@@ -3460,7 +3460,7 @@ sres_resolver_receive(sres_resolver_t *res, int socket)
   sres_record_t **reply;
   sres_server_t *dns;
 
-  struct sockaddr_storage from[1];
+  struct sockaddr_storage from[1] = { 0 };
   socklen_t fromlen = sizeof from;
 
   SU_DEBUG_9(("%s(%p, %u) called\n", "sres_resolver_receive",