Files
mirror_zfs/module/zfs
Richard Yao 3cb293a6f8 Fix possible NULL pointer dereference in dbuf_verify()
Coverity reported a dereference after a NULL check in dbuf_verify(). If
`dn` is `NULL`, we can just assume that !dn->dn_free_txg, so we change
`!dn->dn_free_txg` to `(dn == NULL || !dn->dn_free_txg)`.

Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reported-by: Coverity (CID-992298)
Closes #14619
2023-03-14 15:00:54 -07:00
..
2022-03-15 15:13:42 -07:00
2023-03-08 11:17:23 -08:00
2022-03-15 15:13:42 -07:00
2023-01-10 13:39:22 -08:00
2022-10-20 11:57:15 -07:00
2022-10-29 13:05:11 -07:00
2023-03-10 11:59:53 -08:00
2023-03-10 11:59:53 -08:00
2023-01-20 11:01:41 -08:00
2022-03-15 15:13:42 -07:00
2022-03-15 15:13:42 -07:00
2022-01-07 10:36:49 -08:00
2022-01-12 16:14:36 -08:00
2019-06-19 09:48:12 -07:00
2022-10-12 11:25:18 -07:00
2022-03-15 15:13:42 -07:00
2023-03-10 11:59:53 -08:00
2022-10-27 09:54:54 -07:00
2022-09-02 13:31:19 -07:00
2023-01-12 16:00:30 -08:00
2023-03-10 11:59:53 -08:00
2023-03-10 11:59:53 -08:00
2022-11-29 09:26:03 -08:00
2023-03-10 11:59:53 -08:00