(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/profinet/packet-dcom-cba-acco.c) |
| |
| 3647 | | | dissect_ICBAAccoMgt_SetActivationState_rqst(tvbuff_t *tvb, int offset, |
| 3648 | | | packet_info *pinfo, proto_tree *tree, guint8 *drep) |
| 3649 | | | { |
| 3650 | | | guint8 u8State; |
| 3651 | | | guint32 u32Count; |
| 3652 | | | guint32 u32ArraySize; |
| 3653 | | | guint32 u32Idx; |
| 3654 | | | guint32 u32ConsID; |
| 3655 | | | |
| 3656 | | | |
| 3657 | | | offset = dissect_dcom_this(tvb, offset, pinfo, tree, drep); |
| 3658 | | | |
| 3659 | | | offset = dissect_dcom_BOOLEAN(tvb, offset, pinfo, tree, drep, |
| 3660 | | | hf_cba_acco_conn_state, &u8State); |
| 3661 | | | |
| 3662 | | | offset = dissect_dcom_DWORD(tvb, offset, pinfo, tree, drep, |
| 3663 | | | hf_cba_acco_count, &u32Count); |
| 3664 | | | |
| 3665 | | | offset = dissect_dcom_dcerpc_array_size(tvb, offset, pinfo, tree, drep, |
| 3666 | [+] | | &u32ArraySize); |
Event 1:
dissect_dcom_dcerpc_array_size() does not initialize u32ArraySize. - This may be because of a failure case or other special case for dissect_dcom_dcerpc_array_size().
hide
|
|
 |
| 3667 | | | |
| 3668 | | | u32Idx = 1; |
| 3669 | | | while (u32ArraySize--) { |
Uninitialized Variable
u32ArraySize was not initialized. The issue can occur if the highlighted code executes. See related events 1 and 3. Show: All events | Only primary events |
|
| |