diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2023-04-25 15:31:33 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2023-04-26 15:04:29 -0400 |
commit | 21575b26fe33099e087b8beaac9bc43fa8597874 (patch) | |
tree | 1dbe7df22cc437a2e1bc99fbd3effb5899d39ba6 /tests/http/testenv/env.py | |
parent | 53523d7dcc3ad627f0c079f05ab4d2f0d954eb00 (diff) | |
download | curl-21575b26fe33099e087b8beaac9bc43fa8597874.tar.gz |
libssh2: fix crash in keyboard callback
- Always set the libssh2 'abstract' user-pointer to the libcurl easy
handle associated with the ssh session, so it is always passed to the
ssh keyboard callback.
Prior to this change and since 8b5f100 (precedes curl 8.0.0), if libcurl
was built without CURL_DEBUG then it could crash during the ssh auth
phase due to a null dereference in the ssh keyboard callback.
Reported-by: Andreas Falkenhahn
Fixes https://github.com/curl/curl/pull/11024
Closes https://github.com/curl/curl/pull/11026
Diffstat (limited to 'tests/http/testenv/env.py')
0 files changed, 0 insertions, 0 deletions