[crypto] Correctly ignore pre-banner lines

4 views
Skip to first unread message

Damien Miller (Gerrit)

unread,
Aug 6, 2026, 4:13:25 AM (4 days ago) Aug 6
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Damien Miller has uploaded the change for review

Commit message

Correctly ignore pre-banner lines

Reading the peer's benner in `readVersion()` was incorrectly counting lines sent by the server before the actual `SSH-2.0` banner against the line limit for the banner itself.

This is incorrect per [RFC 4253 section 4.2](https://datatracker.ietf.org/doc/html/rfc4253#section-4.2), where the limit of 255 characters is written to apply only to the `SSH-` banner string itself.
Change-Id: Ief014bb3413e26e8d2077d3eb204ceaea9dc9444

Change diff

diff --git a/ssh/transport.go b/ssh/transport.go
index fa3dd6a..1dc6fe1 100644
--- a/ssh/transport.go
+++ b/ssh/transport.go
@@ -350,6 +350,7 @@
// except the one containing the SSH version (provided that
// all the lines do not exceed 255 bytes in total).
versionString = versionString[:0]
+ length = 0
continue
}
ok = true

Change information

Files:
  • M ssh/transport.go
Change size: XS
Delta: 1 file changed, 1 insertion(+), 0 deletions(-)
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: crypto
Gerrit-Branch: master
Gerrit-Change-Id: Ief014bb3413e26e8d2077d3eb204ceaea9dc9444
Gerrit-Change-Number: 811320
Gerrit-PatchSet: 1
Gerrit-Owner: Damien Miller <d...@djm.net.au>
unsatisfied_requirement
satisfied_requirement
open
diffy

Damien Miller (Gerrit)

unread,
Aug 6, 2026, 4:14:54 AM (4 days ago) Aug 6
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Damien Miller uploaded new patchset

Damien Miller uploaded patch set #2 to this change.
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newpatchset
Gerrit-Project: crypto
Gerrit-Branch: master
Gerrit-Change-Id: Ief014bb3413e26e8d2077d3eb204ceaea9dc9444
Gerrit-Change-Number: 811320
Gerrit-PatchSet: 2
Gerrit-Owner: Damien Miller <d...@djm.net.au>
unsatisfied_requirement
satisfied_requirement
open
diffy

Gopher Robot (Gerrit)

unread,
Aug 6, 2026, 4:18:01 AM (4 days ago) Aug 6
to Damien Miller, goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Message from Gopher Robot

Congratulations on opening your first change. Thank you for your contribution!

Next steps:
A maintainer will review your change and provide feedback. See
https://go.dev/doc/contribute#review for more info and tips to get your
patch through code review.

Most changes in the Go project go through a few rounds of revision. This can be
surprising to people new to the project. The careful, iterative review process
is our way of helping mentor contributors and ensuring that their contributions
have a lasting impact.

During May-July and Nov-Jan the Go project is in a code freeze, during which
little code gets reviewed or merged. If a reviewer responds with a comment like
R=go1.11 or adds a tag like "wait-release", it means that this CL will be
reviewed as part of the next development cycle. See https://go.dev/s/release
for more details.

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: crypto
Gerrit-Branch: master
Gerrit-Change-Id: Ief014bb3413e26e8d2077d3eb204ceaea9dc9444
Gerrit-Change-Number: 811320
Gerrit-PatchSet: 2
Gerrit-Owner: Damien Miller <d...@djm.net.au>
Gerrit-CC: Gopher Robot <go...@golang.org>
Gerrit-Comment-Date: Thu, 06 Aug 2026 08:17:56 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
unsatisfied_requirement
satisfied_requirement
open
diffy

Damien Miller (Gerrit)

unread,
Aug 6, 2026, 8:30:50 PM (3 days ago) Aug 6
to goph...@pubsubhelper.golang.org, Nicola Murino, Filippo Valsorda, Roland Shoemaker, Gopher Robot, golang-co...@googlegroups.com
Attention needed from Nicola Murino

