(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-netlogon.c) |
| |
| 4198 | | | netlogon_dissect_CONTROL_DATA_INFORMATION(tvbuff_t *tvb, int offset, |
| 4199 | | | packet_info *pinfo, proto_tree *tree, |
| 4200 | | | guint8 *drep) |
| 4201 | | | { |
| 4202 | | | guint32 level; |
| 4203 | | | |
| 4204 | | | offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, |
| 4205 | [+] | | hf_netlogon_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
|
|
 |
| 4206 | | | |
| 4207 | | | ALIGN_TO_4_BYTES;
x /home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-nt.h |
| |
50 | #define ALIGN_TO_4_BYTES \ |
51 | { dcerpc_info *xzdi; \ |
52 | xzdi=pinfo->private_data; \ |
53 | if(!xzdi->conformant_run) { \ |
54 | if(offset&0x03) { \ |
55 | offset=(offset&0xfffffffc)+4; \ |
56 | } \ |
57 | } \ |
58 | } |
| |
|
Event 3:
Skipping " if". xzdi->conformant_run evaluates to true.
hide
|
|
| 4208 | | | switch(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 |
|
| |