(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/profinet/packet-dcerpc-pn-io.c) |
| |
| 6493 | | | dissect_IODWriteReq(tvbuff_t *tvb, int offset, |
| 6494 | | | packet_info *pinfo, proto_tree *tree, guint8 *drep, pnio_ar_t **ar) |
| 6495 | | | { |
| 6496 | | | gint remain; |
| 6497 | | | guint16 u16Index = 0; |
| 6498 | | | guint32 u32RecDataLen; |
| 6499 | | | |
| 6500 | | | |
| 6501 | | | |
| 6502 | [+] | | offset = dissect_block(tvb, offset, pinfo, tree, drep, &u16Index, &u32RecDataLen, ar); |
Event 1:
dissect_block() does not initialize u32RecDataLen. - This may be because of a failure case or other special case for dissect_block().
hide
|
|
 |
| 6503 | | | |
| 6504 | | | |
| 6505 | | | if(u16Index == 0xe040) { |
Event 4:
Taking false branch. u16Index == 57408 evaluates to false.
hide
|
|
| 6506 | | | while((remain = tvb_length_remaining(tvb, offset)) > 0) { |
| 6507 | | | offset = dissect_IODWriteReq(tvb, offset, pinfo, tree, drep, ar); |
| 6508 | | | } |
| 6509 | | | } else { |
| 6510 | | | |
| 6511 | | | offset = dissect_RecordDataWrite(tvb, offset, pinfo, tree, drep, u16Index, u32RecDataLen); |
Uninitialized Variable
u32RecDataLen was not initialized. The issue can occur if the highlighted code executes. See related event 1. Show: All events | Only primary events |
|
| |