View | Details | Raw Unified | Return to bug 896 | Differences between
and this patch

Collapse All | Expand All

(-)openssh-3.8.1p1/channels.c (+2 lines)
Lines 702-707 Link Here
702
channel_pre_open(Channel *c, fd_set * readset, fd_set * writeset)
702
channel_pre_open(Channel *c, fd_set * readset, fd_set * writeset)
703
{
703
{
704
	u_int limit = compat20 ? c->remote_window : packet_get_maxsize();
704
	u_int limit = compat20 ? c->remote_window : packet_get_maxsize();
705
	if (limit > 0x10000)
706
		limit = 0x10000;
705
707
706
	if (c->istate == CHAN_INPUT_OPEN &&
708
	if (c->istate == CHAN_INPUT_OPEN &&
707
	    limit > 0 &&
709
	    limit > 0 &&

Return to bug 896