(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-fileexp.c) |
| |
| 2977 | | | fileexp_dissect_lookup_resp (tvbuff_t * tvb, int offset, |
| 2978 | | | packet_info * pinfo, proto_tree * tree, |
| 2979 | | | guint8 *drep) |
| 2980 | | | { |
| 2981 | | | dcerpc_info *di; |
| 2982 | | | |
| 2983 | | | di = pinfo->private_data; |
| 2984 | | | if (di->conformant_run) |
Event 1:
Skipping " if". di->conformant_run evaluates to false.
hide
|
|
| 2985 | | | { |
| 2986 | | | return offset; |
| 2987 | | | } |
| 2988 | | | |
| 2989 | | | |
| 2990 | | | |
| 2991 | | | |
| 2992 | | | |
| 2993 | | | |
| 2994 | | | |
| 2995 | | | |
| 2996 | | | |
| 2997 | | | offset = |
| 2998 | | | dissect_ndr_pointer (tvb, offset, pinfo, tree, drep, dissect_afsFid, |
| 2999 | | | NDR_POINTER_REF, "afsFid: ", -1); |
| 3000 | | | |
| 3001 | | | offset = |
| 3002 | | | dissect_ndr_pointer (tvb, offset, pinfo, tree, drep, dissect_fetchstatus, |
| 3003 | | | NDR_POINTER_REF, "FetchStatus: ", -1); |
| 3004 | | | offset = |
| 3005 | | | dissect_ndr_pointer (tvb, offset, pinfo, tree, drep, dissect_fetchstatus, |
| 3006 | | | NDR_POINTER_REF, "FetchStatus: ", -1); |
| 3007 | | | |
| 3008 | | | offset = |
| 3009 | | | dissect_ndr_pointer (tvb, offset, pinfo, tree, drep, dissect_afstoken, |
| 3010 | | | NDR_POINTER_REF, "afsToken: ", -1); |
| 3011 | | | offset = |
| 3012 | | | dissect_ndr_pointer (tvb, offset, pinfo, tree, drep, dissect_volsync, |
| 3013 | | | NDR_POINTER_REF, "VolSync: ", -1); |
| 3014 | [+] | | MACRO_ST_CLEAR ("Lookup reply");
x /home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-fileexp.c |
| |
324 | #define MACRO_ST_CLEAR(name) \ |
325 | { \ |
326 | guint32 st; \ |
327 | const char *st_str; \ |
328 | offset = dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep, hf_error_st, &st); \ |
329 | st_str = val_to_str (st, dce_error_vals, "%u"); \ |
330 | if (st){ \ |
331 | if (check_col (pinfo->cinfo, COL_INFO)) \ |
332 | col_add_fstr (pinfo->cinfo, COL_INFO, "%s st:%s ", name, st_str); \ |
333 | }else{ \ |
334 | if (check_col (pinfo->cinfo, COL_INFO)) \ |
335 | col_append_fstr (pinfo->cinfo, COL_INFO, " st:%s ", st_str); \ |
336 | } \ |
337 | } |
| |
|
Event 2:
dissect_ndr_uint32() does not initialize st. - This may be because of a failure case or other special case for dissect_ndr_uint32().
hide
|
|
 |
| |