(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-spoolss.c) |
| |
| 3504 | | | static int SpoolssSetPrinter_q(tvbuff_t *tvb, int offset, packet_info *pinfo, |
| 3505 | | | proto_tree *tree, guint8 *drep _U_) |
| 3506 | | | { |
| 3507 | | | guint32 level; |
| 3508 | | | |
| 3509 | | | |
| 3510 | | | |
| 3511 | | | offset = dissect_nt_policy_hnd( |
| 3512 | | | tvb, offset, pinfo, tree, drep, hf_hnd, NULL, NULL, |
| 3513 | | | FALSE, FALSE); |
| 3514 | | | |
| 3515 | | | offset = dissect_ndr_uint32( |
| 3516 | [+] | | tvb, offset, pinfo, tree, drep, hf_level, &level); |
Event 1:
dissect_ndr_uint32() does not initialize level. - This may be because of a failure case or other special case for dissect_ndr_uint32().
hide
|
|
 |
| 3517 | | | |
| 3518 | | | if (check_col(pinfo->cinfo, COL_INFO)) |
Event 3:
Taking true branch. check_col(...) evaluates to true.
hide
|
|
| 3519 | | | col_append_fstr(pinfo->cinfo, COL_INFO, ", level %d", level); |
Uninitialized Variable
level was not initialized. The issue can occur if the highlighted code executes. See related event 1. Show: All events | Only primary events |
|
| |