aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2016-03-30 14:11:28 -0400
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2016-03-31 07:26:17 +0000
commit6ef16a85ac835faa40037dedbae4597458351b2f (patch)
treefaad26337ac7f2443f5e8c05902714a567b2f714
parent7fbf2591b7e845194c344cf8d7b9f372bca89f77 (diff)
Add a NULL check: it's not sure we have a radius_call here.
Change-Id: I6037a02e6170d0ca8b978135f960213ed22bef97 Reviewed-on: https://code.wireshark.org/review/14710 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
-rw-r--r--epan/dissectors/packet-radius.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-radius.c b/epan/dissectors/packet-radius.c
index 0643a0f923..d9c52609ce 100644
--- a/epan/dissectors/packet-radius.c
+++ b/epan/dissectors/packet-radius.c
@@ -1977,7 +1977,7 @@ dissect_radius(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _
wmem_tree_insert32(radius_call_tree, pinfo->num, radius_call);
}
- if (tree && radius_call->rsp_num) {
+ if (radius_call && radius_call->rsp_num) {
proto_item *item;
item = proto_tree_add_uint_format(radius_tree,
hf_radius_rsp_frame, tvb, 0, 0, radius_call->rsp_num,