summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_srvr.c
diff options
context:
space:
mode:
authorjsing <>2019-04-14 16:43:49 +0000
committerjsing <>2019-04-14 16:43:49 +0000
commit0c03cee8ccea41a8cce424fed179f273e8ea6626 (patch)
tree8dd0495f908cf9aec8e01599cbe91c14ca232633 /src/lib/libssl/ssl_srvr.c
parent414b4f1a26a983ac1e551f813917c596eba1aabe (diff)
downloadopenbsd-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