(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-spoolss.c) |
| |
| 3024 | | | static int SpoolssRFFPCNEX_q(tvbuff_t *tvb, int offset, |
| 3025 | | | packet_info *pinfo, proto_tree *tree, |
| 3026 | | | guint8 *drep _U_) |
| 3027 | | | { |
| 3028 | | | guint32 flags; |
| 3029 | | | proto_item *flags_item; |
| 3030 | | | proto_tree *flags_subtree; |
| 3031 | | | |
| 3032 | | | |
| 3033 | | | |
| 3034 | | | offset = dissect_nt_policy_hnd( |
| 3035 | | | tvb, offset, pinfo, tree, drep, hf_hnd, NULL, NULL, |
| 3036 | | | FALSE, FALSE); |
| 3037 | | | |
| 3038 | | | offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, |
| 3039 | [+] | | hf_rffpcnex_flags, &flags); |
Event 1:
dissect_ndr_uint32() does not initialize flags. - This may be because of a failure case or other special case for dissect_ndr_uint32().
hide
|
|
 |
| 3040 | | | |
| 3041 | | | flags_item = proto_tree_add_text(tree, tvb, offset - 4, 4, |
| 3042 | | | "Flags: 0x%08x", flags); |
Uninitialized Variable
flags was not initialized. The issue can occur if the highlighted code executes. See related event 1. Show: All events | Only primary events |
|
| |