summaryrefslogtreecommitdiff
path: root/rust/helpers/bug.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2025-09-08 16:52:02 +0300
committerMikulas Patocka <mpatocka@redhat.com>2025-09-08 16:57:04 +0300
commit77b8e6fbf9848d651f5cb7508f18ad0971f3ffdb (patch)
tree358722f4a97ea5653633fb2ae8d220910190188f /rust/helpers/bug.c
parent1071d560afb4c245c2076494226df47db5a35708 (diff)
downloadlinux-77b8e6fbf9848d651f5cb7508f18ad0971f3ffdb.tar.xz
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: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'rust/helpers/bug.c')
0 files changed, 0 insertions, 0 deletions