Skip to content

libssh2: use custom memory functions - #11235

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/libssh2-custommem
Closed

bagder wants to merge 1 commit into
masterfrom
bagder/libssh2-custommem

Conversation

@bagder

@bagder bagder commented Jun 1, 2023

Copy link
Copy Markdown
Member

Because of how libssh2_userauth_keyboard_interactive_ex() works: the libcurl callback allocates memory that is later free()d by libssh2, we must set the custom memory functions.

Reverts 8b5f100

Ref: libssh2/libssh2#1078

Because of how libssh2_userauth_keyboard_interactive_ex() works: the
libcurl callback allocates memory that is later free()d by libssh2, we
must set the custom memory functions.

Reverts 8b5f100

Ref: libssh2/libssh2#1078
@bagder bagder added the SCP/SFTP label Jun 1, 2023
@bagder bagder closed this in 10d8404 Jun 1, 2023
@bagder
bagder deleted the bagder/libssh2-custommem branch June 1, 2023 14:07
bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
Because of how libssh2_userauth_keyboard_interactive_ex() works: the
libcurl callback allocates memory that is later free()d by libssh2, we
must set the custom memory functions.

Reverts 8b5f100

Ref: libssh2/libssh2#1078
Closes curl#11235
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
Because of how libssh2_userauth_keyboard_interactive_ex() works: the
libcurl callback allocates memory that is later free()d by libssh2, we
must set the custom memory functions.

Reverts 8b5f100

Ref: libssh2/libssh2#1078
Closes curl#11235
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant