Text   |  XML   |  ReML   |   Visible Warnings:

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

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

dissect_NOTIFY_INFO_DATA_job

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-spoolss.c)expand/collapse
Show more  
 6051  dissect_NOTIFY_INFO_DATA_job(tvbuff_t *tvb, int offset, packet_info *pinfo,
 6052                               proto_tree *tree, proto_item *item, guint8 *drep,  
 6053                               guint16 field)
 6054  {
 6055          guint32 value1;
 6056          proto_item *hidden_item;
 6057   
 6058          switch (field) {
 6059   
 6060                  /* String notify data */
 6061   
 6062          case JOB_NOTIFY_PRINTER_NAME:
 6063          case JOB_NOTIFY_MACHINE_NAME:
 6064          case JOB_NOTIFY_PORT_NAME:
 6065          case JOB_NOTIFY_USER_NAME:
 6066          case JOB_NOTIFY_NOTIFY_NAME:
 6067          case JOB_NOTIFY_DATATYPE:
 6068          case JOB_NOTIFY_PRINT_PROCESSOR:
 6069
6107
Show [ Lines 6069 to 6107 omitted. ]
 6108                          dissect_SYSTEM_TIME_ptr, NDR_POINTER_UNIQUE,
 6109                          "Time ", -1, notify_job_time_cb, NULL);
 6110   
 6111                  break;
 6112   
 6113          case JOB_NOTIFY_PRIORITY:
 6114          case JOB_NOTIFY_POSITION:
 6115          case JOB_NOTIFY_TOTAL_PAGES:
 6116          case JOB_NOTIFY_PAGES_PRINTED:
 6117          case JOB_NOTIFY_TOTAL_BYTES:
 6118          case JOB_NOTIFY_BYTES_PRINTED: {
 6119                  guint32 value;
 6120   
 6121                  offset = dissect_ndr_uint32(
 6122                          tvb, offset, pinfo, tree, drep,
 6123[+]                         hf_notify_info_data_value1, &value);
 6124   
 6125                  offset = dissect_ndr_uint32(
 6126                          tvb, offset, pinfo, tree, drep,
 6127                          hf_notify_info_data_value2, NULL);
 6128   
 6129                  proto_item_append_text(item, ": %d", value);
Show more  




Change Warning 2151.34813 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: