diff options
author | Mark Johnston <[email protected]> | 2023-11-07 13:24:15 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2023-11-07 10:24:15 -0800 |
commit | f4cd1bac723633a22adafc87c2a9f874fbcbc9d6 (patch) | |
tree | f0e079fd40c37d96b8a0c68fb0ea5b3bb99109b0 /module/zfs/brt.c | |
parent | 358ce2cf28a99095915deb883cbacd2d2e1f7b63 (diff) |
Make abd_raidz_gen_iterate() pass an initialized pointer to the callback
Otherwise callbacks may trigger KMSAN violations in the dlen == 0 case.
For example, raidz_syn_pq_abd() will compare an uninitialized pointer
with itself before returning. This seems harmless, but let's maintain
good hygiene and avoid passing uninitialized variables, if only to
placate KMSAN.
Reviewed-by: Alexander Motin <[email protected]>
Reviewed-by: Allan Jude <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Mark Johnston <[email protected]>
Closes #15491
Diffstat (limited to 'module/zfs/brt.c')
0 files changed, 0 insertions, 0 deletions