[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:18:58 CST 2022
Sean Bright created ASTERISK-30375:
--------------------------------------
Summary: 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: 20.0.0, 18.15.0
Reporter: 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