diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-03-21 00:10:04 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-03-21 00:10:04 +0100 |
commit | 05f37c099d404f961e64af5c8f41196d4e0514d6 (patch) | |
tree | ade843f30d65752166b58007fb3374d2bc9e5360 /tests | |
parent | 472b537215984cd0d153055a0cd6b3ccc2f387e5 (diff) | |
download | curl-bagder/libssh2-session-free.tar.gz |
libssh2: clear session pointer after freebagder/libssh2-session-free
If libssh2_knownhost_init() returns NULL, like in an OOM situation, the
ssh session was freed but the pointer wasn't cleared which made libcurl
later call libssh2 to cleanup using the stale pointer.
Fixes #6764
Closes #
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions