From fc6b47fe6aca39699668cbba74d110b988270abc Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Sun, 5 Jan 2014 13:29:46 +0000 Subject: [PATCH] upnpsoap: fix incorrectly formed Samsung GetFeatureList reply Bug raised here https://sourceforge.net/p/minidlna/bugs/210/, and also mentioned in http://sourceforge.net/p/minidlna/discussion/879956/thread/34276163/. However patch given needs to correctly escaped to work otherwise the renderer will get stuck in an endless loop. Signed-off-by: Spencer Oliver --- upnpsoap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/upnpsoap.c b/upnpsoap.c index e5e1564..1d6df81 100644 --- a/upnpsoap.c +++ b/upnpsoap.c @@ -1786,6 +1786,7 @@ SamsungGetFeatureList(struct upnphttp * h, const char * action) "<container id=\"2\" type=\"object.item.videoItem\"/>" "<container id=\"3\" type=\"object.item.imageItem\"/>" "</Feature>" + "</Features>" ""; BuildSendAndCloseSoapResp(h, resp, sizeof(resp)-1);