]> git.ipfire.org Git - thirdparty/openssl.git/commit
template_kem.c: Check outlen before dereferencing it
authorTomas Mraz <tomas@openssl.org>
Wed, 22 Jan 2025 15:55:35 +0000 (16:55 +0100)
committerTomas Mraz <tomas@openssl.org>
Fri, 24 Jan 2025 13:16:44 +0000 (14:16 +0100)
commit2581ff619bbba7232ca5f6db200bab42ef72c33f
tree87264c4c0550cc1623998f92f0bffeff9a856c73
parentbd0a2e0c1eac69e83379dedbb80b348600daddcb
template_kem.c: Check outlen before dereferencing it

Fixes Coverity 163335316333561633357

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/26522)
providers/implementations/kem/template_kem.c