Text   |  XML   |  ReML   |   Visible Warnings:

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

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

dissect_ICBAAccoServerSRT_Connect_rqst

(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/profinet/packet-dcom-cba-acco.c)expand/collapse
Show more  
 2489  dissect_ICBAAccoServerSRT_Connect_rqst(tvbuff_t *tvb, int offset,
 2490          packet_info *pinfo, proto_tree *tree, guint8 *drep)
 2491  {
 2492          guint32 u32ProvCRID;
 2493          guint8  u8State;
 2494          guint8  u8LastConnect;
 2495          guint32 u32Count;
 2496          guint32 u32ArraySize;
 2497          guint32 u32VariableOffset;
 2498          guint32 u32Idx;
 2499          proto_item *sub_item;
 2500          proto_tree *sub_tree;
 2501          guint32 u32SubStart;
 2502          guint32 u32Pointer;
 2503          gchar   szProvItem[1000] = { 0 };
 2504          guint32 u32MaxProvItemLen = sizeof(szProvItem);
 2505          guint16 u16TypeDescLen;
 2506          guint32 u32ArraySize2;
 2507          guint32 u32Idx2;
 2508          guint16 u16VarType2 = -1;
 2509          guint16 u16VarType;
 2510          guint32 u32ConsID;
 2511          guint16 u16RecordLength;
 2512          proto_item *item;
 2513      dcerpc_info *info = (dcerpc_info *)pinfo->private_data;
 2514      cba_ldev_t *prov_ldev;
 2515      cba_frame_t *frame = NULL;
 2516      cba_connection_t *conn;
 2517          guint16 typedesclen = 0;
 2518          guint16 *typedesc = NULL;
 2519      server_connect_call_t *call;
 2520   
 2521   
 2522      offset = dissect_dcom_this(tvb, offset, pinfo, tree, drep);
 2523   
 2524      /* get corresponding provider ldev */
 2525      prov_ldev = cba_ldev_find(pinfo, pinfo->net_dst.data, &info->call_data->object_uuid);
 2526   
 2527      item = proto_tree_add_boolean (tree, hf_cba_acco_srt_call, tvb, offset, 0, TRUE);
 2528      PROTO_ITEM_SET_GENERATED(item);
 2529      pinfo->profinet_type = 4;
 2530   
 2531          offset = dissect_dcom_DWORD(tvb, offset, pinfo, tree, drep,  
 2532[+]                                                 hf_cba_acco_prov_crid, &u32ProvCRID);
 2533   
 2534      frame = cba_frame_find_by_provcrid(pinfo, prov_ldev, u32ProvCRID);
Show more  




Change Warning 3816.35103 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: