aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2021-08-24 22:59:18 -0700
committerJens Axboe <[email protected]>2021-08-25 06:45:00 -0600
commitcc40b7225151f611ef837f6403cfaeadc7af214a (patch)
tree6713d8262cd0bfc78c465b51bf00b78fc7fb2e9a /lib/test_fortify/write_overflow-memcpy.c
parent4d643b66089591b4769bcdb6fd1bfeff2fe301b8 (diff)
blk-crypto: fix check for too-large dun_bytes
dun_bytes needs to be less than or equal to the IV size of the encryption mode, not just less than or equal to BLK_CRYPTO_MAX_IV_SIZE. Currently this doesn't matter since blk_crypto_init_key() is never actually passed invalid values, but we might as well fix this. Fixes: a892c8d52c02 ("block: Inline encryption support for blk-mq") Signed-off-by: Eric Biggers <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions