1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-06 05:52:48 -05:00

terminal.c's from_backend() no longer calls term_out(), because

term_out() can in turn call ldisc_send() which calls back to
from_backend() when local echo is enabled. This was giving rise to
crazy re-entrancy stuff and stack overflows. Instead from_backend()
deposits its data in a bufchain which term_out() empties the next
time it's called.

[originally from svn r1276]
This commit is contained in:
Simon Tatham
2001-09-18 19:41:07 +00:00
parent 8c532d7668
commit 6364ff3e71
4 changed files with 41 additions and 45 deletions

2
scp.c
View File

@ -375,8 +375,6 @@ int from_backend(int is_stderr, char *data, int datalen)
return 0;
}
inbuf_head = 0;
/*
* If this is before the real session begins, just return.
*/