SFTP torture test 1459 segfault in OOM path #6764
Closed
Comments
bagder
added a commit
that referenced
this issue
Mar 20, 2021
If libssh2_knownhost_init() returns NULL, like in an OOM situation, the ssh session was freed but the pointer wasn't cleared which made libcurl later call libssh2 to cleanup using the stale pointer. Fixes #6764 Closes #
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See build log
When
libssh2_knownhost_init
returns NULL we still use libssh2 in the disconnect call and then it segfaults, inside libssh2.I'm using libssh2 1.9.1-DEV from git master as of today.
The text was updated successfully, but these errors were encountered: