Text   |  XML   |  ReML   |   Visible Warnings:

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

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

SpoolssSetForm_q

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-spoolss.c)expand/collapse
Show more  
 4268  static int SpoolssSetForm_q(tvbuff_t *tvb, int offset, packet_info *pinfo,
 4269                              proto_tree *tree, guint8 *drep _U_)
 4270  {
 4271          char *name = NULL;
 4272          guint32 level;
 4273          proto_item *hidden_item;
 4274   
 4275          hidden_item = proto_tree_add_uint(
 4276                  tree, hf_form, tvb, offset, 0, 1);
 4277          PROTO_ITEM_SET_HIDDEN(hidden_item);
 4278   
 4279          /* Parse packet */
 4280   
 4281          offset = dissect_nt_policy_hnd(
 4282                  tvb, offset, pinfo, tree, drep, hf_hnd, NULL, NULL,
 4283                  FALSE, FALSE);
 4284   
 4285          offset = dissect_ndr_cvstring(
 4286                  tvb, offset, pinfo, tree, drep,
 4287                  sizeof(guint16), hf_form_name, TRUE, &name);
 4288   
 4289[+]         if (check_col(pinfo->cinfo, COL_INFO) && name)
 4290                  col_append_fstr(pinfo->cinfo, COL_INFO, ", %s", name);
 4291           
 4292          g_free(name);
 4293   
 4294          offset = dissect_ndr_uint32(
 4295[+]                 tvb, offset, pinfo, tree, drep, hf_form_level, &level);
 4296   
 4297          if (check_col(pinfo->cinfo, COL_INFO))
 4298                  col_append_fstr(pinfo->cinfo, COL_INFO, ", level %d", level);
Show more  




Change Warning 2129.35156 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: