Skip to content
Unverified Commit 955c2193 authored by Jay Satiro's avatar Jay Satiro Committed by Daniel Stenberg
Browse files

vtls: fix memory corruption



Ever since 70f1db32 (vtls: encapsulate SSL backend-specific data,
2017-07-28), the code handling HTTPS proxies was broken because the
pointer to the SSL backend data was not swapped between
conn->ssl[sockindex] and conn->proxy_ssl[sockindex] as intended, but
instead set to NULL (causing segmentation faults).

[jes: provided the commit message, tested and verified the patch]

Signed-off-by: default avatarJohannes Schindelin <johannes.schindelin@gmx.de>
parent 4bb80d53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment