[openssl/openssl] 5cf554: bn: Properly error out if aliasing return value wi...
Tomáš Mráz
noreply at github.com
Thu Oct 26 14:28:14 UTC 2023
Branch: refs/heads/openssl-3.0
Home: https://github.com/openssl/openssl
Commit: 5cf554ee9d127a5cf81c09a6dbfe090e86c022b4
https://github.com/openssl/openssl/commit/5cf554ee9d127a5cf81c09a6dbfe090e86c022b4
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)
(cherry picked from commit af0025fc40779cc98c06db7e29936f9d5de8cc9e)
More information about the openssl-commits
mailing list