diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2009-01-08 07:36:11 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2009-01-08 07:36:11 +0000 |
commit | 4b6b4b672c77862108295f1cb798147b4ce42e89 (patch) | |
tree | 9dc4553eae797fea5a0c989698acb797ee3ff89c /plugins/wimax/msg_rng_rsp.c | |
parent | 269b45f48ae15bd0132fb5612c931cad228297fe (diff) | |
download | wireshark-4b6b4b672c77862108295f1cb798147b4ce42e89.tar.gz |
Fix for bug 2902:
Actually check column status before writing to it.
svn path=/trunk/; revision=27192
Diffstat (limited to 'plugins/wimax/msg_rng_rsp.c')
-rw-r--r-- | plugins/wimax/msg_rng_rsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/wimax/msg_rng_rsp.c b/plugins/wimax/msg_rng_rsp.c index 8b072560cc..0a6452eb36 100644 --- a/plugins/wimax/msg_rng_rsp.c +++ b/plugins/wimax/msg_rng_rsp.c @@ -750,7 +750,7 @@ void dissect_mac_mgmt_msg_rng_rsp_decoder(tvbuff_t *tvb, packet_info *pinfo, pro tlv_len = get_tlv_length(&tlv_info); if(tlv_type == -1 || tlv_len > MAX_TLV_LEN || tlv_len < 1) { /* invalid tlv info */ - if(pinfo->cinfo) + if(check_col(pinfo->cinfo, COL_INFO)) { col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "RNG-RSP TLV error"); } @@ -909,7 +909,7 @@ void dissect_mac_mgmt_msg_rng_rsp_decoder(tvbuff_t *tvb, packet_info *pinfo, pro sub_tlv_len = get_tlv_length(&sub_tlv_info); if(tlv_type == -1 || sub_tlv_len > MAX_TLV_LEN || sub_tlv_len < 1) { /* invalid tlv info */ - if(pinfo->cinfo) + if(check_col(pinfo->cinfo, COL_INFO)) { col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "RNG-RSP TLV error"); } |