diff options
author | 2022-07-18 14:09:32 +0300 | |
---|---|---|
committer | 2022-08-02 17:22:48 -0600 | |
commit | 4daf7fa07ee3c31d5b03b87f96dbf3d8151ef654 (patch) | |
tree | 7059a7a8b897cf6fded61c06b01c4acaf51b3070 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nvme: define compat_ioctl again to unbreak 32-bit userspace. (diff) | |
download | wireguard-linux-4daf7fa07ee3c31d5b03b87f96dbf3d8151ef654.tar.xz wireguard-linux-4daf7fa07ee3c31d5b03b87f96dbf3d8151ef654.zip |
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: db1312dd9548 ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions