[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 10:30:32 CDT 2007
The following issue has been ASSIGNED.
======================================================================
http://bugs.digium.com/view.php?id=10301
======================================================================
Reported By: fnordian
Assigned To: file
======================================================================
Project: Asterisk
Issue ID: 10301
Category: Core/Channels
Reproducibility: sometimes
Severity: crash
Priority: normal
Status: assigned
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 10:30 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.
======================================================================
----------------------------------------------------------------------
svnbot - 07-30-07 10:30
----------------------------------------------------------------------
Repository: asterisk
Revision: 77771
------------------------------------------------------------------------
r77771 | file | 2007-07-30 10:30:31 -0500 (Mon, 30 Jul 2007) | 6 lines
(closes issue http://bugs.digium.com/view.php?id=10301)
Reported by: fnordian
Patches:
asterisk-1.4.9-channel.c.patch uploaded by fnordian (license 110)
Restore previous behavior where if we failed to lock the channel we wanted
we would return to exactly the same point as if we had just reentered the
function.
------------------------------------------------------------------------
Issue History
Date Modified Username Field Change
======================================================================
07-30-07 10:30 svnbot Note Added: 0068057
07-30-07 10:30 svnbot Assigned To russell => file
======================================================================
More information about the asterisk-bugs
mailing list