]> git.ipfire.org Git - thirdparty/qemu.git/commit
backends/cryptodev-vhost-user: Fix local_error leaks
authorGabriel Barrantes <gabriel.barrantes.dev@outlook.com>
Sat, 28 Dec 2024 01:16:57 +0000 (01:16 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 18 Jan 2025 10:43:32 +0000 (13:43 +0300)
commit34a2b679c552d3c14573f01e6a5ef3a1d021dd22
treed5a433ccfd340420d3066739ace977caa013462e
parent07893634cbb40fcd38c37f7d74c4e4cab429769c
backends/cryptodev-vhost-user: Fix local_error leaks

Do not propagate error to the upper, directly output the error
to avoid leaks.

Fixes: 2fda101de07 ("virtio-crypto: Support asynchronous mode")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2714
Signed-off-by: Gabriel Barrantes <gabriel.barrantes.dev@outlook.com>
Reviewed-by: zhenwei pi <pizhenwei@bytedance.com>
Message-Id: <DM8PR13MB50781054A4FDACE6F4FB6469B30F2@DM8PR13MB5078.namprd13.prod.outlook.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
(cherry picked from commit 78b0c15a563ac4be5afb0375602ca0a3adc6c442)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
backends/cryptodev-vhost-user.c