(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/profinet/packet-dcom-cba-acco.c) |
| |
| 4380 | | | dissect_ICBAAccoSync_ReadItems_rqst(tvbuff_t *tvb, int offset, |
| 4381 | | | packet_info *pinfo, proto_tree *tree, guint8 *drep) |
| 4382 | | | { |
| 4383 | | | guint32 u32Count; |
| 4384 | | | gchar szStr[1000]; |
| 4385 | | | guint32 u32MaxStr = sizeof(szStr); |
| 4386 | | | guint32 u32Pointer; |
| 4387 | | | guint32 u32ArraySize; |
| 4388 | | | guint32 u32VariableOffset; |
| 4389 | | | guint32 u32Idx; |
| 4390 | | | |
| 4391 | | | |
| 4392 | | | offset = dissect_dcom_this(tvb, offset, pinfo, tree, drep); |
| 4393 | | | |
| 4394 | | | offset = dissect_dcom_DWORD(tvb, offset, pinfo, tree, drep, |
| 4395 | | | hf_cba_acco_count, &u32Count); |
| 4396 | | | |
| 4397 | | | offset = dissect_dcom_dcerpc_array_size(tvb, offset, pinfo, tree, drep, |
| 4398 | | | &u32ArraySize); |
| 4399 | | | |
| 4400 | | | u32VariableOffset = offset + u32ArraySize*4; |
| 4401 | | | |
| 4402 | | | u32Idx = 1; |
| 4403 | | | while (u32ArraySize--) { |
Event 1:
Entering loop body. u32ArraySize-- evaluates to true.
hide
|
|
| 4404 | | | offset = dissect_dcom_dcerpc_pointer(tvb, offset, pinfo, tree, drep, |
| 4405 | [+] | | &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
|
|
 |
| 4406 | | | 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 |
|
| |