diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2020-03-22 20:42:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-17 10:50:17 +0200 |
commit | 833309f3fb511b4e4873a0a39b8be7ac747d6d3d (patch) | |
tree | 6c40b0ac944e9c532907f157dc4c5ec40fbd6414 /lib/test_xarray.c | |
parent | bef0d2f5fdcbc39f2c5b321d35d2c8b2f1e99612 (diff) |
dm integrity: fix a crash with unusually large tag size
commit b93b6643e9b5a7f260b931e97f56ffa3fa65e26d upstream.
If the user specifies tag size larger than HASH_MAX_DIGESTSIZE,
there's a crash in integrity_metadata().
Cc: stable@vger.kernel.org
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions