mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-06 10:01:25 +00:00
b02b6d1da5
For large positive integers, add check for number of decimal digits before converting number to plain integer w/o exponent. If exponent value is large, previous implementation may end up constructing a large string with lots of zeroes that is not useful as it will fail later on when called with strconv.Parse{Uint,Int} anyways. Fixes golang/protobuf#1002. Change-Id: I65bfad304401e076743853d7501786b7231b083b Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/213717 Reviewed-by: Damien Neil <dneil@google.com> |
||
---|---|---|
.. | ||
defval | ||
json | ||
messageset | ||
pack | ||
tag | ||
text | ||
wire |