[asterisk-bugs] [Asterisk 0017663]: [patch] IPv6: get_refer_info

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 3 11:17:39 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17663 
====================================================================== 
Reported By:                oej
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   17663
Category:                   Channels/chan_sip/IPv6
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     assigned
Target Version:             1.6.2.12
Asterisk Version:           SVN 
JIRA:                       SWP-1864 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 277027 
Request Review:              
====================================================================== 
Date Submitted:             2010-07-16 07:45 CDT
Last Modified:              2010-08-03 11:17 CDT
====================================================================== 
Summary:                    [patch] IPv6: get_refer_info
Description: 
14207                 domain = ptr;
14208                 if ((ptr = strchr(domain, ':'))) {      /* Remove
:port */
14209                         *ptr = '\0';
14210                 }
14211 


Another case where we just search for : to separate host and port
====================================================================== 

---------------------------------------------------------------------- 
 (0125476) mmichelson (administrator) - 2010-08-03 11:17
 https://issues.asterisk.org/view.php?id=17663#c125476 
---------------------------------------------------------------------- 
There is one more place that I can find that needs to be addressed, and I
apologize for not pointing it out in my initial description of the
problem.

In the get_domain() function, there is a strchr() statement to try to
strip off the port from the domain. Much like the problem in
get_refer_info(), this will not work correctly when IPv6 addresses are
encountered. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-03 11:17 mmichelson     Note Added: 0125476                          
======================================================================




More information about the asterisk-bugs mailing list