[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:12:50 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17920 
====================================================================== 
Reported By:                rain
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17920
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:12 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0126407) rain (reporter) - 2010-08-27 15:12
 https://issues.asterisk.org/view.php?id=17920#c126407 
---------------------------------------------------------------------- 
Crap.  This is a duplicate of https://issues.asterisk.org/view.php?id=17919.  I
didn't expect to get a new
security token when I hit back in Chromium. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-27 15:12 rain           Note Added: 0126407                          
======================================================================




More information about the asterisk-bugs mailing list