[asterisk-bugs] [Asterisk 0015345]: [patch] SIP deadlock in 1.4 revision 199472
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Jun 22 09:35:40 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15345
======================================================================
Reported By: aragon
Assigned To: mmichelson
======================================================================
Project: Asterisk
Issue ID: 15345
Category: Channels/chan_sip/General
Reproducibility: random
Severity: major
Priority: normal
Status: closed
Asterisk Version: 1.4.26-rc1
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 199472
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-06-17 13:11 CDT
Last Modified: 2009-06-22 09:35 CDT
======================================================================
Summary: [patch] SIP deadlock in 1.4 revision 199472
Description:
After some brief time SIP will lock and no calls will process.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0015213 [patch] asterisk lock in sipsock_read f...
related to 0014464 [patch] lock during simple call processing
======================================================================
----------------------------------------------------------------------
(0106801) svnbot (reporter) - 2009-06-22 09:35
https://issues.asterisk.org/view.php?id=15345#c106801
----------------------------------------------------------------------
Repository: asterisk
Revision: 202338
_U branches/1.6.0/
U branches/1.6.0/channels/chan_sip.c
------------------------------------------------------------------------
r202338 | mmichelson | 2009-06-22 09:35:35 -0500 (Mon, 22 Jun 2009) | 38
lines
Merged revisions 202337 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r202337 | mmichelson | 2009-06-22 09:35:09 -0500 (Mon, 22 Jun 2009) | 31
lines
Merged revisions 202336 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r202336 | mmichelson | 2009-06-22 09:34:05 -0500 (Mon, 22 Jun 2009) |
25 lines
Fix a possible infinite loop in SDP parsing during glare situation.
There was a while loop in get_ip_and_port_from_sdp which was
controlled
by a call to get_sdp_iterate. The loop would exit either if what we
were
searching for was found or if the return was NULL. The problem is that
get_sdp_iterate never returns NULL. This means that if what we were
searching
for was not present, the loop would run infinitely. This modification
of the
loop fixes the problem.
(closes issue https://issues.asterisk.org/view.php?id=15213)
Reported by: schmidts
(closes issue https://issues.asterisk.org/view.php?id=15349)
Reported by: samy
(closes issue https://issues.asterisk.org/view.php?id=14464)
Reported by: pj
(closes issue https://issues.asterisk.org/view.php?id=15345)
Reported by: aragon
Patches:
sip_inf_loop.patch uploaded by mmichelson (license 60)
Tested by: aragon
........
................
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=202338
Issue History
Date Modified Username Field Change
======================================================================
2009-06-22 09:35 svnbot Checkin
2009-06-22 09:35 svnbot Note Added: 0106801
======================================================================
More information about the asterisk-bugs
mailing list