|
Description
|
In zfs_iter_vdev(), we have the following bit of code:
size_t len = strlen(dp->dd_compare);
However, when we are doing a search by guid (as is the case for
VDEV_CHECK), 'dd_compare' will be NULL, and this will segfault.
We get away with this because the in-kernel spa_event_notify()
is completely broken and we never get here.
|