[asterisk-bugs] [JIRA] (ASTERISK-30375) res_http_media_cache: Crash when URL has no path component.

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Mar 2 10:54:03 CST 2023


     [ https://issues.asterisk.org/jira/browse/ASTERISK-30375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-30375:
-------------------------------------

    Target Release Version/s: 18.17.0

> res_http_media_cache: Crash when URL has no path component.
> -----------------------------------------------------------
>
>                 Key: ASTERISK-30375
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30375
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_http_media_cache
>    Affects Versions: 18.15.0, 20.0.0
>            Reporter: Sean Bright
>            Assignee: Holger Hans Peter Freyther
>      Target Release: 18.17.0
>
>
> Asterisk will crash when a URL has no path component as in this case the ast_uri_path function will return NULL.
> The below causes a crash:
> {noformat}
> *CLI> media cache create http://google.com /tmp/foo.wav
> {noformat}



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



More information about the asterisk-bugs mailing list