]> git.ipfire.org Git - thirdparty/openssl.git/commit
Enforce a size check in EVP_MAC_final()
authorMatt Caswell <matt@openssl.org>
Thu, 7 Oct 2021 13:06:32 +0000 (14:06 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 22 Oct 2021 07:44:59 +0000 (08:44 +0100)
commit4fffef3dedcb80d2bfa657d4b7c2850dddaef1b4
treef4d069214a9ae024859d22aa98be787ab00741bb
parent97c453a6395c5c5a53331c514d55b82be926d141
Enforce a size check in EVP_MAC_final()

Make sure that the outsize for the buffer is large enough for the
output from the MAC.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16789)

(cherry picked from commit b97f4dd73b4711eebf731ae0efa6e9b77c7f3304)
crypto/evp/mac_lib.c