From: ABHISHEK JAIN Date: Mon, 21 Oct 2019 08:58:37 +0000 (+0530) Subject: [TBT][DNS-SD/SSDP][TFDF-6337: SSDP Remote - Guide not same screen display] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dbfc69baa137fa4643102eae3cafe453da8dfa22;p=test%2Ftct%2Fnative%2Fbehavior.git [TBT][DNS-SD/SSDP][TFDF-6337: SSDP Remote - Guide not same screen display] Change-Id: Ic151d1514a0c1c2d26c45fe3e29561e96591f23a Signed-off-by: ABHISHEK JAIN --- diff --git a/release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk b/release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk index 25890d6..9a9a532 100644 Binary files a/release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk and b/release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk differ diff --git a/release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk b/release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk index 5c201de..b762825 100644 Binary files a/release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk and b/release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk differ diff --git a/tbtcoreapp/src/model/tbt-list.c b/tbtcoreapp/src/model/tbt-list.c index da9b466..d5a830a 100644 --- a/tbtcoreapp/src/model/tbt-list.c +++ b/tbtcoreapp/src/model/tbt-list.c @@ -2033,8 +2033,8 @@ static tbt_info tbtapps[] = .apptype = TBT_APP_NSD_SSDP_REMOTE, .icon_name = "dummy", .info = "1. Connect test device to a Wi-Fi network same as DNS-SD Local module connected in.
" - "2. “dnssd initialized” will be shown in bottom list.
" - "3. Press Add Record button. Then, “local service registered” will be seen in bottom list and in top list added text with key value pair will be seen.", + "2. “ssdp initialized” will be shown in bottom list.
" + "3. Press Add Service button. Then, “service created” will be seen in bottom list and in top list added url, usn will be seen.", .result = 0, .required_features_count = 1, .features_required = {FEATURE_NETWORK_SERVICE_DISCOVERY_SSDP} diff --git a/tbtcoreapp/src/view/tbt-push-view.c b/tbtcoreapp/src/view/tbt-push-view.c index 824b719..c6a8138 100644 --- a/tbtcoreapp/src/view/tbt-push-view.c +++ b/tbtcoreapp/src/view/tbt-push-view.c @@ -250,6 +250,9 @@ static char* get_xml_element_value (xmlDocPtr doc, xmlNodePtr cur, const char* t while (cur != NULL) { if ((!xmlStrcmp(cur->name, (const xmlChar *)tag))) { key = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1); + if(!key) { + return NULL; + } str = strdup((char*)key); xmlFree(key); }