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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Tue Jan 3 09:50:03 CST 2023


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

Friendly Automation commented on ASTERISK-30379:
------------------------------------------------

Change 19800 merged by Friendly Automation:
http.c: Fix NULL pointer dereference bug

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

> 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
>
> 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