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

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

From: Alfred Gebert <alfred.gebert_at_gmail.com>
Date: Wed, 29 Jun 2011 08:42:13 +0200

On Tue, Jun 28, 2011 at 10:40 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> 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?

session->userauth_kybd_data is _not_ NULL.

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

Can you reproduce the bug?

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