(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-atsvc.c) |
| |
| 655 | | | atsvc_dissect_bitmap_Flags(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_) |
| 656 | | | { |
| 657 | | | proto_item *item = NULL; |
| 658 | | | proto_tree *tree = NULL; |
| 659 | | | |
| 660 | | | guint8 flags; |
| 661 | | | |
| 662 | | | if (parent_tree) { |
Event 1:
Skipping " if". parent_tree evaluates to false.
hide
|
|
| 663 | | | item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 1, TRUE); |
| 664 | | | tree = proto_item_add_subtree(item,ett_atsvc_atsvc_Flags); |
| 665 | | | } |
| 666 | | | |
| 667 | [+] | | offset = dissect_ndr_uint8(tvb, offset, pinfo, NULL, drep, -1, &flags); |
Event 2:
dissect_ndr_uint8() does not initialize flags. - This may be because of a failure case or other special case for dissect_ndr_uint8().
hide
|
|
 |
| 668 | | | proto_item_append_text(item, ": "); |
| 669 | | | |
| 670 | | | if (!flags) |
Uninitialized Variable
flags was not initialized. The issue can occur if the highlighted code executes. See related event 2. Show: All events | Only primary events |
|
| |