HomeFreeBSD

libzfs recv: Check if user prop before inheritable

Description

libzfs recv: Check if user prop before inheritable

User props trigger an assert in zfs_prop_inheritable(), we must check
if the prop is a user prop first.

Signed-off-by: Ryan Moeller <ryan@iXsystems.com>

Backported as snippit from:
63652e1 Add --enable-asan and --enable-ubsan switches

Details

Provenance
freqlabsAuthored on Nov 9 2022, 9:24 PM
Tony Hutter <hutter2@llnl.gov>Committed on Nov 30 2022, 6:13 PM
Parents
rG0f4ee295ba94: dsl_prop_known_index(): check for invalid prop
Branches
Unknown
Tags
Unknown