Files
linux/drivers
Dan Carpenter 4daf7fa07e nvme-auth: fix off by one checks
The > ARRAY_SIZE() checks need to be >= ARRAY_SIZE() to prevent reading
one element beyond the end of the arrays.

Fixes: db1312dd95 ("nvmet: implement basic In-Band Authentication")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-08-02 17:22:48 -06:00
..
2022-08-02 17:22:46 -06:00
2022-07-29 19:58:52 +02:00
2022-06-28 06:33:15 -06:00
2022-08-02 17:22:46 -06:00
2022-06-28 06:33:15 -06:00
2022-08-02 17:22:48 -06:00
2022-07-29 19:58:52 +02:00
2022-07-29 13:41:18 +02:00
2022-05-11 08:29:11 +03:00
2022-07-29 19:58:52 +02:00