Text   |  XML   |  ReML   |   Visible Warnings:

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

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

dissect_IPNIO_resp_header

(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/profinet/packet-dcerpc-pn-io.c)expand/collapse
Show more  
 6185  dissect_IPNIO_resp_header(tvbuff_t *tvb, int offset,
 6186          packet_info *pinfo, proto_tree *tree, guint8 *drep)
 6187  {
 6188      guint32 u32ArgsLen;
 6189      guint32 u32MaxCount;
 6190      guint32 u32Offset;
 6191      guint32 u32ArraySize;
 6192   
 6193          proto_item *sub_item;
 6194          proto_tree *sub_tree;
 6195          guint32 u32SubStart;
 6196   
 6197   
 6198          if (check_col(pinfo->cinfo, COL_PROTOCOL))
 6199              col_add_str(pinfo->cinfo, COL_PROTOCOL, "PNIO-CM");
 6200   
 6201      offset = dissect_PNIO_status(tvb, offset, pinfo, tree, drep);
 6202   
 6203      /* args_len */
 6204          offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep,
 6205                          hf_pn_io_args_len, &u32ArgsLen);
 6206   
 6207      sub_item = proto_tree_add_item(tree, hf_pn_io_array, tvb, offset, 0, FALSE);
 6208          sub_tree = proto_item_add_subtree(sub_item, ett_pn_io);
 6209      u32SubStart = offset;
 6210   
 6211      /* RPC array header */
 6212          offset = dissect_ndr_uint32(tvb, offset, pinfo, sub_tree, drep,
 6213                          hf_pn_io_array_max_count, &u32MaxCount);
 6214          offset = dissect_ndr_uint32(tvb, offset, pinfo, sub_tree, drep,
 6215                          hf_pn_io_array_offset, &u32Offset);
 6216          offset = dissect_ndr_uint32(tvb, offset, pinfo, sub_tree, drep,
 6217[+]                         hf_pn_io_array_act_count, &u32ArraySize);
 6218   
 6219      proto_item_append_text(sub_item, ": Max: %u, Offset: %u, Size: %u",
 6220          u32MaxCount, u32Offset, u32ArraySize);
Show more  




Change Warning 3758.33981 : Uninitialized Variable

Because they are very similar, this warning shares annotations with warnings 3758.33982 and 3758.33983.

Priority:
State:
Finding:
Owner:
Note: