summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authortb <>2023-06-13 09:28:13 +0000
committertb <>2023-06-13 09:28:13 +0000
commit97b300721913624967af4405071db409292eccee (patch)
tree7c7288ba2b684c96959520f33f7b6b9390b1e34a /src/lib/libc
parent709f13887e3aea25f0f0b42564ef0f27da6b8dce (diff)
downloadopenbsd-97b300721913624967af4405071db409292eccee.tar.gz
openbsd-97b300721913624967af4405071db409292eccee.tar.bz2
openbsd-97b300721913624967af4405071db409292eccee.zip
Disallow aliasing of return value and modulus
All the functions changed in this commit would silently misbehave if the return value aliases the modulus, most of the time they would succeed and return an incorrect result of 0 in that situation. This adjusts all the functions in BN_mod.c, others and documentation will follow later. Prompted by a bug report about BN_mod_inverse() by Guido Vranken. ok jsing
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions