tags 344313 patch thanks The attached patch fixes the problem.
Bastian
--
The sight of death frightens them [Earthers].
-- Kras the Klingon, "Friday's Child", stardate 3497.2
diff -urN cryptsetup-20050111.old/lib/libdevmapper.c
cryptsetup-20050111/lib/libdevmapper.c
--- cryptsetup-20050111.old/lib/libdevmapper.c 2004-06-03 16:33:44.000000000
+0200
+++ cryptsetup-20050111/lib/libdevmapper.c 2005-12-25 10:54:38.000000000
+0100
@@ -226,6 +226,11 @@
if (!dm_task_get_info(dmt, &dmi))
goto out;
+ if (!dmi.exists) {
+ r = -ENODEV;
+ goto out;
+ }
+
next = dm_get_next_target(dmt, next, &start, &length,
&target_type, ¶ms);
if (!target_type || strcmp(target_type, CRYPT_TARGET) != 0 ||
signature.asc
Description: Digital signature

