(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcom-remunkn.c) |
| |
| 87 | | | dissect_remunk_remqueryinterface_rqst(tvbuff_t *tvb, int offset, |
| 88 | | | packet_info *pinfo, proto_tree *tree, guint8 *drep) |
| 89 | | | { |
| 90 | | | e_uuid_t ipid; |
| 91 | | | guint32 u32Refs; |
| 92 | | | guint16 u16IIDs; |
| 93 | | | guint32 u32ArraySize; |
| 94 | | | guint32 u32ItemIdx; |
| 95 | | | e_uuid_t iid; |
| 96 | | | dcerpc_info *info = (dcerpc_info *) pinfo->private_data; |
| 97 | | | remunk_remqueryinterface_call_t *call; |
| 98 | | | |
| 99 | | | |
| 100 | | | offset = dissect_dcom_this(tvb, offset, pinfo, tree, drep); |
| 101 | | | |
| 102 | | | offset = dissect_dcom_UUID(tvb, offset, pinfo, tree, drep, |
| 103 | | | hf_dcom_ipid, &ipid); |
| 104 | | | |
| 105 | | | offset = dissect_dcom_DWORD(tvb, offset, pinfo, tree, drep, |
| 106 | | | hf_remunk_refs, &u32Refs); |
| 107 | | | |
| 108 | | | offset = dissect_dcom_WORD(tvb, offset, pinfo, tree, drep, |
| 109 | | | hf_remunk_iids, &u16IIDs); |
| 110 | | | |
| 111 | | | offset = dissect_dcom_dcerpc_array_size(tvb, offset, pinfo, tree, drep, |
| 112 | [+] | | &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
|
|
 |
| 113 | | | |
| 114 | | | |
| 115 | | | if(u32ArraySize < 100) { |
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 |
|
| |