(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-dnsserver.c) |
| |
| 1327 | | | dnsserver_dissect_DNS_RPC_RECORD_UNION(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_) |
| 1328 | | | { |
| 1329 | | | proto_item *item = NULL; |
| 1330 | | | proto_tree *tree = NULL; |
| 1331 | | | int old_offset; |
| 1332 | | | guint32 level; |
| 1333 | | | |
| 1334 | | | old_offset = offset; |
| 1335 | | | if (parent_tree) { |
Event 1:
Skipping " if". parent_tree evaluates to false.
hide
|
|
| 1336 | | | item = proto_tree_add_text(parent_tree, tvb, offset, -1, "DNS_RPC_RECORD_UNION"); |
| 1337 | | | tree = proto_item_add_subtree(item, ett_dnsserver_DNS_RPC_RECORD_UNION); |
| 1338 | | | } |
| 1339 | | | |
| 1340 | [+] | | offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, &level); |
Event 2:
dissect_ndr_uint32() does not initialize level. - This may be because of a failure case or other special case for dissect_ndr_uint32().
hide
|
|
 |
| 1341 | | | 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 |
|
| |