From: Russell Bryant Date: Tue, 19 Jun 2007 16:46:43 +0000 (+0000) Subject: Blocked revisions 69990 via svnmerge X-Git-Tag: 1.4.6~83 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=217d6f80ea329fd064a5a49edbbbaec49a0b4528;p=thirdparty%2Fasterisk.git Blocked revisions 69990 via svnmerge ........ r69990 | russell | 2007-06-19 11:45:37 -0500 (Tue, 19 Jun 2007) | 12 lines Backport fix for crashes related to subscriptions from 1.4 ... Fix a crash that could occur when handing device state changes. When the state of a device changes, the device state thread tells the extension state handling code that it changed. Then, the extension state code calls the callback in chan_sip so that it can update subscriptions to that extension. A pointer to a sip_pvt structure is passed to this function as the call which needs a NOTIFY sent. However, there was no locking done to ensure that the pvt struct didn't disappear during this process. (issue #9946, reported by tdonahue, patch by me, patch updated to trunk to use the sip_pvt lock wrappers by eliel) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@69991 65c4cc65-6c06-0410-ace0-fbb531ad65f3 ---