Silence false positive Coverity warning.

The init_keyslot_passwords() allocates properly sized arrray here.
This commit is contained in:
Milan Broz
2022-03-30 17:39:11 +02:00
parent 3e4368feeb
commit db1ff4cf88

View File

@@ -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;