savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Savannah-hackers] lshd crashed


From: Loic Dachary
Subject: Re: [Savannah-hackers] lshd crashed
Date: Mon, 25 Jun 2001 15:11:30 +0200

        I patched, compiled and installed. We will see if it keeps lsh
happy. I documented this in 
http://savannah.gnu.org/savannah.html#lsh%20and%20ssh.
        
        Would you advise us to switch to lsh-1.2.2 ? 

        Thanks again for your support,

Niels Möller writes:
 > I've not yet had the time to reproduce and analyze the bug in detail,
 > but you could try the patch below. It is relative to 1.2.2, and it
 > should get lshd to drop the connection rather than crash.
 > 
 > Regards,
 > /Niels
 > 
 > diff -u -r1.31 server_userauth.c
 > --- server_userauth.c        2001/02/25 22:38:20     1.31
 > +++ server_userauth.c        2001/06/25 12:26:57
 > @@ -343,9 +343,12 @@
 >    connection->dispatch[SSH_MSG_USERAUTH_REQUEST] =
 >      make_userauth_handler(self->methods, self->services,
 >                        c, e,
 > +                      /* Use the connection's exception handler as
 > +                       * parent, in order to get reasonable
 > +                       * handling of EXC_PROTOCOL. */
 >                            make_exc_userauth_handler(connection,
 >                                                      
 > self->advertised_methods,
 > -                                                    AUTH_ATTEMPTS, e,
 > +                                                    AUTH_ATTEMPTS, 
 > connection->e,
 >                                                      HANDLER_CONTEXT));
 >  }
 >  

-- 
Loic   Dachary         http://www.dachary.org/  address@hidden
24 av Secretan         http://www.senga.org/      address@hidden
75019    Paris         Tel: 33 1 42 45 09 16        address@hidden
        GPG Public Key: http://www.dachary.org/loic/gpg.txt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]