]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[sofia-sip] Sip crash on unresolvable dns resolution error of outbound request. 511/head
authorAndrey Volk <andywolk@gmail.com>
Mon, 16 Mar 2020 18:38:47 +0000 (22:38 +0400)
committerAndrey Volk <andywolk@gmail.com>
Mon, 16 Mar 2020 18:38:47 +0000 (22:38 +0400)
libs/sofia-sip/.update
libs/sofia-sip/libsofia-sip-ua/nta/nta.c

index 379d5d609cd93f563ef63d8d9b2d7bb917f1fad2..0a25dc4ef5b5a8b0a9f689bc7f10bb410cfd1465 100644 (file)
@@ -1 +1 @@
-Mon Feb 24 22:07:30 UTC 2020
+Mon Mar 16 18:37:11 UTC 2020
index 81f849aea886dc40c9137fa21cb6374d2b6a4863..ca67cc032fe8dab7ba040e2d27ece1c9ffecb4a0 100644 (file)
@@ -10886,6 +10886,8 @@ void outgoing_answer_a(sres_context_t *orq, sres_query_t *q,
 
   if (results)
     outgoing_query_results(orq, sq, results, found);
+  else if (!q)
+    outgoing_resolving_error(orq, SIPDNS_503_ERROR);
 }
 
 /** Store A/AAAA query results */