[SVACE][TIZEN_3.0_TV][Major][WGID-66386] NONTERMINATED_STRING 47/63647/1 accepted/tizen/ivi/20160325.073335 accepted/tizen/mobile/20160325.073149 accepted/tizen/tv/20160325.073229 accepted/tizen/wearable/20160325.073300 submit/tizen/20160325.053503
authorSeonah Moon <seonah1.moon@samsung.com>
Fri, 25 Mar 2016 05:21:11 +0000 (14:21 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Fri, 25 Mar 2016 05:26:31 +0000 (14:26 +0900)
Change-Id: Ib74c809098a8e818c4d68dca36f72ce7a2fd7b74
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
packaging/libnet-client.spec
src/network-cm-intf.c

index 2b41ff6..ee7d6a4 100755 (executable)
@@ -1,6 +1,6 @@
 Name:          libnet-client
 Summary:       Network Client library (Shared library)
-Version:       1.1.47
+Version:       1.1.48
 Release:       1
 Group:         System/Network
 License:       Flora-1.1
index 0063c25..d51eab2 100755 (executable)
@@ -812,7 +812,7 @@ EXPORT_API int net_get_active_essid(net_essid_t *essid)
                Error = NET_ERR_NO_SERVICE;
        } else if (active_profile_info.profile_type == NET_DEVICE_WIFI) {
                wlan_info = &active_profile_info.ProfileInfo.Wlan;
-               memcpy(essid->essid, wlan_info->essid, NET_WLAN_ESSID_LEN+1);
+               memcpy(essid->essid, wlan_info->essid, sizeof(essid->essid) - 1);
        } else
                Error = NET_ERR_UNKNOWN;