(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/profinet/packet-dcom-cba-acco.c) |
| |
| 2432 | | | dissect_ICBAAccoServerSRT_DisconnectCR_resp(tvbuff_t *tvb, int offset, |
| 2433 | | | packet_info *pinfo, proto_tree *tree, guint8 *drep) |
| 2434 | | | { |
| 2435 | | | guint32 u32HResult; |
| 2436 | | | guint32 u32Pointer; |
| 2437 | | | guint32 u32ArraySize = 0; |
| 2438 | | | guint32 u32Idx; |
| 2439 | | | guint32 u32Tmp; |
| 2440 | | | proto_item *item; |
| 2441 | | | dcerpc_info *info = (dcerpc_info *)pinfo->private_data; |
| 2442 | | | server_frame_call_t *call = info->call_data->private_data; |
| 2443 | | | cba_frame_t *frame; |
| 2444 | | | |
| 2445 | | | |
| 2446 | | | offset = dissect_dcom_that(tvb, offset, pinfo, tree, drep); |
| 2447 | | | |
| 2448 | | | item = proto_tree_add_boolean (tree, hf_cba_acco_srt_call, tvb, offset, 0, FALSE); |
| 2449 | | | PROTO_ITEM_SET_GENERATED(item);
x /home/sate/Testcases/c/cve/wireshark-1.2.0/epan/proto.h |
| |
325 | #define PROTO_ITEM_SET_GENERATED(proto_item) \ |
326 | ((proto_item) ? FI_SET_FLAG((proto_item)->finfo, FI_GENERATED) : 0) |
| |
x /home/sate/Testcases/c/cve/wireshark-1.2.0/epan/proto.h |
| |
246 | #define FI_SET_FLAG(fi, flag) (fi->flags = fi->flags | flag) |
| |
|
Event 1:
item evaluates to false.
hide
|
|
| 2450 | | | pinfo->profinet_type = 3; |
| 2451 | | | |
| 2452 | | | offset = dissect_dcom_dcerpc_pointer(tvb, offset, pinfo, tree, drep, |
| 2453 | [+] | | &u32Pointer); |
Event 2:
dissect_dcom_dcerpc_pointer() does not initialize u32Pointer. - This may be because of a failure case or other special case for dissect_dcom_dcerpc_pointer().
hide
|
|
 |
| 2454 | | | |
| 2455 | | | if (u32Pointer) { |
Uninitialized Variable
u32Pointer was not initialized. The issue can occur if the highlighted code executes. See related events 2 and 4. Show: All events | Only primary events |
|
| |