From: Jaroslav Kysela Date: Sun, 25 Mar 2018 16:30:49 +0000 (+0200) Subject: SAT>IP server: don't serve XML description when not enabled, fixes #5029 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c0d98c4f68aa57aa5d40677d03c96c84ff4b0d0;p=thirdparty%2Ftvheadend.git SAT>IP server: don't serve XML description when not enabled, fixes #5029 --- diff --git a/src/satip/server.c b/src/satip/server.c index a53484d05..5e7c83bcb 100644 --- a/src/satip/server.c +++ b/src/satip/server.c @@ -133,6 +133,8 @@ satip_server_http_xml(http_connection_t *hc) {} }; + if (http_server_ip == NULL) + return HTTP_STATUS_NOT_FOUND; htsbuf_queue_init(&q, 0);