[asterisk-bugs] [JIRA] (ASTERISK-29091) Crash when ast_translator_build_path fails

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Sep 30 08:28:36 CDT 2020


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

Friendly Automation commented on ASTERISK-29091:
------------------------------------------------

Change 15006 merged by George Joseph:
channels: Don't dereference NULL pointer

[https://gerrit.asterisk.org/c/asterisk/+/15006|https://gerrit.asterisk.org/c/asterisk/+/15006]

> Crash when ast_translator_build_path fails
> ------------------------------------------
>
>                 Key: ASTERISK-29091
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29091
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Channels
>    Affects Versions: 16.13.0
>         Environment: Debian buster, self compiled asterisk 16.x
>            Reporter: Jasper van der Neut
>            Assignee: Jasper van der Neut
>            Severity: Minor
>
> Multiple times a day asterisk would crash right after logging this:
> {noformat}
> asterisk[8647]: WARNING[13888]: translate.c:488 in ast_translator_build_path: No translator path: (starting codec is not valid)
> {noformat}
> {{ast_translator_build_path}} is called from {{set_format}}, where the result is not checked against NULL before dereferencing the returned pointer.
> This a regression caused by [https://github.com/asterisk/asterisk/commit/c4558236573ac599e6664c47e4db19d8a8eb953e]



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



More information about the asterisk-bugs mailing list