Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at packet-windows-common.c:1622

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

dissect_nt_access_mask

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-windows-common.c)expand/collapse
Show more  
 1590  dissect_nt_access_mask(tvbuff_t *tvb, gint offset, packet_info *pinfo,
 1591                         proto_tree *tree, guint8 *drep, int hfindex,
 1592                         struct access_mask_info *ami, guint32 *perms)
 1593  {
 1594          proto_item *item;
 1595          proto_tree *subtree, *generic_tree, *standard_tree, *specific_tree;
 1596          guint32 access;
 1597   
 1598          if (drep != NULL) {
 1599                  /*
 1600                   * Called from a DCE RPC protocol dissector, for a
 1601                   * protocol where a 32-bit NDR integer contains 
 1602                   * an NT access mask; extract the access mask
 1603                   * with an NDR call.
 1604                   */
 1605                  offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep,
 1606[+]                                             hfindex, &access);
 1607          } else {
 1608                  /*
 1609                   * Called from SMB, where the access mask is just a 
 1610                   * 4-byte little-endian quantity with no special
 1611                   * NDR alignment requirement; extract it with 
 1612                   * "tvb_get_letohl()".
 1613                   */
 1614                  access = tvb_get_letohl(tvb, offset);
 1615                  offset += 4;
 1616          }
 1617   
 1618          if (perms) {
 1619            *perms = access;
 1620          }
 1621   
 1622          item = proto_tree_add_uint(tree, hfindex, tvb, offset - 4, 4, access);
Show more  




Change Warning 1296.33605 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: