summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2022-11-20 18:04:08 -0500
committerTony Hutter <[email protected]>2022-12-01 12:39:44 -0800
commite48aaef89f3eba71da5ce6c12384348a698a5b29 (patch)
tree2cd8993505b642f40e55893e20cfee405e18e413 /lib
parent0e3abd29945b6d6a4f89892445f4d85bcb1d1e92 (diff)
Fix NULL pointer dereference in dbuf_prefetch_indirect_done()
When ZFS is built with assertions, a prefetch is done on a redacted blkptr and `dpa->dpa_dnode` is NULL, we will have a NULL pointer dereference in `dbuf_prefetch_indirect_done()`. Both Coverity and Clang's Static Analyzer caught this. Reported-by: Coverity (CID 1524671) Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: Richard Yao <[email protected]> Closes #14210
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions