Commit 77b8e6fb authored by Mikulas Patocka's avatar Mikulas Patocka
Browse files

dm-integrity: limit MAX_TAG_SIZE to 255



MAX_TAG_SIZE was 0x1a8 and it may be truncated in the "bi->metadata_size
= ic->tag_size" assignment. We need to limit it to 255.

Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
parent 1071d560
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment