Text   |  XML   |  ReML   |   Visible Warnings:

Empty switch Statement  at packet-smb2.c:3051

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  
 3041          offset = dissect_smb2_olb_tvb_max_offset(offset, &s_olb);
 3042   
 3043          return offset;
 3044  }
 3045   
 3046  static void
 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 */
Show more  




Change Warning 71.27430 : Empty switch Statement

Because they are very similar, this warning shares annotations with warning 71.27431.

Priority:
State:
Finding:
Owner:
Note: