Avoid passing an uninitialized index to dsl_prop_known_index
commit7c30100c0047a0a3f489e28197cb641fc1a6f737
authorMark Johnston <markj@FreeBSD.org>
Sun, 15 Jan 2023 22:05:19 +0000 (15 17:05 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 20 Jan 2023 19:00:38 +0000 (20 11:00 -0800)
tree09650c4209589897758be95d4fd5c3bdb0ce578e
parentc6dab6dd39214d587c7013e8c6dfeb085e3eb41c
Avoid passing an uninitialized index to dsl_prop_known_index

Reported-by: KMSAN
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Allan Jude <allan@klarasystems.com>
Reviewed-by: Akash B <akash-b@hpe.com>
Signed-off-by: Mark Johnston <markj@FreeBSD.org>
Sponsored-by: The FreeBSD Foundation
Closes #14397
module/zfs/dsl_prop.c