(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-lsa.c) |
| |
| 3279 | | | lsarpc_dissect_lsa_PolicyInformation(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_) |
| 3280 | | | { |
| 3281 | | | proto_item *item = NULL; |
| 3282 | | | proto_tree *tree = NULL; |
| 3283 | | | int old_offset; |
| 3284 | | | guint16 level; |
| 3285 | | | |
| 3286 | | | old_offset = offset; |
| 3287 | | | if (parent_tree) { |
Event 1:
Skipping " if". parent_tree evaluates to false.
hide
|
|
| 3288 | | | item = proto_tree_add_text(parent_tree, tvb, offset, -1, "lsa_PolicyInformation"); |
| 3289 | | | tree = proto_item_add_subtree(item, ett_lsarpc_lsa_PolicyInformation); |
| 3290 | | | } |
| 3291 | | | |
| 3292 | [+] | | offset = dissect_ndr_uint16(tvb, offset, pinfo, tree, drep, hf_index, &level); |
Event 2:
dissect_ndr_uint16() does not initialize level. - This may be because of a failure case or other special case for dissect_ndr_uint16().
hide
|
|
 |
| 3293 | | | ALIGN_TO_8_BYTES;
x /home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-nt.h |
| |
41 | #define ALIGN_TO_8_BYTES \ |
42 | { dcerpc_info *xzdi; \ |
43 | xzdi=pinfo->private_data; \ |
44 | if(!xzdi->conformant_run) { \ |
45 | if(offset&0x07) { \ |
46 | offset=(offset&0xfffffff8)+8; \ |
47 | } \ |
48 | } \ |
49 | } |
| |
|
Event 4:
Skipping " if". xzdi->conformant_run evaluates to true.
hide
|
|
| 3294 | | | |
| 3295 | | | switch(level) { |
Uninitialized Variable
level was not initialized. The issue can occur if the highlighted code executes. See related event 2. Show: All events | Only primary events |
|
| |