Fix potential out of bounds

This commit is contained in:
Josh Deprez 2024-04-16 08:08:04 +10:00
parent dac3fd7069
commit ced4a095a4
Signed by: josh
SSH key fingerprint: SHA256:zZji7w1Ilh2RuUpbQcqkLPrqmRwpiCSycbF2EfKm6Kw

View file

@ -23,7 +23,7 @@ import (
)
// Inside AppleTalk, appendix D
var toUpperMap = []byte{
var toUpperMap = [256]byte{
// The alphabet
0x61: 0x41,
0x62: 0x42,