(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/profinet/packet-dcom-cba-acco.c) |
| |
| 4321 | | | dissect_ICBAAccoMgt_GetDiagnosis_rqst(tvbuff_t *tvb, int offset, |
| 4322 | | | packet_info *pinfo, proto_tree *tree, guint8 *drep) |
| 4323 | | | { |
| 4324 | | | guint32 u32Request; |
| 4325 | | | guint32 u32InLength; |
| 4326 | | | guint32 u32ArraySize; |
| 4327 | | | |
| 4328 | | | |
| 4329 | | | offset = dissect_dcom_this(tvb, offset, pinfo, tree, drep); |
| 4330 | | | |
| 4331 | | | offset = dissect_dcom_DWORD(tvb, offset, pinfo, tree, drep, |
| 4332 | | | hf_cba_acco_diag_req, &u32Request); |
| 4333 | | | |
| 4334 | | | offset = dissect_dcom_DWORD(tvb, offset, pinfo, tree, drep, |
| 4335 | [+] | | hf_cba_acco_diag_in_length, &u32InLength); |
Event 1:
dissect_ndr_uint32() does not initialize u32InLength. - This may be because of a failure case or other special case for dissect_ndr_uint32().
hide
|
|
 |
| 4336 | | | |
| 4337 | | | offset = dissect_dcom_dcerpc_array_size(tvb, offset, pinfo, tree, drep, |
| 4338 | | | &u32ArraySize); |
| 4339 | | | |
| 4340 | | | if(u32ArraySize != 0) { |
Event 3:
Taking true branch. u32ArraySize != 0 evaluates to true.
hide
|
|
| 4341 | | | proto_tree_add_item(tree, hf_cba_acco_diag_data, tvb, offset, u32InLength, FALSE); |
Uninitialized Variable
u32InLength was not initialized. The issue can occur if the highlighted code executes. See related event 1. Show: All events | Only primary events |
|
| |