[asterisk-bugs] [Asterisk 0016046]: [patch] crash in ast_rtp_instance_early_bridge_make_compatible() when directmedia=yes

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jul 28 15:41:26 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16046 
====================================================================== 
Reported By:                ebroad
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16046
Category:                   Channels/chan_skinny
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                       SWP-1958 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-08 16:50 CDT
Last Modified:              2010-07-28 15:41 CDT
====================================================================== 
Summary:                    [patch] crash in
ast_rtp_instance_early_bridge_make_compatible() when directmedia=yes
Description: 
Looks like glue1->get_codec() is null in
ast_rtp_instance_early_bridge_make_compatible.
====================================================================== 

---------------------------------------------------------------------- 
 (0125228) wedhorn (developer) - 2010-07-28 15:41
 https://issues.asterisk.org/view.php?id=16046#c125228 
---------------------------------------------------------------------- 
Dan, worth testing to see if the various things exist (and also, use l for
line). I'd suggest, or equivalent:

if (chan->techpvt && chan->tech_pvt->parent) {
  return chan->tech_pvt->parent->capability;
}

PS we really need to rename sub->parent to sub->line. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-28 15:41 wedhorn        Note Added: 0125228                          
======================================================================




More information about the asterisk-bugs mailing list