forked from osmocom/wireshark
profinet: set ioDataObject structure to 0
Bug: 12486 Change-Id: I9e8be44325e0bdd5174bd01e4e1ea4922f7090cc Reviewed-on: https://code.wireshark.org/review/15696 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
4d11b1df28
commit
b6ace80977
|
@ -7356,7 +7356,7 @@ dissect_IOCRBlockReq_block(tvbuff_t *tvb, int offset,
|
|||
proto_item_set_len(sub_item, offset - u32SubStart);
|
||||
|
||||
if (!pinfo->fd->flags.visited && station_info != NULL) {
|
||||
io_data_object = wmem_new(wmem_file_scope(), ioDataObject);
|
||||
io_data_object = wmem_new0(wmem_file_scope(), ioDataObject);
|
||||
io_data_object->slotNr = u16SlotNr;
|
||||
io_data_object->subSlotNr = u16SubslotNr;
|
||||
io_data_object->frameOffset = u16IODataObjectFrameOffset;
|
||||
|
|
Loading…
Reference in New Issue