]> git.proxmox.com Git - mirror_zfs.git/commit
libzfs recv: Check if user prop before inheritable
authorRyan Moeller <ryan@iXsystems.com>
Wed, 9 Nov 2022 21:24:06 +0000 (21:24 +0000)
committerTony Hutter <hutter2@llnl.gov>
Wed, 30 Nov 2022 18:13:23 +0000 (10:13 -0800)
commit1d9aa838ed5a11a49676678e03e6f0d50ec05d78
treed9eca86b3ff7c90b281b9cd3923e424fc2c2e4f6
parent0f4ee295ba94803e5833f57481cfdbee5d1160d4
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
lib/libzfs/libzfs_sendrecv.c