[Home]

Summary:ASTERISK-04349: [patch] SIP registration possible crash
Reporter:Olle Johansson (oej)Labels:
Date Opened:2005-06-04 15:51:20Date Closed:2008-01-15 15:37:08.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/Registration
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) sipregexp.txt
Description:Based on bug report in IRC, I found a possible error in the register fix the other day. We check r->expire when there's no r ... Hrrrmpph.

Thank you Mark Bryars for reporting this to me!

At the same time as I fixed this, I rearranged the code to return error return earlier in the code.
Comments:By: darkskiez (darkskiez) 2005-06-04 23:22:47

I've tested this patch and It has solved this crash, cheers for such a prompt fix!

By: Olle Johansson (oej) 2005-06-05 03:08:24

Ok, tested and ready for cvs. A bit of an urgency I presume, since this causes a crash.

By: Kevin P. Fleming (kpfleming) 2005-06-05 10:34:27

Committed to CVS HEAD, thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:37:08.000-0600

Repository: asterisk
Revision: 5841

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r5841 | kpfleming | 2008-01-15 15:37:07 -0600 (Tue, 15 Jan 2008) | 2 lines

correct oops in recent outbound registration rework (bug ASTERISK-4349)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=5841