multipath-tools-0.5.0 segfault with blacklist/blacklist_exceptions
Hello,
I was upgrading multipath-tools and noticed our old config causes the various programs to segfault in libmultipath. The culprit appeared to be our blacklist entries with a vendor listed but no product (for filtering the local disk controllers), e.g:
blacklist {
device {
vendor "LSILOGIC"
}
}Adding a product of .* makes things work as expected, but this shouldn't be necessary. It looks like this is because compiling the product regex is optional:
But the regexec is not:
I couldn't find any posts about this and it didn't look fixed yet, so I figured I should report the issue.