[text] secure/precis: fix short destination buffer handling in Nickname profile

5 views
Skip to first unread message

Ian Alexander (Gerrit)

unread,
Jun 23, 2026, 12:41:49 PMJun 23
to goph...@pubsubhelper.golang.org, Nicholas Husin, Damien Neil, golang-co...@googlegroups.com
Attention needed from Damien Neil and Nicholas Husin

Ian Alexander voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Damien Neil
  • Nicholas Husin
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: text
Gerrit-Branch: master
Gerrit-Change-Id: I51c8dcc58a5b8fd1002f2cdd832698651db89a15
Gerrit-Change-Number: 793360
Gerrit-PatchSet: 1
Gerrit-Owner: Ian Alexander <ji...@google.com>
Gerrit-Reviewer: Damien Neil <dn...@google.com>
Gerrit-Reviewer: Ian Alexander <ji...@google.com>
Gerrit-Reviewer: Nicholas Husin <n...@golang.org>
Gerrit-Attention: Damien Neil <dn...@google.com>
Gerrit-Attention: Nicholas Husin <n...@golang.org>
Gerrit-Comment-Date: Tue, 23 Jun 2026 16:41:40 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
unsatisfied_requirement
satisfied_requirement
open
diffy

Ian Alexander (Gerrit)

unread,
Jun 23, 2026, 12:54:59 PMJun 23
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
Attention needed from Damien Neil and Nicholas Husin

Ian Alexander uploaded new patchset

Ian Alexander uploaded patch set #2 to this change.
Following approvals got outdated and were removed:
Open in Gerrit

Related details

Attention is currently required from:
  • Damien Neil
  • Nicholas Husin
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: text
Gerrit-Branch: master
Gerrit-Change-Id: I51c8dcc58a5b8fd1002f2cdd832698651db89a15
Gerrit-Change-Number: 793360
Gerrit-PatchSet: 2
Gerrit-Owner: Ian Alexander <ji...@google.com>
Gerrit-Reviewer: Damien Neil <dn...@google.com>
Gerrit-Reviewer: Ian Alexander <ji...@google.com>
Gerrit-Reviewer: Nicholas Husin <n...@golang.org>
unsatisfied_requirement
satisfied_requirement
open
diffy

Ian Alexander (Gerrit)

unread,
Jun 23, 2026, 12:55:18 PMJun 23
to goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, Nicholas Husin, Damien Neil, golang-co...@googlegroups.com
Attention needed from Damien Neil and Nicholas Husin

Ian Alexander voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Damien Neil
  • Nicholas Husin
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: text
Gerrit-Branch: master
Gerrit-Change-Id: I51c8dcc58a5b8fd1002f2cdd832698651db89a15
Gerrit-Change-Number: 793360
Gerrit-PatchSet: 2
Gerrit-Owner: Ian Alexander <ji...@google.com>
Gerrit-Reviewer: Damien Neil <dn...@google.com>
Gerrit-Reviewer: Ian Alexander <ji...@google.com>
Gerrit-Reviewer: Nicholas Husin <n...@golang.org>
Gerrit-Attention: Damien Neil <dn...@google.com>
Gerrit-Attention: Nicholas Husin <n...@golang.org>
Gerrit-Comment-Date: Tue, 23 Jun 2026 16:55:14 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
unsatisfied_requirement
satisfied_requirement
open
diffy

Damien Neil (Gerrit)

unread,
Jun 23, 2026, 2:15:36 PMJun 23
to Ian Alexander, goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, Nicholas Husin, golang-co...@googlegroups.com
Attention needed from Ian Alexander and Nicholas Husin

Damien Neil added 3 comments

Commit Message
Line 20, Patchset 2 (Latest):Fixes CVE-2026-56851
Damien Neil . unresolved

Reference public issue (file public issue if none exists yet).

File secure/precis/nickname.go
Line 61, Patchset 2 (Latest): if nDst+need > len(dst) {
Damien Neil . unresolved

This changes the function behavior when dst is too short: Previously, it would fill as much of dst as possible, while now it may fill only part of dst.

I don't know if this matters, but it's simple to avoid changing it so let's keep things as stable as possible: When assigning `dst[nDst] = ' '`, we can return an error if `nDst >= len(dst)`.

File secure/precis/nickname_test.go
Line 11, Patchset 2 (Latest):func TestTransform(t *testing.T) {
Damien Neil . unresolved

There's a `TestTransformShortBuffers` in enforce_test.go. Looks like it currently only uses a profile that doesn't exercise the Nickname case. Can we make this run with various profiles (and possibly inputs) to exercise this fix?

Open in Gerrit

Related details

Attention is currently required from:
  • Ian Alexander
  • Nicholas Husin
Submit Requirements:
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement satisfiedTryBots-Pass
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: text
    Gerrit-Branch: master
    Gerrit-Change-Id: I51c8dcc58a5b8fd1002f2cdd832698651db89a15
    Gerrit-Change-Number: 793360
    Gerrit-PatchSet: 2
    Gerrit-Owner: Ian Alexander <ji...@google.com>
    Gerrit-Reviewer: Damien Neil <dn...@google.com>
    Gerrit-Reviewer: Ian Alexander <ji...@google.com>
    Gerrit-Reviewer: Nicholas Husin <n...@golang.org>
    Gerrit-Attention: Ian Alexander <ji...@google.com>
    Gerrit-Attention: Nicholas Husin <n...@golang.org>
    Gerrit-Comment-Date: Tue, 23 Jun 2026 18:15:30 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    unsatisfied_requirement
    satisfied_requirement
    open
    diffy

    Ian Alexander (Gerrit)

    unread,
    Jul 14, 2026, 1:16:45 PM (3 days ago) Jul 14
    to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
    Attention needed from Ian Alexander and Nicholas Husin

    Ian Alexander uploaded new patchset

    Ian Alexander uploaded patch set #3 to this change.
    Following approvals got outdated and were removed:

    Related details

    Attention is currently required from:
    • Ian Alexander
    • Nicholas Husin
    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: text
      Gerrit-Branch: master
      Gerrit-Change-Id: I51c8dcc58a5b8fd1002f2cdd832698651db89a15
      Gerrit-Change-Number: 793360
      Gerrit-PatchSet: 3
      unsatisfied_requirement
      open
      diffy

      Ian Alexander (Gerrit)

      unread,
      Jul 14, 2026, 1:22:51 PM (3 days ago) Jul 14
      to goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, Nicholas Husin, Damien Neil, golang-co...@googlegroups.com
      Attention needed from Damien Neil and Nicholas Husin

      Ian Alexander voted and added 3 comments

      Votes added by Ian Alexander

      Commit-Queue+1

      3 comments

      Commit Message
      Line 20, Patchset 2:Fixes CVE-2026-56851
      Damien Neil . resolved

      Reference public issue (file public issue if none exists yet).

      Ian Alexander

      Done

      File secure/precis/nickname.go
      Line 61, Patchset 2: if nDst+need > len(dst) {
      Damien Neil . resolved

      This changes the function behavior when dst is too short: Previously, it would fill as much of dst as possible, while now it may fill only part of dst.

      I don't know if this matters, but it's simple to avoid changing it so let's keep things as stable as possible: When assigning `dst[nDst] = ' '`, we can return an error if `nDst >= len(dst)`.

      Ian Alexander

      Done

      File secure/precis/nickname_test.go
      Line 11, Patchset 2:func TestTransform(t *testing.T) {
      Damien Neil . resolved

      There's a `TestTransformShortBuffers` in enforce_test.go. Looks like it currently only uses a profile that doesn't exercise the Nickname case. Can we make this run with various profiles (and possibly inputs) to exercise this fix?

      Ian Alexander

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Damien Neil
      • Nicholas Husin
      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: text
        Gerrit-Branch: master
        Gerrit-Change-Id: I51c8dcc58a5b8fd1002f2cdd832698651db89a15
        Gerrit-Change-Number: 793360
        Gerrit-PatchSet: 3
        Gerrit-Owner: Ian Alexander <ji...@google.com>
        Gerrit-Reviewer: Damien Neil <dn...@google.com>
        Gerrit-Reviewer: Ian Alexander <ji...@google.com>
        Gerrit-Reviewer: Nicholas Husin <n...@golang.org>
        Gerrit-Attention: Damien Neil <dn...@google.com>
        Gerrit-Attention: Nicholas Husin <n...@golang.org>
        Gerrit-Comment-Date: Tue, 14 Jul 2026 17:22:46 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        Comment-In-Reply-To: Damien Neil <dn...@google.com>
        unsatisfied_requirement
        satisfied_requirement
        open
        diffy

        Damien Neil (Gerrit)

        unread,
        Jul 14, 2026, 3:56:46 PM (3 days ago) Jul 14
        to Ian Alexander, goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, Nicholas Husin, golang-co...@googlegroups.com
        Attention needed from Ian Alexander and Nicholas Husin

        Damien Neil added 5 comments

        Patchset-level comments
        File-level comment, Patchset 3 (Latest):
        Damien Neil . resolved

        Full disclosure: Gemini found all of this.

        File secure/precis/nickname.go
        Line 48, Patchset 3 (Latest): if size == 0 { // Incomplete UTF-8 encoding
        Damien Neil . unresolved

        Preexisting problem: size is never 0, `DecodeRune` returns `(RuneError, 1)` when encountering a partial rune.

        This results in, for example, `"a\xef\xb7"` (an input ending in an incomplete 3-byte rune) returning `"a\xef\xb7"` rather than `"a"` and ErrShortSrc.

        Line 65, Patchset 3 (Latest): return nDst, nSrc, transform.ErrShortDst
        Damien Neil . unresolved

        This leaves t.prevSpace set, but the space has already been appended to the destination.

        For example, `"a b"` with a 2-byte destination produces `"a "`, and the next call produces `" b"` rather than `"b"`.

        Line 69, Patchset 3 (Latest): return nDst, nSrc, transform.ErrShortDst
        Damien Neil . unresolved

        This can write part of a multi-byte rune to the dst without advancing nSrc.

        For example, `"\uFDFA"` (a 3-byte rune) with a 2-byte destination produces nSrc=0, nDst=2, and `"\xef\xb7"`. It should produce nSrc=0, nDst=0.

        Line 78, Patchset 3 (Latest): return nDst, nSrc, transform.ErrShortSrc
        Damien Neil . unresolved

        Most transformers return a nil error when `nSrc == len(src) && !atEOF` (all source bytes consumed and written to dst, no dangling state).

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Ian Alexander
        • Nicholas Husin
        Submit Requirements:
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          • requirement is not satisfiedReview-Enforcement
          • requirement satisfiedTryBots-Pass
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: text
          Gerrit-Branch: master
          Gerrit-Change-Id: I51c8dcc58a5b8fd1002f2cdd832698651db89a15
          Gerrit-Change-Number: 793360
          Gerrit-PatchSet: 3
          Gerrit-Owner: Ian Alexander <ji...@google.com>
          Gerrit-Reviewer: Damien Neil <dn...@google.com>
          Gerrit-Reviewer: Ian Alexander <ji...@google.com>
          Gerrit-Reviewer: Nicholas Husin <n...@golang.org>
          Gerrit-Attention: Ian Alexander <ji...@google.com>
          Gerrit-Attention: Nicholas Husin <n...@golang.org>
          Gerrit-Comment-Date: Tue, 14 Jul 2026 19:56:41 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          unsatisfied_requirement
          satisfied_requirement
          open
          diffy

          Ian Alexander (Gerrit)

          unread,
          Jul 15, 2026, 12:48:44 AM (3 days ago) Jul 15
          to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
          Attention needed from Ian Alexander and Nicholas Husin

          Ian Alexander uploaded new patchset

          Ian Alexander uploaded patch set #4 to this change.
          Following approvals got outdated and were removed:

          Related details

          Attention is currently required from:
          • Ian Alexander
          • Nicholas Husin
          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: text
            Gerrit-Branch: master
            Gerrit-Change-Id: I51c8dcc58a5b8fd1002f2cdd832698651db89a15
            Gerrit-Change-Number: 793360
            Gerrit-PatchSet: 4
            unsatisfied_requirement
            open
            diffy

            Ian Alexander (Gerrit)

            unread,
            Jul 15, 2026, 1:06:29 AM (3 days ago) Jul 15
            to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
            Attention needed from Ian Alexander and Nicholas Husin

            Ian Alexander uploaded new patchset

            Ian Alexander uploaded patch set #5 to this change.
            Open in Gerrit

            Related details

            Attention is currently required from:
            • Ian Alexander
            • Nicholas Husin
            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: text
            Gerrit-Branch: master
            Gerrit-Change-Id: I51c8dcc58a5b8fd1002f2cdd832698651db89a15
            Gerrit-Change-Number: 793360
            Gerrit-PatchSet: 5
            unsatisfied_requirement
            open
            diffy

            Ian Alexander (Gerrit)

            unread,
            Jul 15, 2026, 1:16:40 AM (3 days ago) Jul 15
            to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
            Attention needed from Ian Alexander and Nicholas Husin

            Ian Alexander uploaded new patchset

            Ian Alexander uploaded patch set #6 to this change.
            Open in Gerrit

            Related details

            Attention is currently required from:
            • Ian Alexander
            • Nicholas Husin
            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: text
            Gerrit-Branch: master
            Gerrit-Change-Id: I51c8dcc58a5b8fd1002f2cdd832698651db89a15
            Gerrit-Change-Number: 793360
            Gerrit-PatchSet: 6
            unsatisfied_requirement
            open
            diffy

            Ian Alexander (Gerrit)

            unread,
            Jul 15, 2026, 1:17:20 AM (3 days ago) Jul 15
            to goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, Nicholas Husin, Damien Neil, golang-co...@googlegroups.com
            Attention needed from Damien Neil and Nicholas Husin

            Ian Alexander voted and added 4 comments

            Votes added by Ian Alexander

            Commit-Queue+1

            4 comments

            File secure/precis/nickname.go
            Line 48, Patchset 3: if size == 0 { // Incomplete UTF-8 encoding
            Damien Neil . resolved

            Preexisting problem: size is never 0, `DecodeRune` returns `(RuneError, 1)` when encountering a partial rune.

            This results in, for example, `"a\xef\xb7"` (an input ending in an incomplete 3-byte rune) returning `"a\xef\xb7"` rather than `"a"` and ErrShortSrc.

            Ian Alexander

            Done

            Line 65, Patchset 3: return nDst, nSrc, transform.ErrShortDst
            Damien Neil . resolved

            This leaves t.prevSpace set, but the space has already been appended to the destination.

            For example, `"a b"` with a 2-byte destination produces `"a "`, and the next call produces `" b"` rather than `"b"`.

            Ian Alexander

            Done

            Line 69, Patchset 3: return nDst, nSrc, transform.ErrShortDst
            Damien Neil . resolved

            This can write part of a multi-byte rune to the dst without advancing nSrc.

            For example, `"\uFDFA"` (a 3-byte rune) with a 2-byte destination produces nSrc=0, nDst=2, and `"\xef\xb7"`. It should produce nSrc=0, nDst=0.

            Ian Alexander

            Done

            Line 78, Patchset 3: return nDst, nSrc, transform.ErrShortSrc
            Damien Neil . resolved

            Most transformers return a nil error when `nSrc == len(src) && !atEOF` (all source bytes consumed and written to dst, no dangling state).

            Ian Alexander

            Done

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Damien Neil
            • Nicholas Husin
            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: text
              Gerrit-Branch: master
              Gerrit-Change-Id: I51c8dcc58a5b8fd1002f2cdd832698651db89a15
              Gerrit-Change-Number: 793360
              Gerrit-PatchSet: 6
              Gerrit-Owner: Ian Alexander <ji...@google.com>
              Gerrit-Reviewer: Damien Neil <dn...@google.com>
              Gerrit-Reviewer: Ian Alexander <ji...@google.com>
              Gerrit-Reviewer: Nicholas Husin <n...@golang.org>
              Gerrit-Attention: Damien Neil <dn...@google.com>
              Gerrit-Attention: Nicholas Husin <n...@golang.org>
              Gerrit-Comment-Date: Wed, 15 Jul 2026 05:17:16 +0000
              unsatisfied_requirement
              satisfied_requirement
              open
              diffy

              Ian Alexander (Gerrit)

              unread,
              Jul 15, 2026, 2:19:02 AM (3 days ago) Jul 15
              to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
              Attention needed from Damien Neil and Nicholas Husin

              Ian Alexander uploaded new patchset

              Ian Alexander uploaded patch set #7 to this change.
              Following approvals got outdated and were removed:
              Open in Gerrit

              Related details

              Attention is currently required from:
              • Damien Neil
              • Nicholas Husin
              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: text
              Gerrit-Branch: master
              Gerrit-Change-Id: I51c8dcc58a5b8fd1002f2cdd832698651db89a15
              Gerrit-Change-Number: 793360
              Gerrit-PatchSet: 7
              unsatisfied_requirement
              satisfied_requirement
              open
              diffy

              Ian Alexander (Gerrit)

              unread,
              11:29 AM (12 hours ago) 11:29 AM
              to goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, Nicholas Husin, Damien Neil, golang-co...@googlegroups.com
              Attention needed from Damien Neil and Nicholas Husin

              Ian Alexander voted Commit-Queue+1

              Commit-Queue+1
              Open in Gerrit

              Related details

              Attention is currently required from:
              • Damien Neil
              • Nicholas Husin
              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: text
              Gerrit-Branch: master
              Gerrit-Change-Id: I51c8dcc58a5b8fd1002f2cdd832698651db89a15
              Gerrit-Change-Number: 793360
              Gerrit-PatchSet: 7
              Gerrit-Owner: Ian Alexander <ji...@google.com>
              Gerrit-Reviewer: Damien Neil <dn...@google.com>
              Gerrit-Reviewer: Ian Alexander <ji...@google.com>
              Gerrit-Reviewer: Nicholas Husin <n...@golang.org>
              Gerrit-Attention: Damien Neil <dn...@google.com>
              Gerrit-Attention: Nicholas Husin <n...@golang.org>
              Gerrit-Comment-Date: Fri, 17 Jul 2026 15:29:36 +0000
              Gerrit-HasComments: No
              Gerrit-Has-Labels: Yes
              unsatisfied_requirement
              satisfied_requirement
              open
              diffy

              Damien Neil (Gerrit)

              unread,
              6:18 PM (5 hours ago) 6:18 PM
              to Ian Alexander, goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, Nicholas Husin, golang-co...@googlegroups.com
              Attention needed from Ian Alexander and Nicholas Husin

              Damien Neil voted and added 2 comments

              Votes added by Damien Neil

              Code-Review+2

              2 comments

              File secure/precis/profile.go
              Line 360, Patchset 7 (Latest): return n, transform.ErrShortSrc
              Damien Neil . unresolved

              I don't think this and the next three ErrShortSrc returns are correct. In this case, for example, we've detected a disallowed rune. Getting more data isn't going to change the rune into something allowed.

              Line 402, Patchset 7 (Latest): return n, transform.ErrShortSrc
              Damien Neil . resolved

              I think this ErrShortSrc return is correct, however, because the error here is for unterminated rules which might be terminated by following input.

              Open in Gerrit

              Related details

              Attention is currently required from:
              • Ian Alexander
              • Nicholas Husin
              Submit Requirements:
              • requirement satisfiedCode-Review
              • requirement is not satisfiedNo-Unresolved-Comments
              • requirement satisfiedReview-Enforcement
              • requirement satisfiedTryBots-Pass
              Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
              Gerrit-MessageType: comment
              Gerrit-Project: text
              Gerrit-Branch: master
              Gerrit-Change-Id: I51c8dcc58a5b8fd1002f2cdd832698651db89a15
              Gerrit-Change-Number: 793360
              Gerrit-PatchSet: 7
              Gerrit-Owner: Ian Alexander <ji...@google.com>
              Gerrit-Reviewer: Damien Neil <dn...@google.com>
              Gerrit-Reviewer: Ian Alexander <ji...@google.com>
              Gerrit-Reviewer: Nicholas Husin <n...@golang.org>
              Gerrit-Attention: Ian Alexander <ji...@google.com>
              Gerrit-Attention: Nicholas Husin <n...@golang.org>
              Gerrit-Comment-Date: Fri, 17 Jul 2026 22:18:37 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Damien Neil (Gerrit)

              unread,
              6:18 PM (5 hours ago) 6:18 PM
              to Ian Alexander, goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, Nicholas Husin, golang-co...@googlegroups.com
              Attention needed from Ian Alexander and Nicholas Husin

              Damien Neil voted and added 1 comment

              Votes added by Damien Neil

              Code-Review+0

              1 comment

              Patchset-level comments
              File-level comment, Patchset 7 (Latest):
              Damien Neil . resolved

              wrong button

              Open in Gerrit

              Related details

              Attention is currently required from:
              • Ian Alexander
              • Nicholas Husin
              Submit Requirements:
              • requirement is not satisfiedCode-Review
              • requirement is not satisfiedNo-Unresolved-Comments
              • requirement is not satisfiedReview-Enforcement
              • requirement satisfiedTryBots-Pass
              Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
              Gerrit-MessageType: comment
              Gerrit-Project: text
              Gerrit-Branch: master
              Gerrit-Change-Id: I51c8dcc58a5b8fd1002f2cdd832698651db89a15
              Gerrit-Change-Number: 793360
              Gerrit-PatchSet: 7
              Gerrit-Owner: Ian Alexander <ji...@google.com>
              Gerrit-Reviewer: Damien Neil <dn...@google.com>
              Gerrit-Reviewer: Ian Alexander <ji...@google.com>
              Gerrit-Reviewer: Nicholas Husin <n...@golang.org>
              Gerrit-Attention: Ian Alexander <ji...@google.com>
              Gerrit-Attention: Nicholas Husin <n...@golang.org>
              Gerrit-Comment-Date: Fri, 17 Jul 2026 22:18:47 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: Yes
              unsatisfied_requirement
              satisfied_requirement
              open
              diffy
              Reply all
              Reply to author
              Forward
              0 new messages