(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-spoolss.c) |
| |
| 3899 | | | static int SpoolssEnumPrinters_q(tvbuff_t *tvb, int offset, packet_info *pinfo, |
| 3900 | | | proto_tree *tree, guint8 *drep _U_) |
| 3901 | | | { |
| 3902 | | | guint32 level, flags; |
| 3903 | | | proto_tree *flags_subtree; |
| 3904 | | | proto_item *flags_item; |
| 3905 | | | dcerpc_info *di = (dcerpc_info *)pinfo->private_data; |
| 3906 | | | dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data; |
| 3907 | | | |
| 3908 | | | |
| 3909 | | | |
| 3910 | | | offset = dissect_ndr_uint32( |
| 3911 | | | tvb, offset, pinfo, NULL, drep, |
| 3912 | [+] | | hf_enumprinters_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
|
|
 |
| 3913 | | | |
| 3914 | | | flags_item = proto_tree_add_text(tree, tvb, offset - 4, 4, |
| 3915 | | | "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 |
|
| |