Damien Miller added 1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Damien Miller . resolved

FWIW OpenSSH sets a maximum of 1024 pre-banner lines so there is a cap on how much junk a peer can send before it gets to the important bit

Open in Gerrit

Related details

Attention is currently required from:
  • Nicola Murino
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: crypto
Gerrit-Branch: master
Gerrit-Change-Id: Ief014bb3413e26e8d2077d3eb204ceaea9dc9444
Gerrit-Change-Number: 811320
Gerrit-PatchSet: 2
Gerrit-Owner: Damien Miller <d...@djm.net.au>
Gerrit-Reviewer: Nicola Murino <nicola...@gmail.com>
Gerrit-CC: Filippo Valsorda <fil...@golang.org>
Gerrit-CC: Gopher Robot <go...@golang.org>
Gerrit-CC: Roland Shoemaker <rol...@golang.org>
Gerrit-Attention: Nicola Murino <nicola...@gmail.com>
Gerrit-Comment-Date: Fri, 07 Aug 2026 00:30:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
satisfied_requirement
open
diffy

Filippo Valsorda (Gerrit)

unread,
Aug 6, 2026, 8:39:37 PM (3 days ago) Aug 6
to Damien Miller, goph...@pubsubhelper.golang.org, Nicola Murino, Filippo Valsorda, Roland Shoemaker, Gopher Robot, golang-co...@googlegroups.com
Attention needed from Damien Miller and Nicola Murino

Filippo Valsorda added 3 comments

Patchset-level comments
Damien Miller . unresolved

FWIW OpenSSH sets a maximum of 1024 pre-banner lines so there is a cap on how much junk a peer can send before it gets to the important bit

Filippo Valsorda

Yeah I think we need to add something like that before we make the 255 bytes cap not apply to the rest.

Is there a limit on how long each of those 1024 lines are allowed to be?

Commit Message
Line 7, Patchset 2 (Latest):Correctly ignore pre-banner lines
Filippo Valsorda . unresolved

```suggestion
ssh: correctly ignore pre-banner lines
```

File ssh/transport.go
Line 350, Patchset 2 (Latest): // except the one containing the SSH version (provided that

// all the lines do not exceed 255 bytes in total).
Filippo Valsorda . unresolved

Sounds like this comment needs fixing?

Open in Gerrit

Related details

Attention is currently required from:
  • Damien Miller
  • Nicola Murino
Submit Requirements:
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement is not satisfiedTryBots-Pass
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: crypto
    Gerrit-Branch: master
    Gerrit-Change-Id: Ief014bb3413e26e8d2077d3eb204ceaea9dc9444
    Gerrit-Change-Number: 811320
    Gerrit-PatchSet: 2
    Gerrit-Owner: Damien Miller <d...@djm.net.au>
    Gerrit-Reviewer: Nicola Murino <nicola...@gmail.com>
    Gerrit-CC: Filippo Valsorda <fil...@golang.org>
    Gerrit-CC: Gopher Robot <go...@golang.org>
    Gerrit-CC: Roland Shoemaker <rol...@golang.org>
    Gerrit-Attention: Nicola Murino <nicola...@gmail.com>
    Gerrit-Attention: Damien Miller <d...@djm.net.au>
    Gerrit-Comment-Date: Fri, 07 Aug 2026 00:39:33 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Damien Miller <d...@djm.net.au>
    unsatisfied_requirement
    open
    diffy

    Damien Miller (Gerrit)

    unread,
    Aug 6, 2026, 8:49:25 PM (3 days ago) Aug 6
    to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
    Attention needed from Damien Miller and Nicola Murino

    Damien Miller uploaded new patchset

    Damien Miller uploaded patch set #3 to this change.
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Damien Miller
    • Nicola Murino
    Submit Requirements:
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement is not satisfiedTryBots-Pass
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: newpatchset
    Gerrit-Project: crypto
    Gerrit-Branch: master
    Gerrit-Change-Id: Ief014bb3413e26e8d2077d3eb204ceaea9dc9444
    Gerrit-Change-Number: 811320
    Gerrit-PatchSet: 3
    unsatisfied_requirement
    open
    diffy

    Damien Miller (Gerrit)

    unread,
    Aug 6, 2026, 8:50:08 PM (3 days ago) Aug 6
    to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
    Attention needed from Damien Miller and Nicola Murino

    Damien Miller uploaded new patchset

    Damien Miller uploaded patch set #4 to this change.
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Damien Miller
    • Nicola Murino
    Submit Requirements:
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement is not satisfiedTryBots-Pass
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: newpatchset
    Gerrit-Project: crypto
    Gerrit-Branch: master
    Gerrit-Change-Id: Ief014bb3413e26e8d2077d3eb204ceaea9dc9444
    Gerrit-Change-Number: 811320
    Gerrit-PatchSet: 4
    unsatisfied_requirement
    open
    diffy

    Damien Miller (Gerrit)

    unread,
    Aug 6, 2026, 8:52:01 PM (3 days ago) Aug 6
    to goph...@pubsubhelper.golang.org, Nicola Murino, Filippo Valsorda, Roland Shoemaker, Gopher Robot, golang-co...@googlegroups.com
    Attention needed from Filippo Valsorda and Nicola Murino

    Damien Miller added 3 comments

    Patchset-level comments
    Damien Miller . unresolved

    FWIW OpenSSH sets a maximum of 1024 pre-banner lines so there is a cap on how much junk a peer can send before it gets to the important bit

    Filippo Valsorda

    Yeah I think we need to add something like that before we make the 255 bytes cap not apply to the rest.

    Is there a limit on how long each of those 1024 lines are allowed to be?

    Damien Miller

    OpenSSH applies the same length limit to the pre-version lines as to the version line. In our case we accept up to 8192 characters, but I think it's reasonable to accept 255 characters as a limit for them too.

    I've revised the patch with a 1024 line limit.

    Commit Message
    Line 7, Patchset 2:Correctly ignore pre-banner lines
    Filippo Valsorda . resolved

    ```suggestion
    ssh: correctly ignore pre-banner lines
    ```

    Damien Miller

    Done

    File ssh/transport.go
    Line 350, Patchset 2: // except the one containing the SSH version (provided that

    // all the lines do not exceed 255 bytes in total).
    Filippo Valsorda . resolved

    Sounds like this comment needs fixing?

    Damien Miller

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Filippo Valsorda
    • Nicola Murino
    Submit Requirements:
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement is not satisfiedTryBots-Pass
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: crypto
    Gerrit-Branch: master
    Gerrit-Change-Id: Ief014bb3413e26e8d2077d3eb204ceaea9dc9444
    Gerrit-Change-Number: 811320
    Gerrit-PatchSet: 3
    Gerrit-Owner: Damien Miller <d...@djm.net.au>
    Gerrit-Reviewer: Nicola Murino <nicola...@gmail.com>
    Gerrit-CC: Filippo Valsorda <fil...@golang.org>
    Gerrit-CC: Gopher Robot <go...@golang.org>
    Gerrit-CC: Roland Shoemaker <rol...@golang.org>
    Gerrit-Attention: Nicola Murino <nicola...@gmail.com>
    Gerrit-Attention: Filippo Valsorda <fil...@golang.org>
    Gerrit-Comment-Date: Fri, 07 Aug 2026 00:51:53 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Filippo Valsorda <fil...@golang.org>
    Comment-In-Reply-To: Damien Miller <d...@djm.net.au>
    unsatisfied_requirement
    open
    diffy

    Filippo Valsorda (Gerrit)

    unread,
    Aug 6, 2026, 8:58:08 PM (3 days ago) Aug 6
    to Damien Miller, goph...@pubsubhelper.golang.org, Filippo Valsorda, Nicola Murino, Roland Shoemaker, Gopher Robot, golang-co...@googlegroups.com
    Attention needed from Damien Miller and Nicola Murino

    Filippo Valsorda voted and added 2 comments

    Votes added by Filippo Valsorda

    Code-Review+2
    Commit-Queue+1

    2 comments

    Patchset-level comments
    File-level comment, Patchset 2:
    Damien Miller . resolved

    FWIW OpenSSH sets a maximum of 1024 pre-banner lines so there is a cap on how much junk a peer can send before it gets to the important bit

    Filippo Valsorda

    Yeah I think we need to add something like that before we make the 255 bytes cap not apply to the rest.

    Is there a limit on how long each of those 1024 lines are allowed to be?

    Damien Miller

    OpenSSH applies the same length limit to the pre-version lines as to the version line. In our case we accept up to 8192 characters, but I think it's reasonable to accept 255 characters as a limit for them too.

    I've revised the patch with a 1024 line limit.

    Filippo Valsorda

    Sweet, thank you.

    Commit Message
    Line 7, Patchset 4 (Latest):ssh: Correctly ignore pre-banner lines
    Filippo Valsorda . unresolved

    ```suggestion
    ssh: correctly ignore pre-banner lines
    ```

    sorry to be nitpicky, just the "house style"

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Damien Miller
    • Nicola Murino
    Submit Requirements:
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement is not satisfiedTryBots-Pass
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: crypto
    Gerrit-Branch: master
    Gerrit-Change-Id: Ief014bb3413e26e8d2077d3eb204ceaea9dc9444
    Gerrit-Change-Number: 811320
    Gerrit-PatchSet: 4
    Gerrit-Owner: Damien Miller <d...@djm.net.au>
    Gerrit-Reviewer: Filippo Valsorda <fil...@golang.org>
    Gerrit-Reviewer: Nicola Murino <nicola...@gmail.com>
    Gerrit-CC: Gopher Robot <go...@golang.org>
    Gerrit-CC: Roland Shoemaker <rol...@golang.org>
    Gerrit-Attention: Nicola Murino <nicola...@gmail.com>
    Gerrit-Attention: Damien Miller <d...@djm.net.au>
    Gerrit-Comment-Date: Fri, 07 Aug 2026 00:58:03 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Damien Miller (Gerrit)

    unread,
    Aug 6, 2026, 9:30:32 PM (3 days ago) Aug 6
    to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
    Attention needed from Damien Miller, Filippo Valsorda and Nicola Murino

    Damien Miller uploaded new patchset

    Damien Miller uploaded patch set #5 to this change.
    Following approvals got outdated and were removed:
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Damien Miller
    • Filippo Valsorda
    • Nicola Murino
    Submit Requirements:
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement is not satisfiedTryBots-Pass
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: newpatchset
    Gerrit-Project: crypto
    Gerrit-Branch: master
    Gerrit-Change-Id: Ief014bb3413e26e8d2077d3eb204ceaea9dc9444
    Gerrit-Change-Number: 811320
    Gerrit-PatchSet: 5
    Gerrit-Owner: Damien Miller <d...@djm.net.au>
    Gerrit-Reviewer: Filippo Valsorda <fil...@golang.org>
    Gerrit-Reviewer: Nicola Murino <nicola...@gmail.com>
    Gerrit-CC: Gopher Robot <go...@golang.org>
    Gerrit-CC: Roland Shoemaker <rol...@golang.org>
    Gerrit-Attention: Nicola Murino <nicola...@gmail.com>
    Gerrit-Attention: Filippo Valsorda <fil...@golang.org>
    Gerrit-Attention: Damien Miller <d...@djm.net.au>
    unsatisfied_requirement
    open
    diffy

    Damien Miller (Gerrit)

    unread,
    Aug 6, 2026, 9:31:21 PM (3 days ago) Aug 6
    to goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, Filippo Valsorda, Nicola Murino, Roland Shoemaker, Gopher Robot, golang-co...@googlegroups.com
    Attention needed from Filippo Valsorda and Nicola Murino

    Damien Miller added 1 comment

    Patchset-level comments
    File-level comment, Patchset 5 (Latest):
    Damien Miller . resolved

    This should fix the tests, and cover the new cases relating to pre-banner lines

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Filippo Valsorda
    • Nicola Murino
    Submit Requirements:
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement is not satisfiedTryBots-Pass
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: crypto
    Gerrit-Branch: master
    Gerrit-Change-Id: Ief014bb3413e26e8d2077d3eb204ceaea9dc9444
    Gerrit-Change-Number: 811320
    Gerrit-PatchSet: 5
    Gerrit-Owner: Damien Miller <d...@djm.net.au>
    Gerrit-Reviewer: Filippo Valsorda <fil...@golang.org>
    Gerrit-Reviewer: Nicola Murino <nicola...@gmail.com>
    Gerrit-CC: Gopher Robot <go...@golang.org>
    Gerrit-CC: Roland Shoemaker <rol...@golang.org>
    Gerrit-Attention: Nicola Murino <nicola...@gmail.com>
    Gerrit-Attention: Filippo Valsorda <fil...@golang.org>
    Gerrit-Comment-Date: Fri, 07 Aug 2026 01:31:13 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    unsatisfied_requirement
    open
    diffy

    Nicola Murino (Gerrit)

    unread,
    Aug 7, 2026, 4:29:23 AM (3 days ago) Aug 7
    to Damien Miller, goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, Filippo Valsorda, Roland Shoemaker, Gopher Robot, golang-co...@googlegroups.com
    Attention needed from Damien Miller and Filippo Valsorda

    Nicola Murino added 2 comments

    Patchset-level comments
    Nicola Murino . resolved

    Thank you. I also see in OpenSSH that the lines before the version string are accepted from a server only which matches RFC 4253. Here readVersion is shared by both side, I'll send a separate CL for this.

    File ssh/transport.go
    Line 358, Patchset 5 (Latest): length = 0
    Nicola Murino . unresolved

    Should this be `length = -1`?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Damien Miller
    • Filippo Valsorda
    Submit Requirements:
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement is not satisfiedTryBots-Pass
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: crypto
    Gerrit-Branch: master
    Gerrit-Change-Id: Ief014bb3413e26e8d2077d3eb204ceaea9dc9444
    Gerrit-Change-Number: 811320
    Gerrit-PatchSet: 5
    Gerrit-Owner: Damien Miller <d...@djm.net.au>
    Gerrit-Reviewer: Filippo Valsorda <fil...@golang.org>
    Gerrit-Reviewer: Nicola Murino <nicola...@gmail.com>
    Gerrit-CC: Gopher Robot <go...@golang.org>
    Gerrit-CC: Roland Shoemaker <rol...@golang.org>
    Gerrit-Attention: Filippo Valsorda <fil...@golang.org>
    Gerrit-Attention: Damien Miller <d...@djm.net.au>
    Gerrit-Comment-Date: Fri, 07 Aug 2026 08:29:15 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    unsatisfied_requirement
    open
    diffy

    Nicola Murino (Gerrit)

    unread,
    Aug 7, 2026, 4:29:30 AM (3 days ago) Aug 7
    to Damien Miller, goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, Filippo Valsorda, Roland Shoemaker, Gopher Robot, golang-co...@googlegroups.com
    Attention needed from Damien Miller and Filippo Valsorda

    Nicola Murino voted Code-Review+2

    Code-Review+2
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Damien Miller
    • Filippo Valsorda
    Submit Requirements:
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement is not satisfiedTryBots-Pass
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: crypto
    Gerrit-Branch: master
    Gerrit-Change-Id: Ief014bb3413e26e8d2077d3eb204ceaea9dc9444
    Gerrit-Change-Number: 811320
    Gerrit-PatchSet: 5
    Gerrit-Owner: Damien Miller <d...@djm.net.au>
    Gerrit-Reviewer: Filippo Valsorda <fil...@golang.org>
    Gerrit-Reviewer: Nicola Murino <nicola...@gmail.com>
    Gerrit-CC: Gopher Robot <go...@golang.org>
    Gerrit-CC: Roland Shoemaker <rol...@golang.org>
    Gerrit-Attention: Filippo Valsorda <fil...@golang.org>
    Gerrit-Attention: Damien Miller <d...@djm.net.au>
    Gerrit-Comment-Date: Fri, 07 Aug 2026 08:29:22 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Nicola Murino (Gerrit)

    unread,
    Aug 7, 2026, 4:29:46 AM (3 days ago) Aug 7
    to Damien Miller, goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, Filippo Valsorda, Roland Shoemaker, Gopher Robot, golang-co...@googlegroups.com
    Attention needed from Damien Miller and Filippo Valsorda

    Nicola Murino voted Commit-Queue+1

    Commit-Queue+1
    Gerrit-Comment-Date: Fri, 07 Aug 2026 08:29:39 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Damien Miller (Gerrit)

    unread,
    Aug 9, 2026, 7:19:17 PM (11 hours ago) Aug 9
    to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
    Attention needed from Damien Miller, Filippo Valsorda and Nicola Murino

    Damien Miller uploaded new patchset

    Damien Miller uploaded patch set #6 to this change.
    Following approvals got outdated and were removed:
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Damien Miller
    • Filippo Valsorda
    • Nicola Murino
    Submit Requirements:
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement is not satisfiedTryBots-Pass
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: newpatchset
    Gerrit-Project: crypto
    Gerrit-Branch: master
    Gerrit-Change-Id: Ief014bb3413e26e8d2077d3eb204ceaea9dc9444
    Gerrit-Change-Number: 811320
    Gerrit-PatchSet: 6
    Gerrit-Owner: Damien Miller <d...@djm.net.au>
    Gerrit-Reviewer: Filippo Valsorda <fil...@golang.org>
    Gerrit-Reviewer: Nicola Murino <nicola...@gmail.com>
    Gerrit-CC: Gopher Robot <go...@golang.org>
    Gerrit-CC: Roland Shoemaker <rol...@golang.org>
    Gerrit-Attention: Nicola Murino <nicola...@gmail.com>
    unsatisfied_requirement
    open
    diffy

    Damien Miller (Gerrit)

    unread,
    Aug 9, 2026, 7:19:56 PM (11 hours ago) Aug 9
    to goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, Nicola Murino, Filippo Valsorda, Roland Shoemaker, Gopher Robot, golang-co...@googlegroups.com
    Attention needed from Filippo Valsorda and Nicola Murino

    Damien Miller added 1 comment

    File ssh/transport.go
    Line 358, Patchset 5: length = 0
    Nicola Murino . resolved

    Should this be `length = -1`?

    Damien Miller

    Probably simpler to get rid of the separate length and just check the length of the buffer directly.

    Marked as resolved.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Filippo Valsorda
    • Nicola Murino
    Submit Requirements:
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement is not satisfiedTryBots-Pass
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: crypto
    Gerrit-Branch: master
    Gerrit-Change-Id: Ief014bb3413e26e8d2077d3eb204ceaea9dc9444
    Gerrit-Change-Number: 811320
    Gerrit-PatchSet: 5
    Gerrit-Owner: Damien Miller <d...@djm.net.au>
    Gerrit-Reviewer: Filippo Valsorda <fil...@golang.org>
    Gerrit-Reviewer: Nicola Murino <nicola...@gmail.com>
    Gerrit-CC: Gopher Robot <go...@golang.org>
    Gerrit-CC: Roland Shoemaker <rol...@golang.org>
    Gerrit-Attention: Nicola Murino <nicola...@gmail.com>
    Gerrit-Attention: Filippo Valsorda <fil...@golang.org>
    Gerrit-Comment-Date: Sun, 09 Aug 2026 23:19:48 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Nicola Murino <nicola...@gmail.com>
    unsatisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages