Skip to content

fix(dns): race condition when resolving a domain name

Félix Olart requested to merge fix/FLEXISIP-616-race-condition-dns-resolution into bc

Under certain circumstances (e.g., SIP timer F triggered along with tport being closed), two successive 'A' or 'AAAA' DNS requests can be sent from the same sipdns_resolver instance. This leads to a crash (SIGSEGV) as it cannot handle several requests and responses at the same time.

FLEXISIP-616 FLEXISIP-652

Edited by Félix Olart

Merge request reports