Subject: Re: SIGSEGV if using patch "keyb-interactive: allow zero length fields"

Re: SIGSEGV if using patch "keyb-interactive: allow zero length fields"

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 28 Jun 2011 22:40:19 +0200 (CEST)

On Tue, 28 Jun 2011, Alfred Gebert wrote:

> I'm using libssh2 from git. My test uses curl and if I try to establish a
> sftp session the program dies with "Segmentaion fault".

Thanks for this report!

> #2 0xb7b136d8 in userauth_keyboard_interactive (session=0x8084a40,
> username=0x8084810 "agebert", username_len=7,
> response_callback=0xb7e83840 <kbd_callback>) at userauth.c:1616

At this point (userauth.c:1616), is session->userauth_kybd_data NULL or what
does it point to?

If it isn't NULL, I'm curious to figure out what it points to...

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-06-28