]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bundled pjproject: Crashes while resolving DNS names. 30/4230/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 22:15:32 +0000 (17:15 -0500)
commit6feee22e094c6eb9df7e9682cfffe7b05dd61fce
treee9420aed99517260ae249e642c7d566aeb5c5d84
parent2995b31d189a12e19d5a9a1df07cf9ae8ac5b39a
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]