summaryrefslogtreecommitdiff
path: root/src/tool_operate.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-03-21 00:10:04 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-03-21 00:10:04 +0100
commit05f37c099d404f961e64af5c8f41196d4e0514d6 (patch)
treeade843f30d65752166b58007fb3374d2bc9e5360 /src/tool_operate.h
parent472b537215984cd0d153055a0cd6b3ccc2f387e5 (diff)
downloadcurl-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 'src/tool_operate.h')
0 files changed, 0 insertions, 0 deletions