mirror of
https://git.proxmox.com/git/mirror_zfs
synced 2025-10-25 05:04:30 +00:00
Clang's static analyzer complained that we could use after free here if the inner loop ever iterated. That is a false positive, but upon inspection, the userland abd_alloc_chunks() function never will put multiple consecutive pages into a `struct scatterlist`, so there is no need to loop. We delete the inner loop. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Closes #14042 |
||
|---|---|---|
| .. | ||
| freebsd | ||
| linux | ||