[asterisk-bugs] [Asterisk 0010301]: [patch] channel_find_locked causes loops (e.g. in handle_chanlist)

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jul 30 09:14:18 CDT 2007


The following issue requires your FEEDBACK. 
====================================================================== 
http://bugs.digium.com/view.php?id=10301 
====================================================================== 
Reported By:                fnordian
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10301
Category:                   Core/Channels
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.9  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-25-2007 09:44 CDT
Last Modified:              07-30-2007 09:14 CDT
====================================================================== 
Summary:                    [patch] channel_find_locked causes loops (e.g. in
handle_chanlist)
Description: 
Hi,
an error in channel_find_locked causes asterisk to loop under certain
circumstances. This happens when the function retries to find a channel
because it was locked. The prev-reference is already overwritten (NULL)
when the function walks through the list again. So the first element
matches and the whole thing (i.e. the using function) might start to loop.

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

---------------------------------------------------------------------- 
 file - 07-30-07 09:14  
---------------------------------------------------------------------- 
I've looked over the existing code, the patch, and don't exactly understand
what you mean. Can you clarify a bit more? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-30-07 09:14  file           Note Added: 0068042                          
07-30-07 09:14  file           Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list