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 08:03:54 +0000 (09:03 +0100)
committerAndy Polyakov <appro@openssl.org>
Sat, 25 Mar 2017 10:12:18 +0000 (11:12 +0100)
commit1b6f5a4d3b8cdb02e0bba6878a2b70c850522440
tree7881252724e8e9786abecc27fae80d5616f4a6d8
parent643a3580423c8774c08aed7e377495800b7e7266
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/3023)
crypto/evp/e_aes_cbc_hmac_sha256.c