bad buf_getbyte
Paul Fox
pgf at brightstareng.com
Wed Jan 19 04:44:38 WST 2005
it seems that in between the time i a) read the archives, b) found
the bug, and c) subscribed to the list, that david found the problem
independently. nice to see there's an active development effort
going on! :-)
paul
i wrote:
> > I'm getting "bad buf_getbyte" errors (and session closing) when
> > connecting from Solaris SSH to dropbearmulti
>
> i got this too, using a java ssh client. if your problem is the
> same as mine, it's because of an apparent edit error in [what
> used to be sessionpty(), but what is now] get_termmodes(), in
> svr-chansession.c.
>
> i believe there's a missing "return" at line 441:
>
> if (len == 0) {
> TRACE(("leave get_termmodes: empty terminal modes string"))
> missing --> return;
> }
>
>
>
> this begs a question for me -- how much upheaval was there in the
> 0.44 release? i'm planning on using dropbear in an application
> that doesn't need client functionality. should i stick with 0.43
> for this use?
>
=---------------------
paul fox, pgf at brightstareng.com
More information about the Dropbear
mailing list