]> git.ipfire.org Git - thirdparty/qemu.git/commit
crypto: avoid leak of ctx when bad cipher mode is given
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 10 Jun 2024 09:26:18 +0000 (10:26 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 12 Sep 2024 01:24:55 +0000 (04:24 +0300)
commit0adc1ff8c72b219fa93fc44df44a89d268dc1b95
tree513f75056a77e9b57ec13915a31d1e1d42a5cd94
parent521059321421ff2bcd777536ec2a8c1a420639ca
crypto: avoid leak of ctx when bad cipher mode is given

Fixes: Coverity CID 1546884
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
(cherry picked from commit 586ac2c67d707c2588766c5195d94fa553cc25af)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
crypto/cipher-nettle.c.inc