diff options
author | Guy Harris <gharris@sonic.net> | 2021-01-27 00:15:24 -0800 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2021-01-27 00:15:24 -0800 |
commit | c26addae4487ef0949fe21cd8f064126ffc6cf04 (patch) | |
tree | 41d3d3f729b76edf02c5ecd9b1364c47313be068 /epan | |
parent | 76abe23f6dc20ae6695c30c357ca36122e4bc3da (diff) |
One more check for connection_info being non-null is needed.
This fixes issue #17182.
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-btle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-btle.c b/epan/dissectors/packet-btle.c index c2d3e86d14..d695cf49ee 100644 --- a/epan/dissectors/packet-btle.c +++ b/epan/dissectors/packet-btle.c @@ -2778,7 +2778,7 @@ dissect_btle(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) case 0x14: /* LL_LENGTH_REQ */ dissect_length_req_rsp(tvb, btle_tree, offset); - if (!btle_frame_info->retransmit && direction != BTLE_DIR_UNKNOWN) { + if (connection_info && !btle_frame_info->retransmit && direction != BTLE_DIR_UNKNOWN) { if (control_proc_invalid_collision(pinfo, last_control_proc[other_direction], control_opcode)) { |