]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: (bcachefs) fix size validation
authorThomas Weißschuh <thomas@t-8ch.de>
Wed, 23 Aug 2023 09:58:33 +0000 (11:58 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Wed, 23 Aug 2023 10:37:23 +0000 (12:37 +0200)
commitbefe455f59de8c7bc66b85ed52aae8cbc95325fa
treeec05c32178c5101476ffc169021fb883439de064
parent17873d38fc97913c0a31d4bd08cfbfe45c4de5be
libblkid: (bcachefs) fix size validation

Avoid signed shift out-of-bounds.

Also mark the constants explitly as unsigned instead of casting.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
libblkid/src/superblocks/bcache.c