(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcom-dispatch.c) |
| |
| 180 | | | dissect_IDispatch_GetIDsOfNames_rqst(tvbuff_t *tvb, int offset, |
| 181 | | | packet_info *pinfo, proto_tree *tree, guint8 *drep) |
| 182 | | | { |
| 183 | | | e_uuid_t riid; |
| 184 | | | guint32 u32Lcid; |
| 185 | | | gchar szName[1000] = { 0 }; |
| 186 | | | guint32 u32Names; |
| 187 | | | guint32 u32ArraySize; |
| 188 | | | guint32 u32Pointer; |
| 189 | | | guint32 u32Tmp; |
| 190 | | | guint32 u32VariableOffset; |
| 191 | | | |
| 192 | | | |
| 193 | | | offset = dissect_dcom_this(tvb, offset, pinfo, tree, drep); |
| 194 | | | |
| 195 | | | offset = dissect_dcom_UUID(tvb, offset, pinfo, tree, drep, |
| 196 | | | hf_dispatch_riid, &riid); |
| 197 | | | |
| 198 | | | offset = dissect_dcom_dcerpc_array_size(tvb, offset, pinfo, tree, drep, |
| 199 | [+] | | &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
|
|
 |
| 200 | | | |
| 201 | | | 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 |
|
| |