(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-fldb.c) |
| |
| 634 | | | dissect_siteflags (tvbuff_t * tvb, int offset, |
| 635 | | | packet_info * pinfo, proto_tree * parent_tree, |
| 636 | | | guint8 * drep) |
| 637 | | | { |
| 638 | | | proto_item *item = NULL; |
| 639 | | | proto_tree *tree = NULL; |
| 640 | | | int old_offset = offset; |
| 641 | | | guint32 siteflags; |
| 642 | | | |
| 643 | | | if (parent_tree) |
Event 1:
Skipping " if". parent_tree evaluates to false.
hide
|
|
| 644 | | | { |
| 645 | | | item = proto_tree_add_text (parent_tree, tvb, offset, -1, "SiteFlags:"); |
| 646 | | | tree = proto_item_add_subtree (item, ett_fldb_siteflags); |
| 647 | | | } |
| 648 | | | |
| 649 | | | offset = |
| 650 | | | dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep, hf_fldb_siteflags, |
| 651 | [+] | | &siteflags); |
Event 2:
dissect_ndr_uint32() does not initialize siteflags. - This may be because of a failure case or other special case for dissect_ndr_uint32().
hide
|
|
 |
| 652 | | | |
| 653 | | | if (siteflags) |
Uninitialized Variable
siteflags was not initialized. The issue can occur if the highlighted code executes. See related event 2. Show: All events | Only primary events |
|
| |