commit | b93b6643e9b5a7f260b931e97f56ffa3fa65e26d | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Sun Mar 22 20:42:21 2020 +0100 |
committer | Mike Snitzer <snitzer@redhat.com> | Tue Mar 24 12:34:45 2020 -0400 |
tree | d5de73459b6cb1ee32351a953ddf90d77bcbeb85 | |
parent | b8fdd090376a7a46d17db316638fe54b965c2fb0 [diff] |
dm integrity: fix a crash with unusually large tag size 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>