Text   |  XML   |  ReML   |   Visible Warnings:

Empty switch Statement  at packet-tnef.c:427

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

dissect_mapiprops

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-tnef.c)expand/collapse
Show more  
 417                                  if((padding = (4 - tag_length % 4)) != 4) {
 418                                          proto_tree_add_item(tag_tree, hf_tnef_property_padding, tvb, offset, padding, TRUE);
 419                                          offset += padding;
 420                                  }
 421   
 422                                  proto_item_append_text(prop_item, " [Named Property: %s]", name_string);
 423   
 424                          }
 425                  }
 426                   
 427                  switch(tag) {
 428                          /* handle any specific tags here */
 429                  default:
 430                          /* otherwise just use the type */
 431                          switch(tag & 0x0000ffff) {
 432                          case PT_I2:
 433                                  offset = PIDL_dissect_uint16(tvb, offset, pinfo, prop_tree, drep, hf_tnef_PropValue_i, 0);
 434                                  break;
 435                          case PT_LONG:
 436                                  offset = PIDL_dissect_uint32(tvb, offset, pinfo, prop_tree, drep, hf_tnef_PropValue_l, 0);
 437                                  break;
Show more  




Change Warning 74.27499 : Empty switch Statement

Priority:
State:
Finding:
Owner:
Note: