]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: bcachefs: use uint64_t for structure length
authorThomas Weißschuh <thomas@t-8ch.de>
Wed, 25 Jan 2023 04:27:20 +0000 (04:27 +0000)
committerThomas Weißschuh <thomas@t-8ch.de>
Wed, 25 Jan 2023 15:38:16 +0000 (15:38 +0000)
commitdf6e200fd6a3725e7bd00e6a6af6a7656fffae6a
treeb75c7c53ad51c0a818aa74acaf0cd9078c8c54e6
parentd9b022bd2627bee6162361cba39bba64837324a9
libblkid: bcachefs: use uint64_t for structure length

The value of "u64s" can overflow when multiplied by 8.
Use a larger type to avoid this.

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