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

Jasper van der Neut (JIRA) noreply at issues.asterisk.org
Wed Sep 23 03:52:36 CDT 2020


Jasper van der Neut created ASTERISK-29091:
----------------------------------------------

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


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