diff options
author | jsing <> | 2019-04-14 16:43:49 +0000 |
---|---|---|
committer | jsing <> | 2019-04-14 16:43:49 +0000 |
commit | 0c03cee8ccea41a8cce424fed179f273e8ea6626 (patch) | |
tree | 8dd0495f908cf9aec8e01599cbe91c14ca232633 /src/lib/libssl/ssl_srvr.c | |
parent | 414b4f1a26a983ac1e551f813917c596eba1aabe (diff) | |
download | openbsd-0c03cee8ccea41a8cce424fed179f273e8ea6626.tar.gz openbsd-0c03cee8ccea41a8cce424fed179f273e8ea6626.tar.bz2 openbsd-0c03cee8ccea41a8cce424fed179f273e8ea6626.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/libssl/ssl_srvr.c')
0 files changed, 0 insertions, 0 deletions