[asterisk-bugs] [JIRA] (ASTERISK-30375) res_http_media_cache: Crash when URL has no path component.
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Tue Jan 3 09:31:03 CST 2023
[ https://issues.asterisk.org/jira/browse/ASTERISK-30375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Friendly Automation closed ASTERISK-30375.
------------------------------------------
Resolution: Fixed
> 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
>
> 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