x/text/language: Parse can panic with index out of range #47240
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Code:
https://play.golang.org/p/Df8Bx3l50Zp
What did you expect to see?
program ok
What did you see instead?
panic: runtime error: index out of range [4] with length 4
The text was updated successfully, but these errors were encountered: