diff options
| author | 2025-12-19 11:29:08 -0800 | |
|---|---|---|
| committer | 2026-01-04 20:35:32 +0100 | |
| commit | 119f4f04186fa4f33ee6bd39af145cdaff1ff17f (patch) | |
| tree | b41f6313337c0c97e75b5ba38605b085972db1d0 /samples/kobject/ssh:/git@git.zx2c4.com/git: | |
| parent | dm-verity: make verity_fec_is_enabled() an inline function (diff) | |
dm-verity: correctly handle dm_bufio_client_create() failure
If either of the calls to dm_bufio_client_create() in verity_fec_ctr()
fails, then dm_bufio_client_destroy() is later called with an ERR_PTR()
argument. That causes a crash. Fix this.
Fixes: a739ff3f543a ("dm verity: add support for forward error correction")
Cc: stable@vger.kernel.org
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
