mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-11 19:00:02 +01:00
There is no need to unlock keyslot if the provided name has wrong format. Let's check for length and '/' in name early. Note that other commands could accept path to the device as libdevmapper translate it to the name (status /dev/mapper/xxx). Add early check only to activate commands. It still can fail later because of mangled characters. Fixes: #893
1.6 KiB
1.6 KiB