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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 14 15:38:38 CDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13570 
====================================================================== 
Reported By:                putnopvut
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   13570
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-09-26 18:37 CDT
Last Modified:              2008-10-14 15:38 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0093643) svnbot (reporter) - 2008-10-14 15:38
 http://bugs.digium.com/view.php?id=13570#c93643 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 149130

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r149130 | mmichelson | 2008-10-14 15:38:36 -0500 (Tue, 14 Oct 2008) | 7
lines

Don't allow reserved characters to be used in register
lines in sip.conf.

(closes issue http://bugs.digium.com/view.php?id=13570)
Reported by: putnopvut


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-14 15:38 svnbot         Checkin                                      
2008-10-14 15:38 svnbot         Note Added: 0093643                          
2008-10-14 15:38 svnbot         Status                   assigned => resolved
2008-10-14 15:38 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list