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

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


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17919 
====================================================================== 
Reported By:                rain
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17919
Category:                   Channels/chan_iax2
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     new
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:              
====================================================================== 
Date Submitted:             2010-08-27 15:11 CDT
Last Modified:              2010-08-27 15:11 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-27 15:11 rain           New Issue                                    
2010-08-27 15:11 rain           Asterisk Version          => Older 1.6.2 -
please test a newer version
2010-08-27 15:11 rain           Regression                => No              
2010-08-27 15:11 rain           SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list