(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcom-oxid.c) |
| |
| 194 | | | dissect_oxid_resolve_oxid2_rqst(tvbuff_t *tvb, int offset, |
| 195 | | | packet_info *pinfo, proto_tree *tree, guint8 *drep) |
| 196 | | | { |
| 197 | | | guint16 u16ProtSeqs; |
| 198 | | | guint32 u32ArraySize; |
| 199 | | | guint32 u32ItemIdx; |
| 200 | | | |
| 201 | | | |
| 202 | | | offset = dissect_dcom_ID(tvb, offset, pinfo, tree, drep, |
| 203 | | | hf_oxid_oxid, NULL); |
| 204 | | | |
| 205 | | | offset = dissect_dcom_WORD(tvb, offset, pinfo, tree, drep, |
| 206 | | | hf_oxid_requested_protseqs, &u16ProtSeqs); |
| 207 | | | |
| 208 | | | offset = dissect_dcom_dcerpc_array_size(tvb, offset, pinfo, tree, drep, |
| 209 | [+] | | &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
|
|
 |
| 210 | | | |
| 211 | | | u32ItemIdx = 1; |
| 212 | | | while (u32ArraySize--) { |
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 |
|
| |