(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcom-dispatch.c) |
| |
| 230 | | | dissect_IDispatch_GetIDsOfNames_resp(tvbuff_t *tvb, int offset, |
| 231 | | | packet_info *pinfo, proto_tree *tree, guint8 *drep) |
| 232 | | | { |
| 233 | | | guint32 u32DispId; |
| 234 | | | guint32 u32ArraySize; |
| 235 | | | guint32 u32Tmp; |
| 236 | | | guint32 u32HResult; |
| 237 | | | |
| 238 | | | |
| 239 | | | offset = dissect_dcom_that(tvb, offset, pinfo, tree, drep); |
| 240 | | | |
| 241 | | | offset = dissect_dcom_dcerpc_array_size(tvb, offset, pinfo, tree, drep, |
| 242 | | | &u32ArraySize); |
| 243 | | | |
| 244 | | | u32Tmp = u32ArraySize; |
| 245 | | | while (u32Tmp--) { |
Event 1:
Entering loop body. u32Tmp-- evaluates to true.
hide
|
|
| 246 | | | offset = dissect_dcom_DWORD(tvb, offset, pinfo, tree, drep, |
| 247 | [+] | | hf_dispatch_id, &u32DispId); |
Event 2:
dissect_ndr_uint32() does not initialize u32DispId. - This may be because of a failure case or other special case for dissect_ndr_uint32().
hide
|
|
 |
| 248 | | | if (check_col(pinfo->cinfo, COL_INFO)) { |
Event 4:
Taking true branch. check_col(...) evaluates to true.
hide
|
|
| 249 | | | col_append_fstr(pinfo->cinfo, COL_INFO, " ID=0x%x", u32DispId); |
Uninitialized Variable
u32DispId was not initialized. The issue can occur if the highlighted code executes. See related event 2. Show: All events | Only primary events |
|
| |