aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-07-18 14:09:32 +0300
committerJens Axboe <[email protected]>2022-08-02 17:22:48 -0600
commit4daf7fa07ee3c31d5b03b87f96dbf3d8151ef654 (patch)
tree7059a7a8b897cf6fded61c06b01c4acaf51b3070 /net/lapb/lapb_timer.c
parenta25d4261582cf00dad884c194d21084836663d3d (diff)
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 <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions