]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix segfault in chan_dahdi for CHANNEL(dahdi_span) evaluation on hangup.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 4 Jan 2012 20:50:24 +0000 (20:50 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 4 Jan 2012 20:50:24 +0000 (20:50 +0000)
commit2defa0b88e3990590fa1219208af81505a0ce0eb
treec51948227d2732b9ddf2a6dc2ea3df79bb29c7f7
parent51620e6c29e3bedca2c4cea81e83f8eef4727691
Fix segfault in chan_dahdi for CHANNEL(dahdi_span) evaluation on hangup.

* Added NULL private pointer checks in the following chan_dahdi channel
callbacks: dahdi_func_read(), dahdi_func_write(), dahdi_setoption(), and
dahdi_queryoption().

(closes issue ASTERISK-19142)
Reported by: Diego Aguirre
Tested by: rmudgett
........

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

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