[asterisk-bugs] [JIRA] (ASTERISK-30379) http: fix NULL pointer dereference while enable_status on TLS-only

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


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

Asterisk Team updated ASTERISK-30379:
-------------------------------------

    Target Release Version/s: 18.17.0

> http: fix NULL pointer dereference while enable_status on TLS-only
> ------------------------------------------------------------------
>
>                 Key: ASTERISK-30379
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30379
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/HTTP
>    Affects Versions: 16.29.1, 18.15.1, 19.7.1, 20.0.1
>         Environment: FreeBSD 13/stable
>            Reporter: Boris P. Korzun
>            Assignee: Boris P. Korzun
>      Target Release: 18.17.0
>
>
> There's an regression after [http.c: Add ability to create multiple HTTP servers|https://gerrit.asterisk.org/c/asterisk/+/17471].
> If native HTTP is disabled ({{enabled=no}}) but HTTPS is enabled ({{tls_enable=yes}}) and status page enabled too ({{enable_status=yes}}), {{http}} is falling while loading. {{global_http_server}} is NULL.
> Suggested patch adds a check for HTTP is enabled ({{global_http_server = NULL}}) for output the rows from the status page.



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



More information about the asterisk-bugs mailing list