Don't access memory before checking the correct length in aesni_cbc_hmac_sha256_ctrl...
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 24 Mar 2017 12:09:43 +0000 (13:09 +0100)
committerAndy Polyakov <appro@openssl.org>
Sat, 25 Mar 2017 10:17:38 +0000 (11:17 +0100)
commite704d91d273164074b21de348e86ace3e074419e
treed5e468a0d0403126a15a8a67e2f3f9a32167669c
parentf49cf4afa0e408c527da08d076fec1159c3620d9
Don't access memory before checking the correct length in aesni_cbc_hmac_sha256_ctrl in case EVP_CTRL_AEAD_TLS1_AAD.

Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3025)
crypto/evp/e_aes_cbc_hmac_sha256.c