OpenSolaris

Printable Version Enter a New Search
Bug ID 6646104
Synopsis ZFS sysevent module segfaults on VDEV_CHECK sysevent
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:zfs
Keywords
Responsible Engineer Eric Schrock
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_81
Fixed In snv_81
Release Fixed solaris_nevada(snv_81) , solaris_10u6(s10u6_01) (Bug ID:2160942)
Related Bugs
Submit Date 30-December-2007
Last Update Date 29-April-2008
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.
Work Around
N/A
Comments
N/A