HomeFreeBSD

module: zfs: zio_inject: zio_match_handler: don't << -1

Description

module: zfs: zio_inject: zio_match_handler: don't << -1

Caught by UBSAN: ZI_NO_DVA is passed explicitly in
zio_handle_decrypt_injection() and can be an ENOENT from zio_match_dva()

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Damian Szuberski <szuberskidamian@gmail.com>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13146
Closes #13190

Details

Provenance
наб <nabijaczleweli@nabijaczleweli.xyz>Authored on Mar 13 2022, 8:18 PM
GitHub <noreply@github.com>Committed on Mar 13 2022, 8:18 PM
Parents
rG56a0699e5e06: ZTS: Fix send_partial_dataset.ksh
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGdad2b19fffda: module: zfs: zio_inject: zio_match_handler: don't << -1 (authored by наб <nabijaczleweli@nabijaczleweli.xyz>).Mar 13 2022, 8:18 PM