Text   |  XML   |  ReML   |   Visible Warnings:

Ignored Return Value  at packet-dcerpc-rs_pgo.c:196

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

dissect_error_status_t

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-rs_pgo.c)expand/collapse
Show more  
 169  dissect_error_status_t (tvbuff_t * tvb, int offset,
 170                          packet_info * pinfo, proto_tree * parent_tree,
 171                          guint8 * drep)
 172  {
 173    proto_item *item = NULL;
 174    proto_tree *tree = NULL;
 175    int old_offset = offset;
 176    guint32 st;
 177    dcerpc_info *di;
 178    const char *st_str;
 179   
 180    di = pinfo->private_data;
 181    if (di->conformant_run)
 182      {
 183        return offset;
 184      }
 185   
 186    if (parent_tree)
 187      {
 188        item = proto_tree_add_text (parent_tree, tvb, offset, -1,
 189                                    "error_status_t");
 190        tree = proto_item_add_subtree (item, ett_error_status_t);
 191      }
 192   
 193    offset =
 194      dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep, hf_error_status_t,
 195                          &st);
 196    st_str = val_to_str (st, dce_error_vals, "%u");
 197   
 198    if (check_col (pinfo->cinfo, COL_INFO))
 199      col_append_fstr (pinfo->cinfo, COL_INFO, " st:%s ", st_str);
 200   
 201    proto_item_set_len (item, offset - old_offset);
 202    return offset;
 203  }
Show more  




Change Warning 12542.35727 : Ignored Return Value

Priority:
State:
Finding:
Owner:
Note: