Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at packet-dcerpc-pn-io.c:6176

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

dissect_IPNIO_rqst_header

(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/profinet/packet-dcerpc-pn-io.c)expand/collapse
Show more  
 6139  dissect_IPNIO_rqst_header(tvbuff_t *tvb, int offset,
 6140          packet_info *pinfo, proto_tree *tree, guint8 *drep)
 6141  {
 6142      guint32 u32ArgsMax;
 6143      guint32 u32ArgsLen;
 6144      guint32 u32MaxCount;
 6145      guint32 u32Offset;
 6146      guint32 u32ArraySize;
 6147   
 6148          proto_item *sub_item;
 6149          proto_tree *sub_tree;
 6150          guint32 u32SubStart;
 6151   
 6152   
 6153[+]         if (check_col(pinfo->cinfo, COL_PROTOCOL))
 6154              col_add_str(pinfo->cinfo, COL_PROTOCOL, "PNIO-CM");
 6155   
 6156      /* args_max */
 6157          offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep,
 6158                          hf_pn_io_args_max, &u32ArgsMax);
 6159      /* args_len */
 6160          offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep,
 6161                          hf_pn_io_args_len, &u32ArgsLen);
 6162   
 6163      sub_item = proto_tree_add_item(tree, hf_pn_io_array, tvb, offset, 0, FALSE);
 6164          sub_tree = proto_item_add_subtree(sub_item, ett_pn_io);
 6165      u32SubStart = offset;
 6166   
 6167      /* RPC array header */
 6168          offset = dissect_ndr_uint32(tvb, offset, pinfo, sub_tree, drep,
 6169                          hf_pn_io_array_max_count, &u32MaxCount);
 6170          offset = dissect_ndr_uint32(tvb, offset, pinfo, sub_tree, drep,
 6171                          hf_pn_io_array_offset, &u32Offset);
 6172          offset = dissect_ndr_uint32(tvb, offset, pinfo, sub_tree, drep,
 6173[+]                         hf_pn_io_array_act_count, &u32ArraySize);
 6174   
 6175          proto_item_append_text(sub_item, ": Max: %u, Offset: %u, Size: %u",
 6176          u32MaxCount, u32Offset, u32ArraySize);
Show more  




Change Warning 3757.33978 : Uninitialized Variable

Because they are very similar, this warning shares annotations with warnings 3757.33979 and 3757.33980.

Priority:
State:
Finding:
Owner:
Note: