diff options
Diffstat (limited to 'sys-fs/cryptsetup/files')
-rw-r--r-- | sys-fs/cryptsetup/files/cryptsetup-libmapper.patch | 13 | ||||
-rw-r--r-- | sys-fs/cryptsetup/files/digest-cryptsetup-0.1-r3 | 3 |
2 files changed, 16 insertions, 0 deletions
diff --git a/sys-fs/cryptsetup/files/cryptsetup-libmapper.patch b/sys-fs/cryptsetup/files/cryptsetup-libmapper.patch new file mode 100644 index 000000000000..6f3dd180f83b --- /dev/null +++ b/sys-fs/cryptsetup/files/cryptsetup-libmapper.patch @@ -0,0 +1,13 @@ +--- src/libdevmapper.c ++++ src/libdevmapper.c +@@ -216,6 +216,10 @@ + r = -EINVAL; + 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); diff --git a/sys-fs/cryptsetup/files/digest-cryptsetup-0.1-r3 b/sys-fs/cryptsetup/files/digest-cryptsetup-0.1-r3 new file mode 100644 index 000000000000..c08b511b4b33 --- /dev/null +++ b/sys-fs/cryptsetup/files/digest-cryptsetup-0.1-r3 @@ -0,0 +1,3 @@ +MD5 c813ca6b5e8ecd9a48ec126c3b8ce857 cryptsetup-0.1.tar.bz2 249013 +RMD160 0657a5750e32e059e3a2ad10b3de0027d616442b cryptsetup-0.1.tar.bz2 249013 +SHA256 421c9eb1771f8e3f61eb1b21843032b4f30f6b2cfac66a800980a2b65bdad5b7 cryptsetup-0.1.tar.bz2 249013 |