]> git.proxmox.com Git - mirror_zfs.git/commit
Suppress Clang Static Analyzer false positive in the AVL tree code.
authorRichard Yao <richard.yao@alumni.stonybrook.edu>
Sun, 12 Feb 2023 21:38:27 +0000 (16:38 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 8 Mar 2023 21:51:21 +0000 (13:51 -0800)
commita4240a8ac7871f8de537edf799e37e0a4fd4be08
treefa8b3ffa1bfaef0757957992aef69a5c3bad29d9
parent8b72dfed11d0070c55361408bff9d60d873e437f
Suppress Clang Static Analyzer false positive in the AVL tree code.

This has been filed as llvm/llvm-project#60694. Switching from a copy
through a C pointer dereference to an explicit memcpy() is a workaround
that prevents a false positive.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #14575
module/avl/avl.c