Change #264634
| Category | None |
| Changed by | Daniel Stenberg <daniel@haxx.se> |
| Changed at | Thu 16 Apr 2026 10:09:59 |
| Repository | https://api.github.com/repos/curl/curl |
| Project | curl/curl |
| Branch | bagder/libssh2-callback |
| Revision | e4494b23ec73dae633e683ff5dcc893feb855cbf |
Comments
libssh2: allocate libssh2-friendly memory in kbd_callback The function libssh2_userauth_keyboard_interactive_ex() calls the callback and is documented to call free() on the memory returned to libssh2 from the callback. libcurl can therefore not use the regular curlx_strdup() for this, as that is not compatible in debug builds when curl_global_init_mem() is used. Fixes #21336
Changed files
- lib/vssh/libssh2.c