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: Thu, 30 Jun 2011 09:44:27 +0200

On Wed, Jun 29, 2011 at 9:34 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Wed, 29 Jun 2011, Alfred Gebert wrote:
>
>> session->userauth_kybd_data is set to NULL on line userauth.c:1575.
>
> ...
>
>> The five byte from session->userauth_buf are too small and
>> session->userauth_kybd_data is the next member after userauth_buf.
>
> Thanks. Clearly I was very stupid when I changed that, and I've now reverted
> the bad stuff and put back the previous logic that should work better.
> Please pull the new code and see if it works better for you!
>

It works for me. Thank you.

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