mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-02-22 12:39:52 +00:00
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>