HomeFreeBSD

Fix potential NULL pointer dereference in zfsdle_vdev_online()

Description

Fix potential NULL pointer dereference in zfsdle_vdev_online()

Coverity complained about this.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Chunwei Chen <david.chen@nutanix.com>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #13903

Details

Provenance
Richard Yao <richard.yao@alumni.stonybrook.edu>Authored on Sep 20 2022, 10:20 PM
GitHub <noreply@github.com>Committed on Sep 20 2022, 10:20 PM
Parents
rGc50b3f14d33c: Delay ZFS_PROP_SHARESMB property to handle it for encrypted raw receive
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGde6c0d3d8cb2: Fix potential NULL pointer dereference in zfsdle_vdev_online() (authored by Richard Yao <richard.yao@alumni.stonybrook.edu>).Sep 20 2022, 10:20 PM