Text   |  XML   |  ReML   |   Visible Warnings:

Unused Value  at packet-smb2.c:3055

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

dissect_smb2_getinfo_parameters

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-smb2.c)expand/collapse
Show more  
 3047  dissect_smb2_getinfo_parameters(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset, smb2_info_t *si)
 3048  {
 3049          switch(si->saved->class){
 3050          case SMB2_CLASS_FILE_INFO:
 3051                  switch(si->saved->infolevel){
 3052                  default:
 3053                          /* we dont handle this infolevel yet */
 3054                          proto_tree_add_item(tree, hf_smb2_unknown, tvb, offset, 16, TRUE);
 3055                          offset += tvb_length_remaining(tvb, offset);
 3056                  }
 3057                  break;
 3058          case SMB2_CLASS_FS_INFO:
 3059                  switch(si->saved->infolevel){
 3060                  default:
 3061                          /* we dont handle this infolevel yet */
 3062                          proto_tree_add_item(tree, hf_smb2_unknown, tvb, offset, 16, TRUE);
 3063                          offset += tvb_length_remaining(tvb, offset);
 3064                  }
 3065                  break;
 3066          case SMB2_CLASS_SEC_INFO:
 3067                  switch(si->saved->infolevel){
 3068                  case SMB2_SEC_INFO_00:
 3069                          dissect_security_information_mask(tvb, tree, offset+8);
 3070                          break;
 3071                  default:
 3072                          /* we dont handle this infolevel yet */
 3073                          proto_tree_add_item(tree, hf_smb2_unknown, tvb, offset, 16, TRUE);
 3074                          offset += tvb_length_remaining(tvb, offset);
 3075                  }
 3076                  break;
 3077          default:
 3078                  /* we dont handle this class yet */
 3079                  proto_tree_add_item(tree, hf_smb2_unknown, tvb, offset, 16, TRUE);
 3080          }
 3081  }
Show more  




Change Warning 2984.32232 : Unused Value

Because they are very similar, this warning shares annotations with warnings 2984.32233 and 2984.32234.

Priority:
State:
Finding:
Owner:
Note: