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-Tag: v4.2.6~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7f44b13d28e9e23109187679e78886b50fcf61d3;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 2721b9afd..fac9fc85c 100644 --- a/src/satip/server.c +++ b/src/satip/server.c @@ -132,6 +132,8 @@ satip_server_http_xml(http_connection_t *hc) {} }; + if (http_server_ip == NULL) + return HTTP_STATUS_NOT_FOUND; htsbuf_queue_init(&q, 0);