(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-spoolss.c) |
| |
| 4786 | | | static int SpoolssGetJob_q(tvbuff_t *tvb, int offset, packet_info *pinfo, |
| 4787 | | | proto_tree *tree, guint8 *drep) |
| 4788 | | | { |
| 4789 | | | dcerpc_info *di = (dcerpc_info *)pinfo->private_data; |
| 4790 | | | dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; |
| 4791 | | | guint32 level, jobid; |
| 4792 | | | |
| 4793 | | | |
| 4794 | | | |
| 4795 | | | offset = dissect_nt_policy_hnd( |
| 4796 | | | tvb, offset, pinfo, tree, drep, hf_hnd, NULL, NULL, |
| 4797 | | | FALSE, FALSE); |
| 4798 | | | |
| 4799 | | | offset = dissect_ndr_uint32( |
| 4800 | | | tvb, offset, pinfo, tree, drep, hf_job_id, &jobid); |
| 4801 | | | |
| 4802 | | | offset = dissect_ndr_uint32( |
| 4803 | [+] | | 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
|
|
 |
| 4804 | | | |
| 4805 | | | |
| 4806 | | | if(!pinfo->fd->flags.visited){ |
Event 3:
Taking true branch. pinfo->fd->flags.visited evaluates to false.
hide
|
|
| 4807 | | | 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 |
|
| |