On Thu, Feb 11, 2010 at 01:17:06AM -0800, Kees Cook wrote: > Attached patch fixes the issue. > + m0 = strncmp(path0, "/dev/block/", 11); > + m1 = strncmp(path1, "/dev/block/", 11);
/dev should not be hard-coded. Use cmd->dev_dir so its location can be changed through lvm.conf. (The test suite makes use of that and it also makes it easy to control exactly what devices lvm sees when trying to reproduce problems people report.) Alasdair -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org