hwtable.c segfault
PATCH 1/1 hwtable.c segfault
Christophe,
I built the latest git tree of the multipath tools and had a segfault starting multipath. I think that the increment of the hwe pointer is wrong. Here is a patch.
libmultipath/hwtable.c +1 -1
@@ -462,7 +462,7 @@ setup_default_hwtable (vector hw)while (hwe->vendor) { r +=store_hwe (hw, hwe); - hwe +=sizeof (struct hwentry ); + hwe++; }return r; }
Signature · 1 line
Mark Haverkamp <[email protected]>