bad buf_getbyte

Paul Fox pgf at brightstareng.com
Wed Jan 19 04:29:24 WST 2005


 > 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


=---------------------
 paul fox, pgf at brightstareng.com



More information about the Dropbear mailing list