]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a bug in BN_mod_sqrt() that can cause it to loop forever.
authorGordon Tetlow <gordon@FreeBSD.org>
Tue, 15 Mar 2022 16:48:59 +0000 (09:48 -0700)
committerMark Johnston <markj@FreeBSD.org>
Tue, 15 Mar 2022 17:46:45 +0000 (13:46 -0400)
commit7895cf4ce4f7cb3bdf4f84388e97035cf256f97c
treebe3a2c9a210f173c23a0b4a590426bd39fc0d8b3
parentbb9467d6ce3d33c288eaee4f9c082b8315fd2d90
Fix a bug in BN_mod_sqrt() that can cause it to loop forever.

Obtained from: OpenSSL Project
Security: CVE-2022-0778
Security:       FreeBSD-SA-22:03.openssl

(cherry picked from commit fdc418f15e92732a3551832bcb625ba9b47242df)
(cherry picked from commit c2a7d6e643bbc8801b1b83c9e64d57e726eeed98)

Approved by: so
crypto/openssl/crypto/bn/bn_sqrt.c
crypto/openssl/doc/man3/BN_add.pod