[pkg-cryptsetup-devel] Bug#994056: cryptsetup: blkid check fails to take offset option into account

Christoph Anton Mitterer calestyo at scientia.net
Fri Oct 8 19:02:19 BST 2021


On Fri, 2021-10-08 at 16:51 +0000, Thorsten Glaser wrote:
> So please, if you’re going to “ignore” this in practice, at least
> install the code that checks for offset ≤ 4194303. I can provide
> a corresponding patch, if you want.

Completely ignoring seems at least like something that calls for
troubles.

Perhaps one could do both... use bc if available (but without depending
on it)... and otherwise check and fail with bells and whistles if it
would overflow?


Cheers,
Chris.



More information about the pkg-cryptsetup-devel mailing list