Text   |  XML   |  ReML   |   Visible Warnings:

Unreachable Control Flow  at packet-ncp2222.inc:4243

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

process_search_subexpression

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ncp2222.inc)expand/collapse
Show more  
 4220  process_search_subexpression(proto_tree *it_tree, tvbuff_t *tvb, packet_info *pinfo, nds_val *values)
 4221  {
 4222      proto_tree  *it_subtree, *it_subtree1;
 4223      proto_item  *it_subitem, *it_subitem1;
 4224      guint32     i, ioffset, number_of_items;
 4225   
 4226      ioffset = values->voffset;
 4227      if (values->vvalue != NDS_SEARCH_NOT) {
 4228          number_of_items = tvb_get_letohl(tvb, ioffset);
 4229          it_subitem = proto_tree_add_item(it_tree, hf_this_count, tvb, ioffset, 4, TRUE);
 4230          it_subtree = proto_item_add_subtree(it_subitem, ett_nds);
 4231          ioffset += 4;
 4232          for (i = 0; i < number_of_items; i++)
 4233          {
 4234              it_subitem1 = proto_tree_add_text(it_subtree, tvb, ioffset, -1, "Item #: %u", i+1);
 4235              it_subtree1 = proto_item_add_subtree(it_subitem1, ett_nds);
 4236   
 4237              values->voffset = ioffset;
 4238              process_set_filter(it_subtree1, tvb, pinfo, values);
 4239              ioffset = values->voffset;
 4240   
 4241              if (tvb_length_remaining(tvb, ioffset) < 4) {
 4242                  THROW(ReportedBoundsError);
 4243                  break;
 4244              }
 4245   
 4246          }
 4247      }
 4248      values->voffset = ioffset;
 4249      return;
 4250  }
Show more  




Change Warning 2818.31894 : Unreachable Control Flow

Priority:
State:
Finding:
Owner:
Note: