[asterisk-bugs] [JIRA] (ASTERISK-24820) Asterisk Cert 13-1 crashing

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Feb 23 11:11:35 CST 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225073#comment-225073 ] 

Matt Jordan commented on ASTERISK-24820:
----------------------------------------

At the very least, we need the SIP configuration and the SIP debug showing the request that came in.

The crash is occurring due the calculated joint format capabilities having nothing within it, which shouldn't occur due to a format capability structure always having at least one format in it (the "<none>" format). We'll need the message traffic to solve this correctly.

> Asterisk Cert 13-1 crashing
> ---------------------------
>
>                 Key: ASTERISK-24820
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24820
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 13.1.1
>         Environment: Asterisk 13.1-cert1 built by root @ AW-MIA-CORE-07 on a x86_64 running Linux on 2015-02-22 04:21:54 UTC
> Linux AW-MIA-CORE-07 2.6.18-308.4.1.el5 #1 SMP Tue Apr 17 17:08:00 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Fabian Borot
>            Assignee: Fabian Borot
>         Attachments: backtrace Feb 20 submitted to digium.txt
>
>
> Sometimes this function is called with a null pointer and the system crashes:
> ast_format_get_codec_id (format=0x0) at format.c:332
> I am submitting a backtrace as well showing the stack at the moment. We applied a fix in our system to check for null before using the pointer



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list