]> git.ipfire.org Git - thirdparty/openssl.git/commit
ossl_cmp_error_new(): Fix Coverity issue 1486534, and consequently also issues 148653...
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Mon, 28 Jun 2021 10:17:25 +0000 (12:17 +0200)
committerDr. David von Oheimb <dev@ddvo.net>
Tue, 29 Jun 2021 11:05:52 +0000 (13:05 +0200)
commit6eaf139f62001b958861f25c5cebc41c76c579bd
tree78608d71d9e5dd7f836d0540348cb322742f9c8c
parentb2eabccbe52d57f009b351700b472b42195380d9
ossl_cmp_error_new(): Fix Coverity issue 1486534, and consequently also issues 1486536 and 1486533

The issues are due to an integer overflow that may happen on '(ERR_SYSTEM_FLAG << 1)'.

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15938)
crypto/cmp/cmp_msg.c