(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-atsvc.c) |
| |
| 732 | | | atsvc_dissect_bitmap_DaysOfWeek(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_) |
| 733 | | | { |
| 734 | | | proto_item *item = NULL; |
| 735 | | | proto_tree *tree = NULL; |
| 736 | | | |
| 737 | | | guint8 flags; |
| 738 | | | |
| 739 | | | if (parent_tree) { |
Event 1:
Skipping " if". parent_tree evaluates to false.
hide
|
|
| 740 | | | item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 1, TRUE); |
| 741 | | | tree = proto_item_add_subtree(item,ett_atsvc_atsvc_DaysOfWeek); |
| 742 | | | } |
| 743 | | | |
| 744 | [+] | | 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
|
|
 |
| 745 | | | proto_item_append_text(item, ": "); |
| 746 | | | |
| 747 | | | 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 |
|
| |