curl/lib/vssh
Jay Satiro 21575b26fe 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
2023-04-26 15:04:29 -04:00
..
libssh2.c libssh2: fix crash in keyboard callback 2023-04-26 15:04:29 -04:00
libssh.c lib: unify the upload/method handling 2023-04-25 12:38:38 +02:00
ssh.h libssh: use dynbuf instead of realloc 2023-03-16 23:32:22 +01:00
wolfssh.c lib: unify the upload/method handling 2023-04-25 12:38:38 +02:00