1
0
mirror of https://github.com/golang/go synced 2024-10-04 20:21:22 -06:00
go/src/pkg/exp
Dave Cheney 424f53fa0c exp/ssh: fix two flow control bugs in chanWriter
This CL fixes two issues sending data to the remote peer.
The first bug occurs when the size of the buffer passed to
Write is larger than the current window, in this case, w.rwin
can become negative.

The second issue is more problematic than the first as the
amount of data passed to writePacket was not limited to w.rwin.
In this case the remote peer could silently drop the additional
data, or drop the connection.

Credit to Jacek Masiulaniec for the bug report.

R=agl, jacek.masiulaniec
CC=golang-dev
https://golang.org/cl/5511043
2012-01-04 10:36:21 -05:00
..
ebnf renaming_2: gofix -r go1pkgrename src/pkg/[a-l]* 2011-11-08 15:40:58 -08:00
ebnflint src/pkg/[a-m]*: gofix -r error -force=error 2011-11-01 22:04:37 -04:00
gotype os: new FileInfo, FileMode types + update tree 2011-11-30 12:04:16 -05:00
inotify build: a round of fixes 2011-12-20 17:54:40 -05:00
norm exp/norm: fixed two unrelated bugs in normalization library. 2011-12-23 18:21:26 +01:00
spdy renaming_2: gofix -r go1pkgrename src/pkg/[a-l]* 2011-11-08 15:40:58 -08:00
sql sql: add Rows.Columns 2011-12-15 10:14:57 -08:00
ssh exp/ssh: fix two flow control bugs in chanWriter 2012-01-04 10:36:21 -05:00
terminal exp/terminal: several cleanups 2011-12-22 11:23:57 -05:00
types gc: minor changes for inlining 2011-12-09 08:03:51 -05:00
winfsnotify more tags for go/build 2011-12-15 13:35:59 -05:00
wingui more tags for go/build 2011-12-15 13:35:59 -05:00
README explain exp 2009-10-15 11:02:18 -07:00

This directory tree contains experimental packages and
unfinished code that is subject to even more change than the
rest of the Go tree.