libmultipath: allocate_binding(): detect line overflow
authorMartin Wilck <mwilck@suse.com>
Sat, 12 Oct 2019 21:27:49 +0000 (21:27 +0000)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Mon, 2 Mar 2020 08:16:39 +0000 (09:16 +0100)
commit07850a0e5c22022dda1b03d65482df7b08f03bff
tree66ef36b999a28439170538b43731a8aa32dd6684
parentaa02aaba822183576adafda092684faad8d0bb04
libmultipath: allocate_binding(): detect line overflow

Be sure not to truncate the WWID. This shouldn't happen under
normal circumstances, but play it safe.

Signed-off-by: Martin Wilck <mwilck@suse.com>
libmultipath/alias.c