Merge pull request #511 from signalwire/sofia_dns_crash

[sofia-sip] Sip crash on unresolvable dns resolution error of outbound request.
This commit is contained in:
Andrey Volk 2020-03-16 22:57:05 +04:00 committed by GitHub
commit ac64d8e78d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -1 +1 @@
Mon Feb 24 22:07:30 UTC 2020 Mon Mar 16 18:37:11 UTC 2020

View File

@ -10886,6 +10886,8 @@ void outgoing_answer_a(sres_context_t *orq, sres_query_t *q,
if (results) if (results)
outgoing_query_results(orq, sq, results, found); outgoing_query_results(orq, sq, results, found);
else if (!q)
outgoing_resolving_error(orq, SIPDNS_503_ERROR);
} }
/** Store A/AAAA query results */ /** Store A/AAAA query results */