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

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Feb 23 08:25:34 CST 2015


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

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

You are never supposed to have a NULL format. Having one indicates an error elsewhere in the code. Merely adding a NULL check obfuscates the root cause of the problem.

Can you provide:
# The {{sip.conf}} for your configuration
# A pcap showing the message traffic leading up to the crash
# A debug log with 'sip set debug on' that shows the SIP message traffic leading up to the crash

Thanks!

> 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
>         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