mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-20 23:30:14 +01:00
Silence false positive Coverity warning.
The init_keyslot_passwords() allocates properly sized arrray here.
This commit is contained in:
@@ -754,6 +754,7 @@ static int reencrypt_luks2_init(struct crypt_device *cd, const char *data_device
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* coverity[overrun-call] */
|
||||||
r = fill_keyslot_passwords(cd, kp, kp_size, vk_change);
|
r = fill_keyslot_passwords(cd, kp, kp_size, vk_change);
|
||||||
if (r)
|
if (r)
|
||||||
goto out;
|
goto out;
|
||||||
|
|||||||
Reference in New Issue
Block a user