]> www.infradead.org Git - users/dwmw2/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)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 13 Jan 2025 16:16:04 +0000 (17:16 +0100)
commit78b0c15a563ac4be5afb0375602ca0a3adc6c442
tree12310c89e5e5d6becee677fa6f0965734d44d79f
parentc48cc87ba15b3f7e327f6c6fab9eec7fe7421136
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>
backends/cryptodev-vhost-user.c