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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Jan 4 05:17:03 CST 2023


    [ https://issues.asterisk.org/jira/browse/ASTERISK-30375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=261118#comment-261118 ] 

Friendly Automation commented on ASTERISK-30375:
------------------------------------------------

Change 19760 merged by George Joseph:
res_http_media_cache: Do not crash when there is no extension

[https://gerrit.asterisk.org/c/asterisk/+/19760|https://gerrit.asterisk.org/c/asterisk/+/19760]

> 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