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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jun 17 17:19:11 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:                     assigned
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-17 17:19 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)


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

---------------------------------------------------------------------- 
 (0123562) dvossel (administrator) - 2010-06-17 17:19
 https://issues.asterisk.org/view.php?id=17437#c123562 
---------------------------------------------------------------------- 
I uploaded a patch, please test it and verify whether or not this resolves
the issue. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-17 17:19 dvossel        Note Added: 0123562                          
======================================================================




More information about the asterisk-bugs mailing list