Fix potential out of bounds
This commit is contained in:
parent
dac3fd7069
commit
ced4a095a4
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// Inside AppleTalk, appendix D
|
// Inside AppleTalk, appendix D
|
||||||
var toUpperMap = []byte{
|
var toUpperMap = [256]byte{
|
||||||
// The alphabet
|
// The alphabet
|
||||||
0x61: 0x41,
|
0x61: 0x41,
|
||||||
0x62: 0x42,
|
0x62: 0x42,
|
||||||
|
|
Loading…
Reference in a new issue