projects
/
platform
/
core
/
api
/
bluetooth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3410bfd
)
Fix the svace issue (SIZE MISMATCH)
63/242363/1
author
DoHyun Pyun
<dh79.pyun@samsung.com>
Tue, 25 Aug 2020 23:04:05 +0000
(08:04 +0900)
committer
DoHyun Pyun
<dh79.pyun@samsung.com>
Tue, 25 Aug 2020 23:04:05 +0000
(08:04 +0900)
Change-Id: Iaa43e331d02b4653654d9f22815f0cbacb919d55
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
src/bluetooth-mesh.c
patch
|
blob
|
history
diff --git
a/src/bluetooth-mesh.c
b/src/bluetooth-mesh.c
index
ba000bc
..
1e68b3b
100644
(file)
--- a/
src/bluetooth-mesh.c
+++ b/
src/bluetooth-mesh.c
@@
-796,7
+796,7
@@
int bt_mesh_node_reset(bt_mesh_node_h node_handle)
BT_INFO("Mesh: Reset the node [0x%2.2x]", node_s->unicast);
/* Fill node */
- memset(&node, 0x00, sizeof(bluetooth_mesh_node_t));
+ memset(&node, 0x00, sizeof(bluetooth_mesh_node_
info_
t));
g_strlcpy(node.net_uuid, network_s->uuid, 33);
node.primary_unicast = node_s->unicast;
node.num_elements = g_slist_length(node_s->elements);