x/text/encoding/simplifiedchinese: infinite loop decoding HZGB2312 strings ending with ~ #37060
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?
https://play.golang.org/p/NI4shjahCS_p
What did you expect to see?
I expected the program to terminate.
What did you see instead?
Endlessly increasing memory usage.
Possible fix:
hzgb2312.go:60: replace
withThe text was updated successfully, but these errors were encountered: