diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-07-23 21:10:08 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-23 21:10:08 -0700 |
commit | bcbcaa67a83c7248c713cce572f0e3a0c6ccc765 (patch) | |
tree | 6df1d9c9ce4deb6e9278a2872e2090ad1c512493 /pkg/p9 | |
parent | d9a3f5d0c7d675b3cb4519eccca341bac33456af (diff) | |
parent | 033fe6d70aa2c6bb64b33668c07eb5db522f9957 (diff) |
Merge pull request #3317 from sevki:patch-2
PiperOrigin-RevId: 322928424
Diffstat (limited to 'pkg/p9')
-rw-r--r-- | pkg/p9/messages.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/p9/messages.go b/pkg/p9/messages.go index 57b89ad7d..2cb59f934 100644 --- a/pkg/p9/messages.go +++ b/pkg/p9/messages.go @@ -2506,7 +2506,7 @@ type msgFactory struct { var msgRegistry registry type registry struct { - factories [math.MaxUint8]msgFactory + factories [math.MaxUint8 + 1]msgFactory // largestFixedSize is computed so that given some message size M, you can // compute the maximum payload size (e.g. for Twrite, Rread) with |