mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
verity: fix hash offset 64bit values
Hash offset is 64bit values, for some reason it is used as size_t on one place. Fix it by properly use uint64_t. Fixes: #792
This commit is contained in:
@@ -933,7 +933,7 @@ out:
|
||||
static int _crypt_load_verity(struct crypt_device *cd, struct crypt_params_verity *params)
|
||||
{
|
||||
int r;
|
||||
size_t sb_offset = 0;
|
||||
uint64_t sb_offset = 0;
|
||||
|
||||
r = init_crypto(cd);
|
||||
if (r < 0)
|
||||
|
||||
Reference in New Issue
Block a user