Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libssh2: use custom memory functions #11235

Closed
wants to merge 1 commit into from
Closed

Conversation

bagder
Copy link
Member

@bagder bagder commented Jun 1, 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

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.

None yet

1 participant