]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_dahdi: Fix segfault dereferencing a NULL tech_pvt.
authorRichard Mudgett <rmudgett@digium.com>
Mon, 29 Oct 2012 15:51:24 +0000 (15:51 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 29 Oct 2012 15:51:24 +0000 (15:51 +0000)
commit800c760294dd6fac789eaaa3c3dbb59e9456ce55
tree72466b34cab583af6cdb4b8e6b397b019952bb7d
parent13ec2ea5424d7aef9095bfded6e8ec19bfa056ef
chan_dahdi: Fix segfault dereferencing a NULL tech_pvt.

The tech support customer was using the AMI Redirect action shortly after
a call was placed.  While the channel tried to do an ast_read(), the
masquerade resulting from the channel redirect took place.  The masquerade
in the middle of the ast_read() resulted in the segfault.

(closes issue AST-1025)
Reported by: Trey Blancher
Patches:
      jira_ast_1025_v1.8_v2.patch (license #5621) patch uploaded by rmudgett
........

Merged revisions 375361 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@375362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_dahdi.c