Text   |  XML   |  ReML   |   Visible Warnings:

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

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

dissect_NOTIFY_INFO_DATA_printer

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-spoolss.c)expand/collapse
Show more  
 5931  dissect_NOTIFY_INFO_DATA_printer(tvbuff_t *tvb, int offset, packet_info *pinfo,
 5932                                   proto_tree *tree, proto_item *item,
 5933                                   guint8 *drep, guint16 field)
 5934  {
 5935          guint32 value1;
 5936   
 5937          switch (field) {
 5938   
 5939                  /* String notify data */
 5940   
 5941          case PRINTER_NOTIFY_SERVER_NAME:
 5942          case PRINTER_NOTIFY_PRINTER_NAME:
 5943          case PRINTER_NOTIFY_SHARE_NAME:
 5944          case PRINTER_NOTIFY_DRIVER_NAME:
 5945          case PRINTER_NOTIFY_COMMENT:
 5946          case PRINTER_NOTIFY_LOCATION:
 5947          case PRINTER_NOTIFY_SEPFILE:
 5948
5969
Show [ Lines 5948 to 5969 omitted. ]
 5970   
 5971                  offset = dissect_printer_attributes(
 5972                          tvb, offset, pinfo, tree, drep);
 5973   
 5974                  offset = dissect_ndr_uint32(
 5975                          tvb, offset, pinfo, NULL, drep,
 5976                          hf_notify_info_data_value2, NULL);
 5977   
 5978                  break;
 5979   
 5980          case PRINTER_NOTIFY_STATUS: {
 5981                  guint32 status;
 5982   
 5983                  /* Value 1 is the printer status */
 5984   
 5985                  offset = dissect_ndr_uint32(
 5986                          tvb, offset, pinfo, tree, drep,
 5987[+]                         hf_printer_status, &status);
 5988   
 5989                  offset = dissect_ndr_uint32(
 5990                          tvb, offset, pinfo, NULL, drep,
 5991                          hf_notify_info_data_value2, NULL);
 5992   
 5993                  proto_item_append_text(
 5994                          item, ": %s",  
 5995                          val_to_str(status, printer_status_vals, "Unknown"));
Show more  




Change Warning 2150.34812 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: