protobuf-go/internal/encoding
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
..
defval encoding/prototext: rewrite of internal/encoding/text 2020-02-05 02:11:08 +00:00
json internal/encoding/json: add tests for negative zeros. 2020-02-03 23:03:51 +00:00
messageset
pack
tag internal/filedesc: use jsonName.Init method over JSONName constructor 2020-01-06 18:42:14 +00:00
text internal/encoding/text: fix eof crash when parsing list of scalars 2020-02-06 19:20:11 +00:00
wire internal/impl: inline small tag decoding 2020-01-26 22:23:05 +00:00