diff options
author | Stefan Haberland <sth@linux.ibm.com> | 2022-11-23 19:07:19 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-11-23 20:37:37 +0300 |
commit | 7e8a05b47ba7200f333eefd19979eeb4d273ceec (patch) | |
tree | eae1830467bc60a144788147d05ea3965f7a484f /include/linux/leds-lp3944.h | |
parent | 590ce6d96d6a224b470a3862c33a483d5022bfdb (diff) | |
download | linux-7e8a05b47ba7200f333eefd19979eeb4d273ceec.tar.xz |
s390/dasd: fix possible buffer overflow in copy_pair_show
dasd_copy_relation->entry[] array might be accessed out of bounds if the
loop does not break.
Fixes: a91ff09d39f9 ("s390/dasd: add copy pair setup")
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com>
Link: https://lore.kernel.org/r/20221123160719.3002694-5-sth@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/leds-lp3944.h')
0 files changed, 0 insertions, 0 deletions