diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-11-27 00:36:41 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-11-27 00:36:41 +0000 |
commit | 457284e848763d490669b4143478f3f5df9a85be (patch) | |
tree | f9f7ec49d064a95361fbad6c2220910a4a5415bf /epan/dissectors/packet-usb.c | |
parent | 455cc7f1236fa8cb290447aa57c4ac7cd05efb41 (diff) |
Make sure we fully initialize a struct. Fixes bug 2021.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23613 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-usb.c')
-rw-r--r-- | epan/dissectors/packet-usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-usb.c b/epan/dissectors/packet-usb.c index c7cb8d7284..e7b9995b7c 100644 --- a/epan/dissectors/packet-usb.c +++ b/epan/dissectors/packet-usb.c @@ -507,6 +507,7 @@ dissect_usb_interface_descriptor(packet_info *pinfo, proto_tree *parent_tree, tv usb_trans_info->interface_info=se_alloc(sizeof(usb_conv_info_t)); usb_trans_info->interface_info->interfaceClass=tvb_get_guint8(tvb, offset); usb_trans_info->interface_info->transactions=se_tree_create_non_persistent(EMEM_TREE_TYPE_RED_BLACK, "usb transactions"); + usb_trans_info->interface_info->class_data=NULL; } offset++; |