[openssl/openssl] af0025: bn: Properly error out if aliasing return value wi...
Tomáš Mráz
noreply at github.com
Thu Oct 26 14:28:13 UTC 2023
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: af0025fc40779cc98c06db7e29936f9d5de8cc9e
https://github.com/openssl/openssl/commit/af0025fc40779cc98c06db7e29936f9d5de8cc9e
Author: Tomas Mraz <tomas at openssl.org>
Date: 2023-10-26 (Thu, 26 Oct 2023)
Changed paths:
M crypto/bn/bn_exp.c
M crypto/bn/bn_mod.c
M doc/man3/BN_add.pod
M doc/man3/BN_mod_inverse.pod
M test/bntest.c
Log Message:
-----------
bn: Properly error out if aliasing return value with modulus
Test case amended from code initially written by Bernd Edlinger.
Fixes #21110
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22421)
More information about the openssl-commits
mailing list