Files
linux/drivers
Bart Van Assche 0d2bdf9f41 nvme-fc: rework the request initialization code
Instead of setting and then clearing the first_sgl pointer for AEN requests,
leave that pointer zero. This patch does not change how requests are
initialized but avoids that Coverity reports the following complaint for
nvme_fc_init_aen_ops():

CID 1418400 (#1 of 1): Out-of-bounds access (OVERRUN)
4. overrun-buffer-val: Overrunning buffer pointed to by aen_op of 312 bytes by passing it to a function which accesses it at byte offset 312.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2018-10-17 08:58:29 +02:00
..
2018-09-07 10:05:20 +02:00
2018-10-16 09:50:55 -06:00
2018-10-16 09:50:39 -06:00
2018-08-08 15:44:47 +10:00
2018-08-16 12:26:24 -07:00
2018-10-16 08:09:58 -06:00
2018-07-30 10:04:58 +02:00
2018-08-20 11:36:07 +02:00