Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at packet-dcom.c:1663

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

dissect_dcom_indexed_LPWSTR

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcom.c)expand/collapse
Show more  
 1631  dissect_dcom_indexed_LPWSTR(tvbuff_t *tvb, gint offset, packet_info *pinfo,
 1632                         proto_tree *tree, guint8 *drep, int hfindex,
 1633                                             gchar *pszStr, guint32 u32MaxStr, int field_index)
 1634  {
 1635          guint32 u32MaxCount;
 1636          guint32 u32Offset;
 1637          guint32 u32ArraySize;
 1638          guint32 u32StrStart;
 1639          proto_item *sub_item;
 1640          proto_tree *sub_tree;
 1641          guint32 u32SubStart;
 1642          gboolean isPrintable;
 1643   
 1644   
 1645          /* alignment of 4 needed */
 1646          if (offset % 4) {
 1647                  offset += 4 - (offset % 4);
 1648          }
 1649   
 1650          /* add subtree item */
 1651          sub_item = proto_tree_add_string(tree, hfindex, tvb, offset, 0, "");
 1652          sub_tree = proto_item_add_subtree(sub_item, ett_dcom_lpwstr);
 1653          u32SubStart = offset;
 1654   
 1655          offset = dissect_dcom_DWORD(tvb, offset, pinfo, sub_tree, drep,  
 1656                          hf_dcom_max_count, &u32MaxCount);
 1657          offset = dissect_dcom_DWORD(tvb, offset, pinfo, sub_tree, drep,  
 1658                          hf_dcom_offset, &u32Offset);
 1659          offset = dissect_dcom_dcerpc_array_size(tvb, offset, pinfo, sub_tree, drep,  
 1660[+]                         &u32ArraySize);
 1661   
 1662          u32StrStart = offset;
 1663          offset = dcom_tvb_get_nwstringz0(tvb, offset, u32ArraySize*2, pszStr, u32MaxStr, &isPrintable);
Show more  




Change Warning 2231.34381 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: