(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/profinet/packet-dcom-cba-acco.c) |
| |
| 4051 | | | dissect_ICBAAccoMgt_GetConnections_rqst(tvbuff_t *tvb, int offset, |
| 4052 | | | packet_info *pinfo, proto_tree *tree, guint8 *drep) |
| 4053 | | | { |
| 4054 | | | guint32 u32ConsID; |
| 4055 | | | guint32 u32Count; |
| 4056 | | | guint32 u32ArraySize; |
| 4057 | | | guint32 u32Idx; |
| 4058 | | | |
| 4059 | | | |
| 4060 | | | offset = dissect_dcom_this(tvb, offset, pinfo, tree, drep); |
| 4061 | | | |
| 4062 | | | offset = dissect_dcom_DWORD(tvb, offset, pinfo, tree, drep, |
| 4063 | | | hf_cba_acco_count, &u32Count); |
| 4064 | | | |
| 4065 | | | offset = dissect_dcom_dcerpc_array_size(tvb, offset, pinfo, tree, drep, |
| 4066 | [+] | | &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
|
|
 |
| 4067 | | | |
| 4068 | | | u32Idx = 1; |
| 4069 | | | 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 |
|
| |