(/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); |
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
|
|
 |
| 4399 | | | |
| 4400 | | | u32VariableOffset = offset + u32ArraySize*4; |
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 |
|
| |