mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
reencrypt: fix checking of context name arguments.
This commit is contained in:
@@ -1413,7 +1413,7 @@ static int reencrypt_init_storage_wrappers(struct crypt_device *cd,
|
||||
|
||||
static int reencrypt_context_set_names(struct luks2_reencrypt *rh, const char *name)
|
||||
{
|
||||
if (!rh | !name)
|
||||
if (!rh || !name)
|
||||
return -EINVAL;
|
||||
|
||||
if (*name == '/') {
|
||||
|
||||
Reference in New Issue
Block a user