git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8adb9c0
)
btatt: clear variable (CID 1268204)
author
Dario Lombardo
<lomato@gmail.com>
Mon, 12 Oct 2015 15:48:55 +0000
(17:48 +0200)
committer
Peter Wu
<peter@lekensteyn.nl>
Mon, 12 Oct 2015 22:57:05 +0000
(22:57 +0000)
Change-Id: Id4d057d730899fac14146845a530fae2525ba965
Reviewed-on: https://code.wireshark.org/review/10955
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
epan/dissectors/packet-btatt.c
patch
|
blob
|
history
diff --git
a/epan/dissectors/packet-btatt.c
b/epan/dissectors/packet-btatt.c
index 780122a10c0fceca447d401c09aeede92fc2d30b..adc23e750aa9bb7c758cd78d31cf56df878ec41f 100644
(file)
--- a/
epan/dissectors/packet-btatt.c
+++ b/
epan/dissectors/packet-btatt.c
@@
-5920,8
+5920,7
@@
dissect_btatt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
bluetooth_uuid_t uuid;
guint mtu;
- uuid.size = 0;
- uuid.bt_uuid = 0;
+ memset(&uuid, 0, sizeof uuid);
bluetooth_data = (bluetooth_data_t *) data;