Text   |  XML   |  ReML   |   Visible Warnings:

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

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

dissect_notify_field

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-spoolss.c)expand/collapse
Show more  
 2695  dissect_notify_field(tvbuff_t *tvb, int offset, packet_info *pinfo,
 2696                       proto_tree *tree, guint8 *drep, guint16 type,
 2697                       guint16 *data)
 2698  {
 2699          guint16 field;
 2700          const char *str;
 2701   
 2702          offset = dissect_ndr_uint16(
 2703                  tvb, offset, pinfo, NULL, drep,
 2704[+]                 hf_notify_field, &field);
 2705   
 2706          switch(type) {
 2707          case PRINTER_NOTIFY_TYPE:
 2708                  str = val_to_str(field, printer_notify_option_data_vals,
 2709                                   "Unknown");
 2710                  break;
 2711          case JOB_NOTIFY_TYPE:
 2712                  str = val_to_str(field, job_notify_option_data_vals,
 2713                                   "Unknown");
 2714                  break;
 2715          default:
 2716                  str = "Unknown notify type";
 2717                  break;
 2718          }
 2719   
 2720          proto_tree_add_text(tree, tvb, offset - 2, 2,
 2721                              "Field: %s (%d)", str, field);
Show more  




Change Warning 2106.33913 : Uninitialized Variable

Priority:
State:
Finding:
Owner:
Note: