Description: This patch fixes the SVACE bugs
Below are the GWID which are fixed under this patch
207062, 207075
Change-Id: Iece0ca22ce61f3991082f4cdb807c7db9fc45da7
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
Name: wifi-efl-ug
Summary: Wi-Fi UI Gadget for TIZEN
Name: wifi-efl-ug
Summary: Wi-Fi UI Gadget for TIZEN
Release: 1
Group: App/Network
License: Flora-1.1
Release: 1
Group: App/Network
License: Flora-1.1
- if (cur_ptr == NULL) {
- xmlFreeDoc(xml_doc);
- return -1;
- }
-
cur_ptr = cur_ptr->xmlChildrenNode;
for (cur_node = cur_ptr; cur_node; cur_node = cur_node->next) {
if (!xmlStrcmp(cur_node->name, (const xmlChar*)FEATURE_TAG)) {
cur_ptr = cur_ptr->xmlChildrenNode;
for (cur_node = cur_ptr; cur_node; cur_node = cur_node->next) {
if (!xmlStrcmp(cur_node->name, (const xmlChar*)FEATURE_TAG)) {
for (cur_node = cur_ptr; cur_node; cur_node = cur_node->next) {
if (cur_node->type == XML_ELEMENT_NODE) {
node_name = (char *)xmlGetProp(cur_node, (const xmlChar*)"name");
for (cur_node = cur_ptr; cur_node; cur_node = cur_node->next) {
if (cur_node->type == XML_ELEMENT_NODE) {
node_name = (char *)xmlGetProp(cur_node, (const xmlChar*)"name");
+ if (node_name == NULL) {
+ xmlFreeDoc(xml_doc);
+ return -1;
+ }
if (!strncmp(node_name, field, strlen(node_name))) {
node_value = (char *)xmlNodeListGetString(xml_doc, cur_node->xmlChildrenNode, 1);
if (!strncmp(node_name, field, strlen(node_name))) {
node_value = (char *)xmlNodeListGetString(xml_doc, cur_node->xmlChildrenNode, 1);