diff options
author | tb <> | 2022-04-20 13:32:34 +0000 |
---|---|---|
committer | tb <> | 2022-04-20 13:32:34 +0000 |
commit | 6cb7f5649a10f74c705a9775396c189758e1d6cd (patch) | |
tree | 43cc3e3cda610db5d4d1a8c236e941b33bae3293 /src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py | |
parent | 625e99509e8fec8674929f31ea4f0f815cb92763 (diff) | |
download | openbsd-6cb7f5649a10f74c705a9775396c189758e1d6cd.tar.gz openbsd-6cb7f5649a10f74c705a9775396c189758e1d6cd.tar.bz2 openbsd-6cb7f5649a10f74c705a9775396c189758e1d6cd.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