protobuf-go/internal/encoding/text
Herbie Ong 4e6b903e61 internal/encoding/text: fix eof crash when parsing list of scalars
Need to check for EOF and return proper error.

Bug caught by fuzz test: https://oss-fuzz.com/testcase-detail/6258064955277312.

Change-Id: I63d5c12c301f2ddefc9a0813c13abef40d745e91
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/218258
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2020-02-06 19:20:11 +00:00
..
decode_number.go
decode_string.go
decode_test.go internal/encoding/text: fix eof crash when parsing list of scalars 2020-02-06 19:20:11 +00:00
decode_token.go
decode.go internal/encoding/text: fix eof crash when parsing list of scalars 2020-02-06 19:20:11 +00:00
doc.go
encode_test.go
encode.go