projects
/
apps
/
native
/
ug-bluetooth-efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06f40d5
)
Fix the security svace issue
70/150070/1
author
DoHyun Pyun
<dh79.pyun@samsung.com>
Thu, 14 Sep 2017 01:23:23 +0000
(10:23 +0900)
committer
DoHyun Pyun
<dh79.pyun@samsung.com>
Thu, 14 Sep 2017 07:50:34 +0000
(16:50 +0900)
Change-Id: Ia454f9296e6b56d1d42d13bf04780ed2793ba69f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
common/src/libraries/bt-util.c
patch
|
blob
|
history
diff --git
a/common/src/libraries/bt-util.c
b/common/src/libraries/bt-util.c
index
420660d
..
fc22b99
100644
(file)
--- a/
common/src/libraries/bt-util.c
+++ b/
common/src/libraries/bt-util.c
@@
-485,7
+485,7
@@
gboolean _bt_util_is_profile_connected(int connected_type, unsigned char *addr)
{
FN_START;
char addr_str[BT_ADDRESS_STR_LEN + 1] = { 0 };
-
gboolean
connected = FALSE;
+
bool
connected = FALSE;
int ret = 0;
int connected_profiles = 0x00;
bt_profile_e profile;
@@
-530,7
+530,7
@@
_default_:
}
ret = bt_device_is_profile_connected(addr_str, profile,
-
(bool *)
&connected);
+ &connected);
if (ret < BT_ERROR_NONE) {
BT_ERR("failed with [0x%04x]", ret);