You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The recent prototext change to support parsing numbers with whitespace between the minus sign and number (https://go.dev/cl/473015) has introduced a panic when parsing an incomplete number consisting of a -, whitespace, and no further input.
For example, parsing this panics:
s_int32: - # trailing space after -
The text was updated successfully, but these errors were encountered:
Fuzzing found this in 260ms on my machine. Probably a good sign we should update internal/fuzz to work with Go 1.18 fuzzing and maybe add a brief run to test.bash.
The recent prototext change to support parsing numbers with whitespace between the minus sign and number (https://go.dev/cl/473015) has introduced a panic when parsing an incomplete number consisting of a
-
, whitespace, and no further input.For example, parsing this panics:
The text was updated successfully, but these errors were encountered: