[asterisk-bugs] [Asterisk 0014293]: Crash if SIP MESSAGE is more than 64 lines

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 21 04:34:09 CST 2009


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14293 
====================================================================== 
Reported By:                triccyx
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   14293
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.0 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-01-21 04:15 CST
Last Modified:              2009-01-21 04:34 CST
====================================================================== 
Summary:                    Crash if SIP MESSAGE is more than 64 lines
Description: 
Il sip MESSAGE is more then 64 lines crash in

static int parse_request(struct sip_request *req)

check:

if (!ast_strlen_zero(dst[i])) {
		if (sipdebug)
			ast_debug(4, "%7s %2d [%3d]: %s\n",
				req->headers < 0 ? "Header" : "Body",
				i, (int)strlen(dst[i]), dst[i]);
		i++;
	}


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

---------------------------------------------------------------------- 
 (0098309) russell (administrator) - 2009-01-21 04:34
 http://bugs.digium.com/view.php?id=14293#c98309 
---------------------------------------------------------------------- 
The code that you refer to no longer exists in the latest code.  It has
already been fixed to account for the case that caused a crash.

Thanks for the report. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-21 04:34 russell        Note Added: 0098309                          
2009-01-21 04:34 russell        Status                   new => resolved     
2009-01-21 04:34 russell        Resolution               open => fixed       
2009-01-21 04:34 russell        Assigned To               => russell         
2009-01-21 04:34 russell        Status                   resolved => closed  
======================================================================




More information about the asterisk-bugs mailing list