Files
asterisk/channels
Mark Michelson 8a7dd2f408 Fix a crash that occurred when a BYE was received on a replaced dialog.
Reference counting for the channel and its tech_pvt got messed up at
some point between 1.8 and 11. The result was that if a BYE for a dialog
that had been replaced (via an INVITE with Replaces) was received, Asterisk
would crash due to trying to access data on a channel that was no longer there.

The fix I introduced is to remove code that both unrefs the sip_pvt and sets
the channel's tech_pvt to NULL when an INVITE with Replaces is handled. This
way when a BYE is received, the tech_pvt will be non-NULL and so the BYE can
be processed and not cause a crash.

(closes issue ASTERISK-20929)
reported by Kristopher Lalletti
patches:
	ASTERISK-20929.patch uploaded by Mark Michelson (License #5049)
........

Merged revisions 381566 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@381568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-02-15 18:51:40 +00:00
..
2012-10-14 21:47:40 +00:00
2012-10-14 21:47:40 +00:00
2012-10-14 21:47:40 +00:00
2012-10-14 21:47:40 +00:00
2012-10-14 21:47:40 +00:00
2013-01-16 17:49:52 +00:00
2012-10-14 21:47:40 +00:00
2012-10-14 21:47:40 +00:00
2012-10-14 21:47:40 +00:00
2012-06-15 16:20:16 +00:00
2012-11-07 19:15:26 +00:00
2012-11-07 19:15:26 +00:00
2012-08-30 14:23:28 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00