[Home]

Summary:ASTERISK-13414: Crash if SIP MESSAGE is more than 64 lines
Reporter:triccyx (triccyx)Labels:
Date Opened:2009-01-21 04:15:09.000-0600Date Closed:2009-01-21 04:34:09.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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++;
}

Comments:By: Russell Bryant (russell) 2009-01-21 04:34:09.000-0600

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.