[asterisk-bugs] [Asterisk 0019116]: [patch] Crash while transfering a call during DTMF feature timeout.

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 20 11:43:04 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19116 
====================================================================== 
Reported By:                Irontec
Assigned To:                rmudgett
====================================================================== 
Project:                    Asterisk
Issue ID:                   19116
Category:                   Resources/res_features
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.8.3.2 
JIRA:                       SWP-3332 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-04-13 12:03 CDT
Last Modified:              2011-05-20 11:43 CDT
====================================================================== 
Summary:                    [patch] Crash while transfering a call during DTMF
feature timeout.
Description: 
When a call is being attended transfered during the time between 
AST_FRAME_DTMF_BEGIN and AST_FRAME_DTMF_END, transfered channel becomes
zombie (so tech data is not available), making ast_dtmf_stream segfault
when tries to send the DTMF digit (at least with SIP channels). 



====================================================================== 

---------------------------------------------------------------------- 
 (0135199) svnbot (reporter) - 2011-05-20 11:43
 https://issues.asterisk.org/view.php?id=19116#c135199 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 320057

U   branches/1.8/main/channel.c
U   branches/1.8/main/features.c

------------------------------------------------------------------------
r320057 | rmudgett | 2011-05-20 11:43:03 -0500 (Fri, 20 May 2011) | 19
lines

Crash while transferring a call during DTMF feature timeout.

When a call is being attended transferred during the time between
AST_FRAME_DTMF_BEGIN and AST_FRAME_DTMF_END, the transferred channel
becomes a zombie (so tech data is not available), making ast_dtmf_stream()
segfault when it tries to send the DTMF digit (at least with SIP
channels).

Patch based on feature-end-zombie.patch uploaded by Irontec (license 1256)

* Check for zombies when ast_channel_bridge() returns.

* Guarantee that the fo parameter value is initialized in
ast_channel_bridge() before any returns.

(closes issue https://issues.asterisk.org/view.php?id=19116)
Reported by: Irontec
Tested by: rmudgett

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=320057 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-20 11:43 svnbot         Note Added: 0135199                          
======================================================================




More information about the asterisk-bugs mailing list