summaryrefslogtreecommitdiffhomepage
path: root/pkg/p9
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-07-24 04:12:49 +0000
committergVisor bot <gvisor-bot@google.com>2020-07-24 04:12:49 +0000
commit04e6528c3eb2c43edf88bf7cee94a16130cd0624 (patch)
tree4843f61c980b3ecb199f19e6c613aaba48ef6e6a /pkg/p9
parent16194f8fc21e75565404bbe9f832136d62125f01 (diff)
parentbcbcaa67a83c7248c713cce572f0e3a0c6ccc765 (diff)
Merge release-20200622.1-212-gbcbcaa67a (automated)
Diffstat (limited to 'pkg/p9')
-rw-r--r--pkg/p9/messages.go2
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