(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-fileexp.c) |
| |
| 3412 | | | fileexp_dissect_createfile_resp |
| 3413 | | | (tvbuff_t * |
| 3414 | | | tvb, int offset, packet_info * pinfo, proto_tree * tree, guint8 *drep) |
| 3415 | | | { |
| 3416 | | | dcerpc_info *di; |
| 3417 | | | |
| 3418 | | | di = pinfo->private_data; |
| 3419 | | | if (di->conformant_run) |
Event 1:
Skipping " if". di->conformant_run evaluates to false.
hide
|
|
| 3420 | | | { |
| 3421 | | | return offset; |
| 3422 | | | } |
| 3423 | | | |
| 3424 | | | |
| 3425 | | | |
| 3426 | | | |
| 3427 | | | |
| 3428 | | | |
| 3429 | | | |
| 3430 | | | |
| 3431 | | | |
| 3432 | | | |
| 3433 | | | offset = |
| 3434 | | | dissect_ndr_pointer (tvb, offset, pinfo, tree, drep, dissect_afsFid, |
| 3435 | | | NDR_POINTER_REF, "afsFid: ", -1); |
| 3436 | | | offset = |
| 3437 | | | dissect_ndr_pointer (tvb, offset, pinfo, tree, drep, dissect_fetchstatus, |
| 3438 | | | NDR_POINTER_REF, "FetchStatus: ", -1); |
| 3439 | | | |
| 3440 | | | offset = |
| 3441 | | | dissect_ndr_pointer (tvb, offset, pinfo, tree, drep, dissect_fetchstatus, |
| 3442 | | | NDR_POINTER_REF, "FetchStatus: ", -1); |
| 3443 | | | |
| 3444 | | | offset = |
| 3445 | | | dissect_ndr_pointer (tvb, offset, pinfo, tree, drep, dissect_afstoken, |
| 3446 | | | NDR_POINTER_REF, "afsToken: ", -1); |
| 3447 | | | offset = |
| 3448 | | | dissect_ndr_pointer (tvb, offset, pinfo, tree, drep, dissect_volsync, |
| 3449 | | | NDR_POINTER_REF, "VolSync: ", -1); |
| 3450 | [+] | | MACRO_ST_CLEAR ("CreateFile 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
|
|
 |
| |