forked from osmocom/wireshark
btatt: Fix Dereference of null pointer found by Clang analyzer
Change-Id: I3c55af73ba989080cf6dfe206d25a6d4923ac7f1 Reviewed-on: https://code.wireshark.org/review/13622 Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com> Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
71a21d79cf
commit
98fc6c6cd1
|
@ -3443,8 +3443,9 @@ dissect_attribute_value(proto_tree *tree, proto_item *patron_item, packet_info *
|
|||
|
||||
tvb = tvb_new_subset(old_tvb, old_offset, length, length);
|
||||
|
||||
if (att_data)
|
||||
bluetooth_data = att_data->bluetooth_data;
|
||||
DISSECTOR_ASSERT(att_data);
|
||||
|
||||
bluetooth_data = att_data->bluetooth_data;
|
||||
|
||||
if (p_get_proto_data(pinfo->pool, pinfo, proto_btatt, PROTO_DATA_BTATT_HANDLE) == NULL) {
|
||||
guint16 *value_data;
|
||||
|
|
Loading…
Reference in New Issue