(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-spoolss.c) |
| |
| 4638 | | | static int SpoolssEnumJobs_q(tvbuff_t *tvb, int offset, packet_info *pinfo, |
| 4639 | | | proto_tree *tree, guint8 *drep _U_) |
| 4640 | | | { |
| 4641 | | | dcerpc_info *di = (dcerpc_info *)pinfo->private_data; |
| 4642 | | | dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; |
| 4643 | | | guint32 level; |
| 4644 | | | |
| 4645 | | | |
| 4646 | | | |
| 4647 | | | offset = dissect_nt_policy_hnd( |
| 4648 | | | tvb, offset, pinfo, tree, drep, |
| 4649 | | | hf_hnd, NULL, NULL, FALSE, FALSE); |
| 4650 | | | |
| 4651 | | | offset = dissect_ndr_uint32( |
| 4652 | | | tvb, offset, pinfo, tree, drep, hf_enumjobs_firstjob, NULL); |
| 4653 | | | |
| 4654 | | | offset = dissect_ndr_uint32( |
| 4655 | | | tvb, offset, pinfo, tree, drep, hf_enumjobs_numjobs, NULL); |
| 4656 | | | |
| 4657 | | | offset = dissect_ndr_uint32( |
| 4658 | [+] | | 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
|
|
 |
| 4659 | | | |
| 4660 | | | |
| 4661 | | | if(!pinfo->fd->flags.visited){ |
Event 3:
Taking true branch. pinfo->fd->flags.visited evaluates to false.
hide
|
|
| 4662 | | | dcv->se_data = GUINT_TO_POINTER((int)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 |
|
| |