From: Greg Kroah-Hartman Date: Tue, 24 Sep 2019 16:30:38 +0000 (+0200) Subject: 4.14-stable patches X-Git-Tag: v5.3.2~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f7a3e5dde506ccad034795791abf711913950cb;p=thirdparty%2Fkernel%2Fstable-queue.git 4.14-stable patches added patches: crypto-talitos-fix-missing-break-in-switch-statement.patch --- diff --git a/queue-4.14/crypto-talitos-fix-missing-break-in-switch-statement.patch b/queue-4.14/crypto-talitos-fix-missing-break-in-switch-statement.patch new file mode 100644 index 00000000000..4b3da10d235 --- /dev/null +++ b/queue-4.14/crypto-talitos-fix-missing-break-in-switch-statement.patch @@ -0,0 +1,34 @@ +From 5fc194ea6d34dfad9833d3043ce41d6c52aff39a Mon Sep 17 00:00:00 2001 +From: "Gustavo A. R. Silva" +Date: Mon, 9 Sep 2019 00:29:52 -0500 +Subject: crypto: talitos - fix missing break in switch statement + +From: Gustavo A. R. Silva + +commit 5fc194ea6d34dfad9833d3043ce41d6c52aff39a upstream. + +Add missing break statement in order to prevent the code from falling +through to case CRYPTO_ALG_TYPE_AHASH. + +Fixes: aeb4c132f33d ("crypto: talitos - Convert to new AEAD interface") +Cc: stable@vger.kernel.org +Reported-by: kbuild test robot +Signed-off-by: Gustavo A. R. Silva +Reviewed-by: Christophe Leroy +Signed-off-by: Herbert Xu +Signed-off-by: Greg Kroah-Hartman + +--- + drivers/crypto/talitos.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/crypto/talitos.c ++++ b/drivers/crypto/talitos.c +@@ -3043,6 +3043,7 @@ static int talitos_remove(struct platfor + break; + case CRYPTO_ALG_TYPE_AEAD: + crypto_unregister_aead(&t_alg->algt.alg.aead); ++ break; + case CRYPTO_ALG_TYPE_AHASH: + crypto_unregister_ahash(&t_alg->algt.alg.hash); + break; diff --git a/queue-4.14/series b/queue-4.14/series index 11ec906aae6..ce933c1d68b 100644 --- a/queue-4.14/series +++ b/queue-4.14/series @@ -7,3 +7,4 @@ hid-sony-fix-memory-corruption-issue-on-cleanup.patch hid-logitech-fix-general-protection-fault-caused-by-logitech-driver.patch hid-hidraw-fix-invalid-read-in-hidraw_ioctl.patch mtd-cfi_cmdset_0002-use-chip_good-to-retry-in-do_write_oneword.patch +crypto-talitos-fix-missing-break-in-switch-statement.patch