(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-netlogon.c) |
| |
| 5560 | | | netlogon_dissect_DOMAIN_QUERY(tvbuff_t *tvb, int offset, |
| 5561 | | | packet_info *pinfo, proto_tree *tree, |
| 5562 | | | guint8 *drep) |
| 5563 | | | { |
| 5564 | | | guint32 level; |
| 5565 | | | |
| 5566 | | | offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, |
| 5567 | [+] | | 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
|
|
 |
| 5568 | | | |
| 5569 | | | 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
|
|
| 5570 | | | 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 |
|
| |