(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/profinet/packet-dcom-cba-acco.c) |
| |
| 2816 | | | dissect_Server_GetProvConnections_rqst(tvbuff_t *tvb, int offset, |
| 2817 | | | packet_info *pinfo, proto_tree *tree, guint8 *drep) |
| 2818 | | | { |
| 2819 | | | guint32 u32Count; |
| 2820 | | | guint32 u32ArraySize; |
| 2821 | | | guint32 u32Idx; |
| 2822 | | | guint32 u32ProvID; |
| 2823 | | | |
| 2824 | | | |
| 2825 | | | offset = dissect_dcom_this(tvb, offset, pinfo, tree, drep); |
| 2826 | | | |
| 2827 | | | offset = dissect_dcom_DWORD(tvb, offset, pinfo, tree, drep, |
| 2828 | | | hf_cba_acco_count, &u32Count); |
| 2829 | | | |
| 2830 | | | offset = dissect_dcom_dcerpc_array_size(tvb, offset, pinfo, tree, drep, |
| 2831 | [+] | | &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
|
|
 |
| 2832 | | | |
| 2833 | | | u32Idx = 1; |
| 2834 | | | 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 |
|
| |