Change-Id: Ic31df66d184de55d96d312c83efdd77daa58d454
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Name: capi-network-tethering
Summary: Tethering Framework
Name: capi-network-tethering
Summary: Tethering Framework
Release: 1
Group: System/Network
License: Apache-2.0
Release: 1
Group: System/Network
License: Apache-2.0
if (ptr == NULL)
return false;
if (ptr == NULL)
return false;
+ if (!g_strcmp0(ptr, ""))
+ return false;
+
if (!g_utf8_validate(ptr, -1, (const char **)&ptr_tmp))
*ptr_tmp = '\0';
if (!g_utf8_validate(ptr, -1, (const char **)&ptr_tmp))
*ptr_tmp = '\0';