]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bundled pjproject: Crashes while resolving DNS names. 29/4229/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:14 +0000 (17:15 -0500)
commit79ac79ab03d21cbf92e7bc72936820748ecbde30
tree203fe2dce1efa48fc8b33d4b43f38664dc739883
parent8b3b9a7b7a600e9a3f9598f949846336591c273a
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]