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

Sean Bright (JIRA) noreply at issues.asterisk.org
Fri Dec 23 14:20:58 CST 2022


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

Sean Bright reassigned ASTERISK-30375:
--------------------------------------

    Assignee: Sean Bright

> 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: Sean Bright
>
> 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