Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(8)

Issue 5970056: code review 5970056: go.crypto/ssh: fix locking and corruption issues with s... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 3 months ago by kardia
Modified:
14 years, 2 months ago
Reviewers:
agl1, dave, golang-dev
CC:
golang-dev
Visibility:
Public.

Description

go.crypto/ssh: fix locking and corruption issues with server. Fixes issue 3204.

Patch Set 1 #

Patch Set 2 : diff -r fbae31f0f8f0 http://code.google.com/p/go.crypto #

Patch Set 3 : diff -r fbae31f0f8f0 http://code.google.com/p/go.crypto #

Patch Set 4 : diff -r fbae31f0f8f0 http://code.google.com/p/go.crypto #

Patch Set 5 : diff -r fbae31f0f8f0 http://code.google.com/p/go.crypto #

Patch Set 6 : diff -r fbae31f0f8f0 http://code.google.com/p/go.crypto #

Patch Set 7 : diff -r fbae31f0f8f0 http://code.google.com/p/go.crypto #

Total comments: 1

Patch Set 8 : diff -r 45667c991e8e http://code.google.com/p/go.crypto #

Patch Set 9 : diff -r 45667c991e8e http://code.google.com/p/go.crypto #

Patch Set 10 : diff -r 45667c991e8e http://code.google.com/p/go.crypto #

Total comments: 3

Patch Set 11 : diff -r 45667c991e8e http://code.google.com/p/go.crypto #

Patch Set 12 : diff -r 45667c991e8e http://code.google.com/p/go.crypto #

Patch Set 13 : diff -r 45667c991e8e http://code.google.com/p/go.crypto #

Patch Set 14 : diff -r b42815235d16 http://code.google.com/p/go.crypto #

Patch Set 15 : diff -r b42815235d16 http://code.google.com/p/go.crypto #

Total comments: 12

Patch Set 16 : diff -r b42815235d16 http://code.google.com/p/go.crypto #

Unified diffs Side-by-side diffs Delta from patch set Stats (+530 lines, -154 lines) Patch
M ssh/channel.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 6 chunks +204 lines, -152 lines 0 comments Download
M ssh/common.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +69 lines, -0 lines 0 comments Download
M ssh/server.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +5 lines, -2 lines 0 comments Download
A ssh/server_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +252 lines, -0 lines 0 comments Download

Messages

Total messages: 33
kardia
Hello golang-dev@googlegroups.com (cc: agl@golang.org, golang-dev@googlegroups.com), I'd like you to review this change to http://code.google.com/p/go.crypto
14 years, 3 months ago (2012-03-31 21:52:12 UTC) #1
kardia
Hello golang-dev@googlegroups.com (cc: agl@golang.org, golang-dev@googlegroups.com), Please take another look.
14 years, 3 months ago (2012-03-31 22:10:01 UTC) #2
kardia
Hello golang-dev@googlegroups.com (cc: agl@golang.org, golang-dev@googlegroups.com), Please take another look.
14 years, 3 months ago (2012-03-31 22:10:17 UTC) #3
dave_cheney.net
Hello, Thank you for tackling this. The CL you have submitted is very large and ...
14 years, 3 months ago (2012-04-01 07:34:10 UTC) #4
kardia
Hello golang-dev@googlegroups.com, dave@cheney.net (cc: agl@golang.org, golang-dev@googlegroups.com), Please take another look.
14 years, 3 months ago (2012-04-01 15:30:08 UTC) #5
kardia
I would normally be ready to back you on this. However, in this case I ...
14 years, 3 months ago (2012-04-01 15:39:51 UTC) #6
kardia
Hello golang-dev@googlegroups.com, dave@cheney.net (cc: agl@golang.org, golang-dev@googlegroups.com), Please take another look.
14 years, 3 months ago (2012-04-01 19:32:32 UTC) #7
kardia
Hello golang-dev@googlegroups.com, dave@cheney.net (cc: agl@golang.org, golang-dev@googlegroups.com), Please take another look.
14 years, 3 months ago (2012-04-01 19:32:53 UTC) #8
kardia
I should talk to more people before mailing out a change set. After writing out ...
14 years, 3 months ago (2012-04-01 19:40:38 UTC) #9
dave_cheney.net
Hello again, Sorry to be difficult. Could you please hg mail your CL again against ...
14 years, 3 months ago (2012-04-04 09:52:43 UTC) #10
kardia
Hello golang-dev@googlegroups.com, dave@cheney.net (cc: agl@golang.org, golang-dev@googlegroups.com), Please take another look.
14 years, 3 months ago (2012-04-04 15:03:12 UTC) #11
kardia
Hello golang-dev@googlegroups.com, dave@cheney.net (cc: agl@golang.org, golang-dev@googlegroups.com), Please take another look.
14 years, 2 months ago (2012-04-08 18:05:02 UTC) #12
kardia
Hello golang-dev@googlegroups.com, dave@cheney.net (cc: agl@golang.org, golang-dev@googlegroups.com), Please take another look.
14 years, 2 months ago (2012-04-08 18:05:44 UTC) #13
dave_cheney.net
Hi, thank you for tackling this. I have a few comments below but I'd like ...
14 years, 2 months ago (2012-04-09 01:32:14 UTC) #14
dave_cheney.net
Re: myId, theirId, peersId, localId, remoteId, etc, etc. You make a good case that this ...
14 years, 2 months ago (2012-04-09 01:51:23 UTC) #15
kardia
On 2012/04/09 01:32:14, dfc wrote: > Hi, thank you for tackling this. I have a ...
14 years, 2 months ago (2012-04-09 02:59:28 UTC) #16
kardia
Hello golang-dev@googlegroups.com, dave@cheney.net (cc: agl@golang.org, golang-dev@googlegroups.com), Please take another look.
14 years, 2 months ago (2012-04-09 03:00:00 UTC) #17
kardia
On 2012/04/09 01:51:23, dfc wrote: > Re: myId, theirId, peersId, localId, remoteId, etc, etc. You ...
14 years, 2 months ago (2012-04-09 03:20:56 UTC) #18
kardia
Hello golang-dev@googlegroups.com, dave@cheney.net (cc: agl@golang.org, golang-dev@googlegroups.com), Please take another look.
14 years, 2 months ago (2012-04-11 07:21:21 UTC) #19
dave_cheney.net
Sorry for the delay, I have some time this evening to review this CL. On ...
14 years, 2 months ago (2012-04-11 07:29:53 UTC) #20
kardia
Hello golang-dev@googlegroups.com, dave@cheney.net (cc: agl@golang.org, golang-dev@googlegroups.com), Please take another look.
14 years, 2 months ago (2012-04-14 15:07:59 UTC) #21
dave_cheney.net
Hello, I'm sorry it has taken so long to review this change. Could you please ...
14 years, 2 months ago (2012-04-15 11:31:29 UTC) #22
kardia
Hello golang-dev@googlegroups.com, dave@cheney.net (cc: agl@golang.org, golang-dev@googlegroups.com), Please take another look.
14 years, 2 months ago (2012-04-15 15:38:41 UTC) #23
agl1
This throws a lock of locking into the code without comments about what is protecting ...
14 years, 2 months ago (2012-04-15 15:50:59 UTC) #24
kardia
Hello golang-dev@googlegroups.com, dave@cheney.net, agl@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 2 months ago (2012-04-15 20:07:58 UTC) #25
kardia
I don't think there is any locking order in the code. I just modified the ...
14 years, 2 months ago (2012-04-15 20:23:59 UTC) #26
dave_cheney.net
Hello, Thank you for this CL, sorry it has taken so long to get through ...
14 years, 2 months ago (2012-04-18 06:12:58 UTC) #27
kardia
Thanks for your comments. For now I've updated with comments and reposes to yours. Added ...
14 years, 2 months ago (2012-04-18 07:09:10 UTC) #28
kardia
Hello golang-dev@googlegroups.com, dave@cheney.net, agl@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 2 months ago (2012-04-18 07:10:16 UTC) #29
kardia
http://codereview.appspot.com/5970056/diff/31002/ssh/channel.go File ssh/channel.go (right): http://codereview.appspot.com/5970056/diff/31002/ssh/channel.go#newcode245 ssh/channel.go:245: c.windowLock.RLock() No, just wasn't paying attention. Thanks. On 2012/04/18 ...
14 years, 2 months ago (2012-04-18 07:10:26 UTC) #30
agl1
I'm afraid that this is basically a NACK from me. I don't feel that this ...
14 years, 2 months ago (2012-04-18 22:15:30 UTC) #31
agl1
After reading the code I did http://codereview.appspot.com/6049050/ I can import the test from this CL ...
14 years, 2 months ago (2012-04-19 00:19:15 UTC) #32
kardia
14 years, 2 months ago (2012-04-19 17:18:15 UTC) #33
*** Abandoned ***
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b