diff options
author | Evan Huus <eapache@gmail.com> | 2015-07-04 12:08:08 -0400 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2015-07-04 19:06:09 +0000 |
commit | 6e62ad518773bc4c3a64050976425ce3a93f1294 (patch) | |
tree | d2cc05667e3ae228c9d7e25902f96412a8f3adb8 /epan/dissectors/packet-scsi-osd.c | |
parent | 4e0002e2280fbf6b1935470cccd11e4805c362ec (diff) |
scsi-osd: initialize the entire extra_data struct
Bug: 11337
Change-Id: If240b581c73e1cfb2aae1e85855170387677eb32
Reviewed-on: https://code.wireshark.org/review/9494
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-scsi-osd.c')
-rw-r--r-- | epan/dissectors/packet-scsi-osd.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/epan/dissectors/packet-scsi-osd.c b/epan/dissectors/packet-scsi-osd.c index 5b5d54603f..81bcdafe06 100644 --- a/epan/dissectors/packet-scsi-osd.c +++ b/epan/dissectors/packet-scsi-osd.c @@ -3368,11 +3368,8 @@ dissect_osd_opcode(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, if ((!pinfo->fd->flags.visited) || (!cdata->itlq->extra_data)) { scsi_osd_extra_data_t *extra_data; - extra_data = wmem_new(wmem_file_scope(), scsi_osd_extra_data_t); + extra_data = wmem_new0(wmem_file_scope(), scsi_osd_extra_data_t); extra_data->svcaction = svcaction; - extra_data->gsatype = 0; - extra_data->osd2 = 0; - extra_data->continuation_length = 0; cdata->itlq->extra_data = extra_data; } } |