mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-12 19:30:04 +01:00
The value of vk may be NULL in _keyslot_repair. It will be dereferenced in LUKS_generate_phdr. Check it to avoid segfault. Signed-off-by: Lixiaokeng <lixiaokeng@huawei.com> Signed-off-by: Linfeilong <linfeilong@huawei.com>
35 KiB
35 KiB