[TBT][Push Service][TFDF-5574, Push app was crashing on select] 13/215813/2
authorPriya Kohli <priya.kohli@samsung.com>
Wed, 16 Oct 2019 07:14:23 +0000 (12:44 +0530)
committershobhit verma <shobhit.v@samsung.com>
Wed, 16 Oct 2019 07:23:35 +0000 (07:23 +0000)
Change-Id: I4e0bda69650093294d43768e1b99302f5a2359ca
Signed-off-by: Priya Kohli <priya.kohli@samsung.com>
release/binary-armv7l/org.tizen.tbtcoreapp-1.0.0-arm.tpk
release/binary-x86/org.tizen.tbtcoreapp-1.0.0-x86.tpk
tbtcoreapp/src/view/tbt-push-view.c

index 990cdada2d4d0b3623fd5cb1fed403ed10ca1b1c..1b039f586c50fbe649bfe4649939d1f06cde66dd 100644 (file)
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
index e6fe775a6d779becc719e97a36658820324c8866..c1e972be1f0f28314ed6976588fa718494b1648a 100644 (file)
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
index e91d9d1d51da52e557aa5d025ba2b44cf1871a1f..390e83eb33bbe66b259e1f2b3b539a2ad8e507cd 100644 (file)
@@ -334,6 +334,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);
            }