Bug#782400: multipath-tools: libmultipath: fix discovery of devices with empty rev sysfs attribute

Mauricio Faria de Oliveira mauricfo at linux.vnet.ibm.com
Wed May 27 19:07:59 UTC 2015

Hi Ritesh,

On Wed, 2015-05-27 at 23:40 +0530, Ritesh Raj Sarraf wrote:
> OKay!! THanks. I'll put this one on hold then. The other one, is already
> ready for Unstable.  And as I write, I'm also preparing the same for
> Jessie+U1.

Do you think it would be a problem to include the patch?

As explained the commit message, I think it's an obvious fix for the
regression introduced (with 'chomp', or similar name) for the case
when the sysfs attribute 'rev' contains only spaces -- because the
'chomp' (or similarly named) function will remove all spaces from the
string, so its size will be zero (so, the check for size greater than,
but not 'or equal to', will surely fail).

Kind regards,

More information about the pkg-lvm-maintainers mailing list