Text   |  XML   |  ReML   |   Visible Warnings:

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

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

SpoolssEnumForms_r

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-spoolss.c)expand/collapse
Show more  
 3652  static int SpoolssEnumForms_r(tvbuff_t *tvb, int offset, packet_info *pinfo,
 3653                                proto_tree *tree, guint8 *drep _U_)
 3654  {
 3655          dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
 3656          dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data;
 3657          BUFFER buffer;
 3658          guint32 level = GPOINTER_TO_UINT(dcv->se_data), i, count;
 3659          int buffer_offset;
 3660          proto_item *hidden_item;
 3661   
 3662          hidden_item = proto_tree_add_uint(
 3663                  tree, hf_form, tvb, offset, 0, 1);
 3664          PROTO_ITEM_SET_HIDDEN(hidden_item);
 3665   
 3666          /* Parse packet */
 3667   
 3668          offset = dissect_spoolss_buffer(
 3669                  tvb, offset, pinfo, tree, drep, &buffer);
 3670   
 3671          offset = dissect_ndr_uint32(
 3672                  tvb, offset, pinfo, tree, drep, hf_needed, NULL);
 3673   
 3674[+]         if (check_col(pinfo->cinfo, COL_INFO))
 3675                  col_append_fstr(pinfo->cinfo, COL_INFO, ", level %d", level);
 3676   
 3677          offset = dissect_ndr_uint32(
 3678[+]                 tvb, offset, pinfo, tree, drep, hf_enumforms_num, &count);
 3679   
 3680          /* Unfortunately this array isn't in NDR format so we can't
 3681             use prs_array().  The other weird thing is the 
 3682             struct_start being inside the loop rather than outside.
 3683             Very strange. */
 3684   
 3685          buffer_offset = 0;
 3686   
 3687          for (i = 0; i < count; i++) {
Show more  




Change Warning 12438.34991 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: