Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at packet-dcom-cba-acco.c:2313

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

dissect_ICBAAccoServerSRT_ConnectCR_resp

(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/profinet/packet-dcom-cba-acco.c)expand/collapse
Show more  
 2265  dissect_ICBAAccoServerSRT_ConnectCR_resp(tvbuff_t *tvb, int offset,
 2266          packet_info *pinfo, proto_tree *tree, guint8 *drep)
 2267  {
 2268          guint8 u8FirstConnect;
 2269          guint8 u8ProvMac[6];
 2270          guint32 u32ProvCRID = 0;
 2271          guint32 u32HResult;
 2272          guint32 u32ArraySize;
 2273          guint32 u32Idx = 1;
 2274          guint32 u32Pointer;
 2275          proto_item *sub_item;
 2276          proto_tree *sub_tree;
 2277          guint32 u32SubStart;
 2278          proto_item *item;
 2279      dcerpc_info *info = (dcerpc_info *)pinfo->private_data;
 2280      server_frame_call_t *call = info->call_data->private_data;
 2281      cba_frame_t *frame;
 2282   
 2283   
 2284      offset = dissect_dcom_that(tvb, offset, pinfo, tree, drep);
 2285   
 2286      if(call == NULL) {
 2287              expert_add_info_format(pinfo, NULL, PI_UNDECODED, PI_NOTE,  
 2288              "No request info, response data ignored");
 2289      }
 2290   
 2291      item = proto_tree_add_boolean (tree, hf_cba_acco_srt_call, tvb, offset, 0, FALSE);
 2292      PROTO_ITEM_SET_GENERATED(item);
 2293      pinfo->profinet_type = 3;
 2294   
 2295          offset = dissect_dcom_BOOLEAN(tvb, offset, pinfo, tree, drep,  
 2296                          hf_cba_acco_server_first_connect, &u8FirstConnect);
 2297   
 2298          /* ProviderMAC (big-endian, 1byte-aligned) */
 2299          tvb_memcpy(tvb, u8ProvMac, offset, 6);
 2300   
 2301          proto_tree_add_ether(tree, hf_cba_acco_serversrt_prov_mac, tvb,  
 2302                  offset, 6, u8ProvMac);
 2303          offset += 6;
 2304   
 2305   
 2306          offset = dissect_dcom_dcerpc_pointer(tvb, offset, pinfo, tree, drep,  
 2307                                                  &u32Pointer);
 2308          if (u32Pointer) {
 2309   
 2310                  offset = dissect_dcom_dcerpc_array_size(tvb, offset, pinfo, tree, drep,  
 2311[+]                                                         &u32ArraySize);
 2312   
 2313                  while (u32ArraySize--) {
Show more  




Change Warning 3810.35097 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: