10 Jul 2012 18:14
#243: curl + libssh2 segfault with SFTP
#243: curl + libssh2 segfault with SFTP
----------------------+--------------------
Reporter: tony2001 | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.4.0
Component: SFTP | Version: 1.4.1
Keywords: | Blocked By:
Blocks: |
----------------------+--------------------
curl is the last stable version from the cURL website (curl-7.26.0).
libssh2 is a fresh Git checkout (libssh2-HEAD-499b22c).
# curl -u user:password sftp://127.0.0.1
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff62d858b in kex_method_diffie_hellman_group14_sha1_key_exchange
(session=0x65ee60, key_state=0xb7) at kex.c:804
804 key_state->state = libssh2_NB_state_idle;
(gdb) bt
#0 0x00007ffff62d858b in
kex_method_diffie_hellman_group14_sha1_key_exchange (session=0x65ee60,
key_state=0xb7) at kex.c:804
#1 0x00007ffff62da721 in _libssh2_kex_exchange (session=0x65ee60,
reexchange=0, key_state=0x66bb00) at kex.c:1759
#2 0x00007ffff62e33c0 in session_startup (session=0x65ee60, sock=7) at
session.c:718
#3 0x00007ffff62e366d in libssh2_session_handshake (session=0x65ee60,
sock=7) at session.c:796
#4 0x00007ffff7ba0ff2 in ssh_statemach_act () from
/tmp/libssh/lib64/libcurl.so.4
(Continue reading)
RSS Feed