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: Wed, 29 Jun 2011 21:34:12 +0200 (CEST)

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!

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