HomeFreeBSD

loader: zfs_fmtdev can crash when pool discovery did fail and we have no spa

Description

loader: zfs_fmtdev can crash when pool discovery did fail and we have no spa

When zfs probe did fail and no spa was created, but zfs_fmtdev() is called,
we will crash while dereferencing spa (NULL pointer dereference).

MFC after: 1 week

Details

Provenance
tsoomeAuthored on Oct 19 2019, 8:08 AM
Parents
rG01a69565d87e: buildkernel: always add standard kernel configuration include path
Branches
Unknown
Tags
Unknown

Event Timeline