[Asterisk-code-review] http.c: Fix NULL pointer dereference bug (asterisk[18])
Boris P. Korzun
asteriskteam at digium.com
Thu Dec 29 01:55:16 CST 2022
Attention is currently required from: Boris P. Korzun.
Hello N A, Friendly Automation,
I'd like you to reexamine a change. Please visit
https://gerrit.asterisk.org/c/asterisk/+/19780
to look at the new patch set (#2).
Change subject: http.c: Fix NULL pointer dereference bug
......................................................................
http.c: Fix NULL pointer dereference bug
If native HTTP is disabled but HTTPS is enabled and status page enabled
too, Core/HTTP crashes while loading. 'global_http_server' references
to NULL, but the status page tries to dereference it.
The patch adds a check for HTTP is enabled.
ASTERISK-30379 #close
Change-Id: I11b02fc920b72aaed9c809fc43210523ccfdc249
---
M main/http.c
1 file changed, 26 insertions(+), 5 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/80/19780/2
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/19780
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 18
Gerrit-Change-Id: I11b02fc920b72aaed9c809fc43210523ccfdc249
Gerrit-Change-Number: 19780
Gerrit-PatchSet: 2
Gerrit-Owner: Boris P. Korzun <drtr0jan at yandex.ru>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: N A <asterisk at phreaknet.org>
Gerrit-Attention: Boris P. Korzun <drtr0jan at yandex.ru>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20221229/54a0b418/attachment.html>
More information about the asterisk-code-review
mailing list