(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-drsuapi.c) |
| |
| 3390 | | | drsuapi_dissect_DsReplicaDeleteOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_) |
| 3391 | | | { |
| 3392 | | | proto_item *item=NULL; |
| 3393 | | | proto_tree *tree=NULL; |
| 3394 | | | guint32 flags; |
| 3395 | | | |
| 3396 | | | ALIGN_TO_4_BYTES;
x /home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-nt.h |
| |
50 | #define ALIGN_TO_4_BYTES \ |
51 | { dcerpc_info *xzdi; \ |
52 | xzdi=pinfo->private_data; \ |
53 | if(!xzdi->conformant_run) { \ |
54 | if(offset&0x03) { \ |
55 | offset=(offset&0xfffffffc)+4; \ |
56 | } \ |
57 | } \ |
58 | } |
| |
|
Event 1:
Skipping " if". xzdi->conformant_run evaluates to true.
hide
|
|
| 3397 | | | |
| 3398 | | | if(parent_tree){ |
Event 2:
Skipping " if". parent_tree evaluates to false.
hide
|
|
| 3399 | | | item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, TRUE); |
| 3400 | | | tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaDeleteOptions); |
| 3401 | | | } |
| 3402 | | | |
| 3403 | [+] | | offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags); |
Event 3:
dissect_ndr_uint32() does not initialize flags. - This may be because of a failure case or other special case for dissect_ndr_uint32().
hide
|
|
 |
| 3404 | | | |
| 3405 | | | |
| 3406 | | | proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaDeleteOptions_DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION, tvb, offset-4, 4, flags); |
Uninitialized Variable
flags was not initialized. The issue can occur if the highlighted code executes. See related event 3. Show: All events | Only primary events |
|
| |