summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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>
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>
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>
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>
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>
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>
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
seonil kim [Wed, 13 Jul 2016 01:00:12 +0000 (18:00 -0700)]
Initial empty repository