mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
p9: fix registry.get ob1 bug
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user