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

Issue 6483052: code review 6483052: go.crypto/ssh: Prevent server from sending too large of... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 1 month ago by kardia
Modified:
14 years, 1 month ago
Reviewers:
CC:
agl, dave_cheney.net, agl1, golang-dev
Visibility:
Public.

Description

go.crypto/ssh: prevent server from sending more than maxPacket Fixes issue 4003.

Patch Set 1 #

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

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

Total comments: 1

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

Total comments: 1

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

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

Total comments: 2

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -6 lines) Patch
M ssh/channel.go View 1 2 3 4 5 6 4 chunks +8 lines, -6 lines 0 comments Download

Messages

Total messages: 13
kardia
Hello agl@chromium.org, dave@cheney.net (cc: golang-dev@googlegroups.com), I'd like you to review this change to http://code.google.com/p/go.crypto
14 years, 1 month ago (2012-08-24 16:42:55 UTC) #1
agl1
LGTM, although hopefully dfc can take a look too. https://codereview.appspot.com/6483052/diff/1002/ssh/channel.go File ssh/channel.go (right): https://codereview.appspot.com/6483052/diff/1002/ssh/channel.go#newcode354 ssh/channel.go:354: ...
14 years, 1 month ago (2012-08-24 17:04:22 UTC) #2
kardia
Hello agl@chromium.org, dave@cheney.net, agl@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 1 month ago (2012-08-24 18:09:14 UTC) #3
dave_cheney.net
Thank you for fixing this, there are a few more things to do before this ...
14 years, 1 month ago (2012-08-24 23:23:08 UTC) #4
kardia
> 2. add this logic to the edc write on line 246 Added, Thanks. > ...
14 years, 1 month ago (2012-08-24 23:38:17 UTC) #5
dave_cheney.net
>> 3. fix TestServerStdoutRespectsMaxPacketSize > > > I don't know what's wrong with that test. ...
14 years, 1 month ago (2012-08-24 23:52:57 UTC) #6
kardia
On 2012/08/24 23:52:57, dfc wrote: > >> 3. fix TestServerStdoutRespectsMaxPacketSize > > > > > ...
14 years, 1 month ago (2012-08-25 00:05:31 UTC) #7
dave_cheney.net
> On my machine I ended up getting the following once: > runtime error: makeslice: ...
14 years, 1 month ago (2012-08-25 00:12:13 UTC) #8
dave_cheney.net
LGTM. Please address the final two comments, then I'll submit this CL. http://codereview.appspot.com/6483052/diff/1004/ssh/channel.go File ssh/channel.go ...
14 years, 1 month ago (2012-08-25 00:14:41 UTC) #9
dave_cheney.net
Oh, sorry one more thing. Could you please fix the description, as a suggestion: go.crypto/ssh: ...
14 years, 1 month ago (2012-08-25 00:29:16 UTC) #10
kardia
On 2012/08/25 00:14:41, dfc wrote: > LGTM. Please address the final two comments, then I'll ...
14 years, 1 month ago (2012-08-25 04:49:33 UTC) #11
dave_cheney.net
Thank you. Submitting.
14 years, 1 month ago (2012-08-25 04:49:59 UTC) #12
dave_cheney.net
14 years, 1 month ago (2012-08-25 04:53:00 UTC) #13
*** Submitted as
http://code.google.com/p/go/source/detail?r=10077a45cccb&repo=crypto ***

go.crypto/ssh: prevent server from sending more than maxPacket

Fixes issue 4003.

R=agl, dave, agl
CC=golang-dev
http://codereview.appspot.com/6483052

Committer: Dave Cheney <dave@cheney.net>
Sign in to reply to this message.

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