Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #264645

Category curl
Changed by Daniel Stenberg <danielohnoyoudont@haxx.se>
Changed at Thu 16 Apr 2026 10:35:32
Repository https://github.com/curl/curl.git
Project curl
Branch master
Revision 7e450cb80a476b5f96e9c9da67e21ffebcc4b375

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 or
when curl_global_init_mem() is used.

Fixes #21336
Closes #21338

Changed files