Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dereference after null check in enqueue_range
If the bp is NULL, we have a hole. However, when we build with assertions, we will dereference bp when `blkid == DMU_SPILL_BLKID`. When this happens on a hole, we will have a NULL pointer dereference. Reported-by: Coverity (CID-1524670) Signed-off-by: Richard Yao <[email protected]>
- Loading branch information