From: Brian Behlendorf Date: Tue, 18 Sep 2012 19:33:00 +0000 (-0700) Subject: Seg fault 'zpool import -d /dev/disk/by-id -a' X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=0a2f7b3662fd10e7ac56a4b2859248eb98e31d6d;hp=0a2f7b3662fd10e7ac56a4b2859248eb98e31d6d;p=zfs.git Seg fault 'zpool import -d /dev/disk/by-id -a' Introduced by commit 44867b6d6effc1628dd00c36821ab044f89fb988. We should of course check to ensure best isn't NULL before attempting to dereference it. Signed-off-by: Brian Behlendorf Closes #974 ---