[asterisk-bugs] [Asterisk 0017437]: [patch] crash when From header URI misses "sip:"

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 21 15:46:22 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17437 
====================================================================== 
Reported By:                klaus3000
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   17437
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
JIRA:                       SWP-1622 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-06-01 09:57 CDT
Last Modified:              2010-06-21 15:46 CDT
====================================================================== 
Summary:                    [patch] crash when From header URI misses "sip:"
Description: 
<--- SIP read from UDP:88.198.53.113:5060 --->
INVITE sip:01505641636 at 83.136.32.165 SIP/2.0
Record-Route: <sip:88.198.53.113;lr=on>
Via: SIP/2.0/UDP 88.198.53.113;branch=z9hG4bKfe63.5c00b695.0
Via: SIP/2.0/UDP
10.10.0.51:17681;received=83.136.33.3;branch=z9hG4bK-d8754z-22352963c346652c-1---d8754z-;rport=17681
Max-Forwards: 69
Contact: <sip:klaus at 83.136.33.3:17681;transport=udp>
To: "01505641636"<sip:01505641636 at 83.136.32.165>
Call-ID: MGE3ZTA3NDVjNzg4Y2ZlYThmNGJmNTk3MTdlYjRmYTM.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: eyeBeam release 1102q stamp 51814
Content-Length: 213
From: foobar at pernau.at;tag=76344e54
P-hint: outbound

v=0
o=- 0 2 IN IP4 83.136.33.3
s=CounterPath eyeBeam 1.5
c=IN IP4 83.136.33.3
t=0 0
m=audio 40552 RTP/AVP 107 0 8 101
a=fmtp:101 0-15
a=rtpmap:107 BV32/16000
a=rtpmap:101 telephone-event/8000
a=sendrecv
<------------->
--- (15 headers 10 lines) ---
  == Using UDPTL TOS bits 204
  == Using UDPTL CoS mark 5
Sending to 88.198.53.113 : 5060 (NAT)
Using INVITE request as basis request -
MGE3ZTA3NDVjNzg4Y2ZlYThmNGJmNTk3MTdlYjRmYTM.
[Jun  1 16:52:37] NOTICE[12857]: chan_sip.c:14210 check_user_full: From
address missing 'sip:', using it anyway
Segmentation fault (core dumped)


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

---------------------------------------------------------------------- 
 (0123675) svnbot (reporter) - 2010-06-21 15:46
 https://issues.asterisk.org/view.php?id=17437#c123675 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 271553

U   trunk/channels/chan_sip.c
U   trunk/channels/sip/reqresp_parser.c

------------------------------------------------------------------------
r271553 | dvossel | 2010-06-21 15:46:21 -0500 (Mon, 21 Jun 2010) | 9 lines

fixes crash when From header URI is missing "sip:"

(closes issue https://issues.asterisk.org/view.php?id=17437)
Reported by: klaus3000
Patches:
      sip_crash uploaded by dvossel (license 671)
Tested by: klaus3000


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-21 15:46 svnbot         Checkin                                      
2010-06-21 15:46 svnbot         Note Added: 0123675                          
======================================================================




More information about the asterisk-bugs mailing list