From eb0ec9de0dbca66061fc754d2b90fa0377295b2a Mon Sep 17 00:00:00 2001 From: hyunuktak Date: Tue, 19 Apr 2016 14:04:40 +0900 Subject: [PATCH] Fix the svace 72193 for strtok_r Change-Id: If833726972e8180fabda669a76f6e1404a695a6c Signed-off-by: hyunuktak --- packaging/wifi-efl-ug.spec | 2 +- sources/wearable/src/net/wifi_manager.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/wifi-efl-ug.spec b/packaging/wifi-efl-ug.spec index ac6d88c..79c05b3 100644 --- a/packaging/wifi-efl-ug.spec +++ b/packaging/wifi-efl-ug.spec @@ -1,7 +1,7 @@ %define _unpackaged_files_terminate_build 0 Name: wifi-efl-ug Summary: Wi-Fi UI Gadget for TIZEN -Version: 1.0.169 +Version: 1.0.170 Release: 1 Group: App/Network License: Flora-1.1 diff --git a/sources/wearable/src/net/wifi_manager.c b/sources/wearable/src/net/wifi_manager.c index 03150f2..f3b90fc 100755 --- a/sources/wearable/src/net/wifi_manager.c +++ b/sources/wearable/src/net/wifi_manager.c @@ -1219,7 +1219,7 @@ gchar *wifi_manager_ap_get_proxy_port(wifi_ap_object *ap_obj) } strtok_r(proxy_address, ":", &saveptr); - return g_strdup(strtok(NULL, ":")); + return g_strdup(strtok_r(NULL, ":", &saveptr)); } void wifi_manager_ap_set_proxy_address(wifi_ap_object *ap_obj, const gchar *proxy_address) -- 2.7.4