bad buf_getbyte patch
David Horwitt
david at aogsquid.ucsd.edu
Wed Jan 19 04:06:34 WST 2005
I created a workaround/fix for my bad buf_getbyte problem:
*** svr-chansession.c 2005-01-11 13:14:54.000000000 -0800
--- svr-chansession.c.orig 2005-01-03 01:24:04.000000000 -0800
***************
*** 439,445 ****
if (len == 0) {
TRACE(("leave get_termmodes: empty terminal modes string"))
- return;
}
while (((opcode = buf_getbyte(ses.payload)) != 0x00) && opcode <= 159) {
--- 439,444 ----
This seems to work OK w/out ill effects; the TRACE message implies that the return that I added may have
been intended all along.
Cheers,
David Horwitt
More information about the Dropbear
mailing list