Skip to content

Commit

Permalink
Merge pull request signalwire#511 from signalwire/sofia_dns_crash
Browse files Browse the repository at this point in the history
[sofia-sip] Sip crash on unresolvable dns resolution error of outbound request.
  • Loading branch information
andywolk authored Mar 16, 2020
2 parents 3a0ee19 + 93ce1a3 commit ac64d8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libs/sofia-sip/.update
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Mon Feb 24 22:07:30 UTC 2020
Mon Mar 16 18:37:11 UTC 2020
2 changes: 2 additions & 0 deletions libs/sofia-sip/libsofia-sip-ua/nta/nta.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit ac64d8e

Please sign in to comment.