[asterisk-bugs] [Asterisk 0017920]: schedule_delivery calls ast_bridged_channel() on an unlocked channel

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Aug 27 15:33:23 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17920 
====================================================================== 
Reported By:                rain
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   17920
Category:                   Channels/chan_iax2
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           Older 1.6.2 - please test a newer version 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 duplicate
Duplicate:                  17919
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-08-27 15:11 CDT
Last Modified:              2010-08-27 15:33 CDT
====================================================================== 
Summary:                    schedule_delivery calls ast_bridged_channel() on an
unlocked channel
Description: 
Near the beginning of schedule_delivery(), ast_bridged_channel() is called
on iaxs[fr->callno]->owner; however, that channel is not locked, which can
result in ast_bridged_channel() crashing should owner->tech change to a
technology that doesn't implement bridged_channel.  I spoke with briefly
with russellb on IRC who agreed that this usage is unsafe.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0017919 schedule_delivery calls ast_bridged_cha...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-27 15:33 qwell          Relationship added       duplicate of 0017919
2010-08-27 15:33 qwell          Duplicate ID             0 => 17919          
2010-08-27 15:33 qwell          Status                   new => resolved     
2010-08-27 15:33 qwell          Resolution               open => duplicate   
2010-08-27 15:33 qwell          Assigned To               => qwell           
2010-08-27 15:33 qwell          Status                   resolved => closed  
======================================================================




More information about the asterisk-bugs mailing list