Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at packet-per.c:571

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

dissect_per_sequence_of

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-per.c)expand/collapse
Show more  
 547  dissect_per_sequence_of(tvbuff_t *tvb, guint32 offset, asn1_ctx_t *actx, proto_tree *parent_tree, int hf_index, gint ett_index, const per_sequence_t *seq)
 548  {
 549          proto_item *item;
 550          proto_tree *tree;
 551          guint32 old_offset=offset;
 552          guint32 length;
 553          header_field_info *hfi;
 554   
 555  DEBUG_ENTRY("dissect_per_sequence_of");
 556   
 557          /* semi-constrained whole number for number of elements */
 558          /* each element encoded as 10.9 */
 559   
 560[+]         offset=dissect_per_length_determinant(tvb, offset, actx, parent_tree, hf_per_sequence_of_length, &length);
 561   
 562          hfi = proto_registrar_get_nth(hf_index);
 563          if (IS_FT_UINT(hfi->type)) {
 564                  item = proto_tree_add_uint(parent_tree, hf_index, tvb, offset>>3, 0, length);
 565                  proto_item_append_text(item, (length==1)?" item":" items");
 566          } else {
 567                  item=proto_tree_add_item(parent_tree, hf_index, tvb, offset>>3, 0, FALSE);
 568          }
 569          tree=proto_item_add_subtree(item, ett_index);
 570   
 571          offset=dissect_per_sequence_of_helper(tvb, offset, actx, tree, seq->func, *seq->p_id, length);
Show more  




Change Warning 2879.31995 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: