[asterisk-bugs] [Asterisk 0013570]: [patch] Malformed registration line is copied verbatim in To and From headers

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Sep 26 18:53:53 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13570 
====================================================================== 
Reported By:                putnopvut
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13570
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0-rc6 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-26 18:37 CDT
Last Modified:              2008-09-26 18:53 CDT
====================================================================== 
Summary:                    [patch] Malformed registration line is copied
verbatim in To and From headers
Description: 
If a register line in Asterisk is mistyped, like "register => register =>
user:password at domain/contact", then the To and From headers Asterisk sends
out will contain the (unquoted) string

"sip:register => user:password at domain/contact>"

We should check for reserved characters, print a big warning message, and
not send a REGISTER if they are present in any of the individual components
on the register line.
====================================================================== 

---------------------------------------------------------------------- 
 (0092898) putnopvut (administrator) - 2008-09-26 18:53
 http://bugs.digium.com/view.php?id=13570#c92898 
---------------------------------------------------------------------- 
The uploaded patch will not allow for reserved characters to be used in the
username, secret, or authuser portions of the register line in sip.conf.
Limited testing shows that this works effectively. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-26 18:53 putnopvut      Note Added: 0092898                          
======================================================================




More information about the asterisk-bugs mailing list