Text   |  XML   |  ReML   |   Visible Warnings:

Uninitialized Variable  at packet-dcerpc-spoolss.c:3637

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

SpoolssEnumForms_q

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-spoolss.c)expand/collapse
Show more  
 3614  static int SpoolssEnumForms_q(tvbuff_t *tvb, int offset, packet_info *pinfo,
 3615                                proto_tree *tree, guint8 *drep _U_)
 3616  {
 3617          dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
 3618          dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data;
 3619          guint32 level;
 3620          proto_item *hidden_item;
 3621   
 3622          hidden_item = proto_tree_add_uint(
 3623                  tree, hf_form, tvb, offset, 0, 1);
 3624          PROTO_ITEM_SET_HIDDEN(hidden_item);
 3625   
 3626          /* Parse packet */
 3627   
 3628          offset = dissect_nt_policy_hnd(
 3629                  tvb, offset, pinfo, tree, drep, hf_hnd, NULL, NULL,
 3630                  FALSE, FALSE);
 3631   
 3632          offset = dissect_ndr_uint32(
 3633[+]                 tvb, offset, pinfo, tree, drep, hf_level, &level);
 3634   
 3635          /* EnumForms() stores the level in se_data */
 3636          if(!pinfo->fd->flags.visited){
 3637                          dcv->se_data = GINT_TO_POINTER((int)level);
Show more  




Change Warning 2121.34990 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: