(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-browser.c) |
| |
| 191 | | | dissect_browser_TYPE_2(tvbuff_t *tvb, int offset, |
| 192 | | | packet_info *pinfo, proto_tree *tree, |
| 193 | | | guint8 *drep) |
| 194 | | | { |
| 195 | | | guint32 level; |
| 196 | | | |
| 197 | | | |
| 198 | | | offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, |
| 199 | [+] | | hf_browser_unknown_long, &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
|
|
 |
| 200 | | | |
| 201 | | | 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
|
|
| 202 | | | |
| 203 | | | 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 |
|
| |