Files
crypto/ssh
Adam Langley 7f524f2468 ssh: fix locking in channel.Write
Since a lock is retaken before sync.Cond.Wait returns, this could
deadlock when the for loop attempts to take the lock again. (Reported
by sanjay.m.)

theirWindow was used outside of the lock, therefore concurrent writers
could overrun the window.

theirWindow was never updated to reflect the data written.

R=dave, balasanjay
CC=golang-dev
https://golang.org/cl/5671084
2012-02-18 13:49:50 -05:00
..
2012-02-18 13:49:50 -05:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00
2012-01-25 15:31:12 -05:00