Skip to content
Snippets Groups Projects
  • Boris P. Korzun's avatar
    edc90c96
    http.c: Fix NULL pointer dereference bug · edc90c96
    Boris P. Korzun authored
    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
    edc90c96
    History
    http.c: Fix NULL pointer dereference bug
    Boris P. Korzun authored
    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