Text   |  XML   |  ReML   |   Visible Warnings:

Ignored Return Value  at packet-dcerpc-fileexp.c:923

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

dissect_afsErrorStatus

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-fileexp.c)expand/collapse
Show more  
 896  dissect_afsErrorStatus (tvbuff_t * tvb, int offset,
 897                          packet_info * pinfo, proto_tree * parent_tree,
 898                          guint8 *drep)
 899  {
 900    proto_item *item = NULL;
 901    proto_tree *tree = NULL;
 902    int old_offset = offset;
 903    guint32 st;
 904    dcerpc_info *di;
 905    const char *st_str;
 906   
 907    di = pinfo->private_data;
 908    if (di->conformant_run)
 909      {
 910        return offset;
 911      }
 912   
 913    if (parent_tree)
 914      {
 915        item = proto_tree_add_text (parent_tree, tvb, offset, -1,
 916                                    "afsErrorStatus");
 917        tree = proto_item_add_subtree (item, ett_fileexp_afsErrorStatus);
 918      }
 919   
 920    offset =
 921      dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep, hf_afserrorstatus_st,
 922                          &st);
 923    st_str = val_to_str (st, dce_error_vals, "%u");
 924   
 925    if (check_col (pinfo->cinfo, COL_INFO))
 926      col_append_fstr (pinfo->cinfo, COL_INFO, " st:%s ", st_str);
 927   
 928    proto_item_set_len (item, offset - old_offset);
 929    return offset;
 930  }
Show more  




Change Warning 12547.35732 : Ignored Return Value

Priority:
State:
Finding:
Owner:
Note: