diff options
author | tb <> | 2022-04-20 13:32:34 +0000 |
---|---|---|
committer | tb <> | 2022-04-20 13:32:34 +0000 |
commit | d302da36794487884f0ddef84b70d4fa96fe193d (patch) | |
tree | 43cc3e3cda610db5d4d1a8c236e941b33bae3293 /src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py | |
parent | 7b67219c7bc10448e8d9afb3fa8b1617f0a8e1ef (diff) | |
download | openbsd-d302da36794487884f0ddef84b70d4fa96fe193d.tar.gz openbsd-d302da36794487884f0ddef84b70d4fa96fe193d.tar.bz2 openbsd-d302da36794487884f0ddef84b70d4fa96fe193d.zip |
Avoid use of uninitialized in BN_mod_exp_recp()
If either of the two initial BN_CTX_get() fails, we will call
BN_RECP_CTX_free() on the uninitialized recp, which won't end
well, so hoist the BN_RECP_CTX_init() call a few lines up.
From Pauli, OpenSSL ad249412
ok inoguchi jsing
Diffstat (limited to 'src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py')
0 files changed, 0 insertions, 0 deletions