grub/grub-core/osdep/devmapper
Corey Hickey 5f311e86d2 fix detection of non-LUKS CRYPT
grub_util_get_dm_abstraction() does a string comparison of insufficient
length. When using a UUID such as "CRYPT-PLAIN-sda6_crypt", the function
returns GRUB_DEV_ABSTRACTION_LUKS.

This results in the error:
    ./grub-probe: error: disk `cryptouuid/sda6_crypt' not found.

This appears to be a copy/paste error introduced in:
a10e7a5a89

The bug was (apparently) latent until revealed by:
3bca85b418

Signed-off-by: Corey Hickey <bugfood-c@fatooh.org>
2016-11-05 15:28:50 +03:00
..
getroot.c fix detection of non-LUKS CRYPT 2016-11-05 15:28:50 +03:00
hostdisk.c build: Use AC_HEADER_MAJOR to find device macros 2016-04-24 08:12:42 +03:00