Text   |  XML   |  ReML   |   Visible Warnings:

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

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

SpoolssEnumPrinterDrivers_r

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-spoolss.c)expand/collapse
Show more  
 5573  static int SpoolssEnumPrinterDrivers_r(tvbuff_t *tvb, int offset,
 5574                                         packet_info *pinfo, proto_tree *tree,
 5575                                         guint8 *drep)
 5576  {
 5577          dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
 5578          dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data;
 5579          guint32 level = GPOINTER_TO_UINT(dcv->se_data), num_drivers, i;
 5580          int buffer_offset;
 5581          BUFFER buffer;
 5582   
 5583          /* Parse packet */
 5584   
 5585          offset = dissect_spoolss_buffer(tvb, offset, pinfo, tree, drep,
 5586                                          &buffer);
 5587   
 5588          offset = dissect_ndr_uint32(
 5589                  tvb, offset, pinfo, tree, drep, hf_needed, NULL);
 5590   
 5591          offset = dissect_ndr_uint32(
 5592                  tvb, offset, pinfo, tree, drep, hf_returned,  
 5593[+]                 &num_drivers);
 5594   
 5595          buffer_offset = 0;
 5596   
 5597          for (i = 0; i < num_drivers; i++) {
Show more  




Change Warning 2146.35004 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: