summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509v3/ext_dat.h
diff options
context:
space:
mode:
authorjsing <>2019-04-14 16:43:49 +0000
committerjsing <>2019-04-14 16:43:49 +0000
commit4acca314105512e798b1f9100b50de7ced92d5cd (patch)
tree8dd0495f908cf9aec8e01599cbe91c14ca232633 /src/lib/libcrypto/x509v3/ext_dat.h
parent65ad94378ef20d46464421595910b27561e089f3 (diff)
downloadopenbsd-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