Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at guid-utils.c:132

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

dissect_remact_remote_activation_rqst

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcom-remact.c)expand/collapse
Show more  
 62  dissect_remact_remote_activation_rqst(tvbuff_t *tvb, int offset,
 63          packet_info *pinfo, proto_tree *tree, guint8 *drep)
 64  {
 65          guint32 u32ClientImpLevel;
 66          guint32 u32Mode;
 67          guint32 u32Interfaces;
 68          guint32 u32Pointer;
 69          guint32 u32ArraySize;
 70          guint32 u32ItemIdx;
 71          guint16 u16ProtSeqs;
 72      e_uuid_t clsid;
 73      e_uuid_t iid;
 74   
 75          gchar   szObjName[1000] = { 0 };
 76          guint32 u32ObjNameLen = sizeof(szObjName);
 77   
 78      offset = dissect_dcom_this(tvb, offset, pinfo, tree, drep);
 79   
 80          offset = dissect_dcom_append_UUID(tvb, offset, pinfo, tree, drep,
 81[+]                 hf_dcom_clsid, -1, &clsid);
expand/collapse

dissect_dcom_append_UUID

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcom.c)expand/collapse
Show more  
 1502  dissect_dcom_append_UUID(tvbuff_t *tvb, int offset,
 1503          packet_info *pinfo, proto_tree *tree, guint8 *drep,
 1504          int hfindex, int field_index, e_uuid_t *uuid)
 1505  {
 1506          const gchar *uuid_name;
 1507          proto_item *pi;
 1508          header_field_info *hfi;
 1509   
 1510   
 1511          /* XXX - this is far from being performance optimized! */
 1512   
 1513          /* get the UUID, but don't put it into the tree */
 1514          offset = dissect_ndr_uuid_t(tvb, offset, pinfo, NULL, drep,  
 1515[+]                                                 hfindex, uuid);
 1516   
 1517          /* look for a registered uuid name */
 1518[+]         uuid_name = guids_get_uuid_name(uuid);
expand/collapse

guids_get_guid_name

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/guid-utils.c)expand/collapse
Show more  
 122  const gchar *
 123  guids_get_guid_name(e_guid_t *guid)
 124  {
 125          emem_tree_key_t guidkey[2];
 126          guint32 g[4];
 127          char *name;
 128  #ifdef _WIN32 
 129          static char *uuid_name;
 130  #endif
 131   
 132          g[0]=guid->data1;
Show more  
Show more  
Show more  




Change Warning 2246.35164 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: