mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-20 15:20:07 +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;
|
||||
}
|
||||
|
||||
/* coverity[overrun-call] */
|
||||
r = fill_keyslot_passwords(cd, kp, kp_size, vk_change);
|
||||
if (r)
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user