platform/core/api/wifi-manager.git
8 years agoFixed chances of memory corruption in wifi_manager_get_mac_address(). 11/91011/1
Nishant Chaprana [Wed, 5 Oct 2016 09:20:08 +0000 (14:50 +0530)]
Fixed chances of memory corruption in wifi_manager_get_mac_address().

Description: As per API documentation, mac_address should be freed using free().
But we are using g_try_malloc0 for allocating memory for Tizen TV profile.
So, that allocated memory should be freed by g_free() only as per GLIB documentation.

Usage os g_try_malloc0 in API will lead to memory corruption, because g_try_malloc0
and normal memory allocator may use different memory pools which will be freed properly
by there corresponding memory deallocator only.

So to match declaration in header file for wifi_manager_get_mac_address()
we should use strndup in place of g_try_malloc0().

Change-Id: I4263a456c9f6fa7dec0ce4cd8c24778b4ae6e850
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
8 years agoFixed memory leaks when using g_variant_get(). 94/90994/1
Nishant Chaprana [Wed, 5 Oct 2016 08:52:01 +0000 (14:22 +0530)]
Fixed memory leaks when using g_variant_get().

Change-Id: I40b45fa19f0aa07bcdb961c39bb5676b126ee241
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
8 years ago[wifi-manager] Modify to load configurations 08/90908/2 accepted/tizen/common/20161005.165328 accepted/tizen/ivi/20161005.231945 accepted/tizen/mobile/20161005.231902 accepted/tizen/tv/20161005.231914 accepted/tizen/wearable/20161005.231933 submit/tizen/20161005.051812
hyunuktak [Wed, 5 Oct 2016 02:17:58 +0000 (11:17 +0900)]
[wifi-manager] Modify to load configurations

When there is configuration ID without settings file,
it is not error, just no profile.

Change-Id: Ib97b54198d825baa2093b1b660dad6bd40cb6d6f
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years ago[wifi-manager] remove to check NULL for callback function 12/90712/1
hyunuktak [Tue, 4 Oct 2016 04:49:06 +0000 (13:49 +0900)]
[wifi-manager] remove to check NULL for callback function

This can be NULL if you don't want to get the notification about wifi
deactivate.

Change-Id: I90a18b9327ceb923d90cb626db1d7c96189359c3
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years agoRemove to check NULL for callback function 19/89819/1 accepted/tizen/common/20160928.164117 accepted/tizen/ivi/20160929.081215 accepted/tizen/mobile/20160929.081103 accepted/tizen/tv/20160929.081144 accepted/tizen/wearable/20160929.081021 submit/tizen/20160928.053415
hyunuktak [Tue, 27 Sep 2016 06:30:10 +0000 (15:30 +0900)]
Remove to check NULL for callback function

This can be NULL if you don't want to get the notification about wifi
activate.

Change-Id: Ie3e325edc5545d9cf67b18d9dd6fca8cb9fc24b4
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years ago[wifi-manager] remove reference warning 57/89257/1
hyunuktak [Fri, 23 Sep 2016 01:45:07 +0000 (10:45 +0900)]
[wifi-manager] remove reference warning

Change-Id: I295eaf4e33722c14b4764ed1993ed94dccbab336
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
8 years agoInitialize the wifi-manager package 33/83033/5 accepted/tizen/common/20160831.161605 accepted/tizen/ivi/20160909.060529 accepted/tizen/mobile/20160831.124855 accepted/tizen/tv/20160831.124907 accepted/tizen/wearable/20160831.124913 submit/tizen/20160831.020435 submit/tizen/20160831.045307 submit/tizen_ivi/20160909.055713
hyunuktak [Tue, 9 Aug 2016 00:47:42 +0000 (09:47 +0900)]
Initialize the wifi-manager package

The handle based module to support multi instance

Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Change-Id: I2d9445b1b42ebd2e5274b53192c5d577d1ab69b7

8 years agoInitial empty repository master
seonil kim [Wed, 13 Jul 2016 01:00:12 +0000 (18:00 -0700)]
Initial empty repository