commit | 7e8a05b47ba7200f333eefd19979eeb4d273ceec | [log] [tgz] |
---|---|---|
author | Stefan Haberland <sth@linux.ibm.com> | Wed Nov 23 17:07:19 2022 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Nov 23 10:37:37 2022 -0700 |
tree | eae1830467bc60a144788147d05ea3965f7a484f | |
parent | 590ce6d96d6a224b470a3862c33a483d5022bfdb [diff] |
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>