forked from osmocom/wireshark
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>
This commit is contained in:
parent
7fbf2591b7
commit
6ef16a85ac
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue