(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/profinet/packet-dcom-cba-acco.c) |
| |
| 3714 | | | dissect_ICBAAccoMgt_GetIDs_resp(tvbuff_t *tvb, int offset, |
| 3715 | | | packet_info *pinfo, proto_tree *tree, guint8 *drep) |
| 3716 | | | { |
| 3717 | | | guint32 u32Count; |
| 3718 | | | guint32 u32Pointer; |
| 3719 | | | guint32 u32ArraySize; |
| 3720 | | | guint32 u32ConsID; |
| 3721 | | | guint8 u8State; |
| 3722 | | | guint16 u16Version; |
| 3723 | | | guint32 u32HResult; |
| 3724 | | | guint32 u32Idx; |
| 3725 | | | proto_item *sub_item; |
| 3726 | | | proto_tree *sub_tree; |
| 3727 | | | guint32 u32SubStart; |
| 3728 | | | |
| 3729 | | | |
| 3730 | | | offset = dissect_dcom_that(tvb, offset, pinfo, tree, drep); |
| 3731 | | | |
| 3732 | | | offset = dissect_dcom_DWORD(tvb, offset, pinfo, tree, drep, |
| 3733 | | | hf_cba_acco_count, &u32Count); |
| 3734 | | | |
| 3735 | [+] | | if (check_col(pinfo->cinfo, COL_INFO)) { |
 |
| 3736 | | | if (u32Count) { |
| 3737 | | | col_append_fstr(pinfo->cinfo, COL_INFO, ": Cnt=%u ConsID=", u32Count); |
| 3738 | | | } else { |
| 3739 | | | col_append_fstr(pinfo->cinfo, COL_INFO, ": Cnt=%u", u32Count); |
| 3740 | | | } |
| 3741 | | | } |
| 3742 | | | |
| 3743 | | | offset = dissect_dcom_dcerpc_pointer(tvb, offset, pinfo, tree, drep, |
| 3744 | [+] | | &u32Pointer); |
Event 3:
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
|
|
 |
| 3745 | | | if (u32Pointer) { |
Uninitialized Variable
u32Pointer was not initialized. The issue can occur if the highlighted code executes. See related events 3 and 5. Show: All events | Only primary events |
|
| |