]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bundled pjproject: Crashes while resolving DNS names. 28/4228/1
authorRichard Mudgett <rmudgett@digium.com>
Fri, 28 Oct 2016 19:55:08 +0000 (14:55 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 28 Oct 2016 19:55:08 +0000 (14:55 -0500)
commitd7f457e4c15235e33add6eb66158df0fbd9bf0b5
treec1a301f50cb21e1e66299f8c1f37eff0be7b466c
parent6012db0e0501a880d4ca770422132dd1d01a8b9b
bundled pjproject: Crashes while resolving DNS names.

PJPROJECT 2.5.5 introduced a race condition with the -r5349 IPv6 DNS
patch.

The patches below fix the DNS lookup race condition crash caused by
attempting to send the same message twice for the single DNS lookup.

0006-r5471-svn-backport-Various-fixes-for-DNS-IPv6.patch
0006-r5473-svn-backport-Fix-pending-query.patch

The patch below removes a cached DNS response from the hash table when
another thread is referencing the old entry.  The table still contained
the entry when it was destroyed which can result in inexplicable crashes.

0006-r5475-svn-backport-Remove-DNS-cache-entry.patch

ASTERISK-26344 #close
Reported by: Ian Gilmour

ASTERISK-26387 #close
Reported by: Harley Peters

Change-Id: I17fde80359e66f65a91341ceca58d914d0f61cc4
third-party/pjproject/patches/0006-r5471-svn-backport-Various-fixes-for-DNS-IPv6.patch [new file with mode: 0644]
third-party/pjproject/patches/0006-r5473-svn-backport-Fix-pending-query.patch [new file with mode: 0644]
third-party/pjproject/patches/0006-r5475-svn-backport-Remove-DNS-cache-entry.patch [new file with mode: 0644]