Text   |  XML   |  ReML   |   Visible Warnings:

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

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

SpoolssGetForm_q

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-spoolss.c)expand/collapse
Show more  
 4326  static int SpoolssGetForm_q(tvbuff_t *tvb, int offset, packet_info *pinfo,
 4327                              proto_tree *tree, guint8 *drep _U_)
 4328  {
 4329          dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
 4330          dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data;
 4331          proto_item *hidden_item;
 4332          guint32 level;
 4333          char *name;
 4334   
 4335          hidden_item = proto_tree_add_uint(
 4336                  tree, hf_form, tvb, offset, 0, 1);
 4337          PROTO_ITEM_SET_HIDDEN(hidden_item);
 4338   
 4339          /* Parse packet */
 4340   
 4341          offset = dissect_nt_policy_hnd(
 4342                  tvb, offset, pinfo, tree, drep, hf_hnd, NULL, NULL,
 4343                  FALSE, FALSE);
 4344   
 4345          offset = dissect_ndr_cvstring(
 4346                  tvb, offset, pinfo, tree, drep,
 4347                  sizeof(guint16), hf_form_name, TRUE, &name);
 4348   
 4349[+]         if (check_col(pinfo->cinfo, COL_INFO))
 4350                  col_append_fstr(pinfo->cinfo, COL_INFO, ", %s", name);
 4351   
 4352          offset = dissect_ndr_uint32(
 4353[+]                 tvb, offset, pinfo, tree, drep, hf_form_level, &level);
 4354   
 4355          /* GetForm() stores the level in se_data */
 4356          if(!pinfo->fd->flags.visited){
 4357                          dcv->se_data = GUINT_TO_POINTER((int)level);
Show more  




Change Warning 2131.34996 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: