]> Cypherpunks repositories - gostls13.git/commit
bytes: explode checks for n too large
authorPhilippe Antoine <contact@catenacyber.fr>
Fri, 15 Apr 2022 11:36:32 +0000 (11:36 +0000)
committerGopher Robot <gobot@golang.org>
Sat, 16 Apr 2022 02:01:19 +0000 (02:01 +0000)
commit5e4543c29ff930084f79cd982d6eee0f13f52565
tree60ec38aea4a63aa5734493904c4c62d00628d8ae
parente704ef2b8529119a11694b4cb15215d3dd6b0a9f
bytes: explode checks for n too large

As is already done in strings package.

Change-Id: Ia45e6443ddf6beac5e70a1cc493119030e173139
GitHub-Last-Rev: 1174c250350f31eced1513169d62a8a3e679dcf6
GitHub-Pull-Request: golang/go#52348
Reviewed-on: https://go-review.googlesource.com/c/go/+/400239
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/bytes/bytes.go