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

Sean Bright (JIRA) noreply at issues.asterisk.org
Wed Sep 30 08:49:36 CDT 2020


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

Sean Bright commented on ASTERISK-29091:
----------------------------------------

[~jvanderneut], can you please respond to [~jcolp]'s questions? This fix seems like a band-aid on a larger problem.

> 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