HomeFreeBSD

Fix crash caused by invalid snapshot names in redactnvl

Description

Fix crash caused by invalid snapshot names in redactnvl

This is a follow up fix for commit 0fdd6106bb. The VERIFY is
only true when we haven't hit an error code path. See added
test case for a reproducer.

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Christian Schwarz <me@cschwarz.com>
Closes #11048

Details

Provenance
me_cschwarz.comAuthored on Oct 14 2020, 9:04 PM
GitHub <noreply@github.com>Committed on Oct 14 2020, 9:04 PM
Parents
rG6a60ef80e2f0: Fix incorrect deletion order in range_tree_add_impl gap case
Branches
Unknown
Tags
Unknown