diff options
author | jsing <> | 2019-04-14 16:43:49 +0000 |
---|---|---|
committer | jsing <> | 2019-04-14 16:43:49 +0000 |
commit | 4acca314105512e798b1f9100b50de7ced92d5cd (patch) | |
tree | 8dd0495f908cf9aec8e01599cbe91c14ca232633 /src/lib/libcrypto/x509v3/ext_dat.h | |
parent | 65ad94378ef20d46464421595910b27561e089f3 (diff) | |
download | openbsd-4acca314105512e798b1f9100b50de7ced92d5cd.tar.gz openbsd-4acca314105512e798b1f9100b50de7ced92d5cd.tar.bz2 openbsd-4acca314105512e798b1f9100b50de7ced92d5cd.zip |
Avoid potential double-frees following EVP_CIPHER_CTX_copy().
In the case of a cipher with a custom copy control, if that control fails
we may still have pointers that we do not own in the previously copied
cipher data. Avoid potential double-frees by zeroing and freeing the
copied cipher data in this case.
Issue reported by Guido Vranken.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/x509v3/ext_dat.h')
0 files changed, 0 insertions, 0 deletions