Re: [PATCH 1/2] libmultipath: make sure sscanf sets a max field width for strings

Xose Vazquez Perez <[email protected]> Tue, 7 Jul 2026 15:18:11 +0200
Newsgroups dev.linux.lists.dm-devel
Message-ID <[email protected]>
On 7/7/26 1:46 PM, Martin Wilck wrote:

> On Tue, 2026-07-07 at 07:52 +0200, Xose Vazquez Perez wrote:

>> Martin, this should be removed from iet.c:
>> "// Uses /dev/disk/by-path to find the IP of the device."

> I'm working on a fix. See my "tip" branch.
I mean this:

diff --git i/libmultipath/prioritizers/iet.c w/libmultipath/prioritizers/iet.c
index 97d35192..ab3e1f0c 100644
--- i/libmultipath/prioritizers/iet.c
+++ w/libmultipath/prioritizers/iet.c
@@ -21,7 +21,6 @@
  //   prio      "iet"
  //   prio_args "preferredip=10.11.12.13"
  //
-// Uses /dev/disk/by-path to find the IP of the device.
  // Assigns prio 20 (high) to the preferred IP and prio 10 (low) to the rest.
  //
  // by Olivier Lambert <lambert.olivier.gmail.com>